summaryrefslogtreecommitdiff
path: root/TAO/tao/TAO.pidl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/TAO.pidl')
-rw-r--r--TAO/tao/TAO.pidl35
1 files changed, 23 insertions, 12 deletions
diff --git a/TAO/tao/TAO.pidl b/TAO/tao/TAO.pidl
index c228378bf9b..88f795de422 100644
--- a/TAO/tao/TAO.pidl
+++ b/TAO/tao/TAO.pidl
@@ -13,21 +13,32 @@
// This file contains TAO-specific idl interfaces (not part of CORBA
// 2.3).
//
-// The command used to generate code from this file is:
+// The steps to regenerate the code are as follows:
//
-// tao_idl -o orig -Gp -Gd -Ge 1 -Gv \
-// -Wb,export_macro=TAO_Export \
-// -Wb,pre_include="ace/pre.h" \
-// -Wb,post_include="ace/post.h" \
+// 1. Run the tao_idl compiler on the pidl file. The command used for
+// this is:
+//
+// tao_idl -o orig -Ge 1
+// -Wb,export_macro=TAO_Export
+// -Wb,pre_include="ace/pre.h"
+// -Wb,post_include="ace/post.h"
// -Wb,export_include="tao/corbafwd.h" TAO.pidl
//
-// after the file is generated a patch must be applied. The patch
-// fixes the interface repository IDs, disables the code under
-// certain configurations, and eliminates cycles in the include
-// dependencies. Those changes are required because the generated
-// code is part of the TAO library, it hardly makes any sense to
-// change the IDL compiler to support changes that are very
-// occasional.
+// 2. Then patch the generated code. The patch fixes the interface
+// repository IDs, disables the code under certain configurations,
+// and eliminates cycles in the include dependencies.
+//
+// Apply patches using the following commands:
+//
+// patch < diffs/TAOC.h.diff
+// patch < diffs/TAOC.i.diff
+// patch < diffs/TAOC.cpp.diff
+//
+// Note: The diffs were generated with these commands:
+//
+// diff -wBbu orig/TAOC.h TAOC.h > diffs/TAOC.h.diff
+// diff -wBbu orig/TAOC.i TAOC.i > diffs/TAOC.i.diff
+// diff -wBbu orig/TAOC.cpp TAOC.cpp > diffs/TAOC.cpp.diff
//
// ================================================================