diff options
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_root/root_is.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_root/root_is.cpp | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_root/root_is.cpp b/TAO/TAO_IDL/be/be_visitor_root/root_is.cpp index c6b1aeab137..5cf2a47ffce 100644 --- a/TAO/TAO_IDL/be/be_visitor_root/root_is.cpp +++ b/TAO/TAO_IDL/be/be_visitor_root/root_is.cpp @@ -40,16 +40,25 @@ int be_visitor_root_is::init (void) { // first open the file for writing - if (tao_cg->start_implementation_skeleton ( - be_global->be_get_implementation_skel_fname () - ) + if (tao_cg->start_implementation_skeleton (idl_global + ->be_get_implementation_skel_fname ()) == -1) { ACE_ERROR_RETURN ((LM_ERROR, "(%N:%l) be_visitor_root_is::init - " "Error opening implementation skeletons file\n"), -1); } - + /* + if (tao_cg->start_server_template_skeletons + (idl_global->be_get_server_template_skeleton_fname ()) + == -1) + { + ACE_ERROR_RETURN ((LM_ERROR, + "(%N:%l) be_visitor_root_ss::init - " + "Error opening server template skeleton file\n"), + -1); + } + */ // set stream this->ctx_->stream (tao_cg->implementation_skeleton ()); return 0; |