1 @REM This File generates the necessary classes for Visibroker and JDK1.2
4 @REM make VB (makes all VB classes)
5 @REM make JDK (makes all JDK classes)
6 @REM make clean (removes classes, IDL generated files)
7 @REM make realclean (updates IDL files, does make clean)
10 @if %1. == VB. goto VB
11 @if %1. == vB. goto VB
12 @if %1. == Vb. goto VB
13 @if %1. == vb. goto VB
14 @if %1. == JDK. goto JDK
15 @if %1. == jDK. goto JDK
16 @if %1. == JdK. goto JDK
17 @if %1. == JDk. goto JDK
18 @if %1. == jdK. goto JDK
19 @if %1. == jDk. goto JDK
20 @if %1. == Jdk. goto JDK
21 @if %1. == jdk. goto JDK
22 @if %1. == setup. goto setup
23 @if %1. == realclean. goto realclean
24 @if %1. == clean. goto clean
25 @if %1. == vbjava. goto VBJAVA
29 @echo make setup (sets up IDL files)
30 @echo make vb (makes all VB classes)
31 @echo make jdk (makes all JDK classes)
32 @echo make clean (removes old classes, IDL generated files)
33 @echo make realclean (updates IDL files, calls make clean)
36 REM This part build with JDK
41 idltojava RtecBase.idl
42 idltojava RtecEventComm.idl
43 idltojava RtecEventChannelAdmin.idl
44 idltojava RtecDefaultEventData.idl
45 idltojava RtecScheduler.idl
46 idltojava CosNaming.idl
47 idltojava TimeBase.idl
48 javac CosNaming\NamingContextPackage\*.java
49 javac CosNaming\*.java
51 javac RtecScheduler\*.java
53 javac RtecEventComm\*.java
54 javac RtecEventComm\EventChannelPackage\*.java
55 javac RtecEventChannelAdmin\*.java
56 javac RtecDefaultEventData\*.java
57 javac PersianRecursion\*.java
65 @REM This part updates IDL files
70 @xcopy ..\..\..\tao\TimeBase.pidl
71 @move TimeBase.pidl TimeBase.idl
72 @xcopy ..\..\..\orbsvcs\orbsvcs\CosNaming.idl
73 @xcopy ..\..\..\orbsvcs\orbsvcs\RtecBase.idl
74 @xcopy ..\..\..\orbsvcs\orbsvcs\RtecDefaultEventData.idl
75 @xcopy ..\..\..\orbsvcs\orbsvcs\RtecEventChannelAdmin.idl
76 @xcopy ..\..\..\orbsvcs\orbsvcs\RtecScheduler.idl
78 @REM still do this in case the user does not have
79 @REM Perl and wants to hand-alter the idl file to
80 @REM remove the typedef, or has a working idl2java
81 @xcopy ..\..\..\orbsvcs\orbsvcs\RtecEventComm.idl
83 @REM Then, try to apply the Perl patch to remove the typedef
84 @perl -S ecdata_patch.pl < ..\..\..\orbsvcs\orbsvcs\RtecEventComm.idl > .\RtecEventComm.idl
86 @REM Skip deleting everything else if in setup mode
87 @if %1. == setup. goto end
93 @del WeaponsHelper.java
94 @del WeaponsHolder.java
95 @del EventPayloadHelper.java
96 @del EventPayloadHolder.java
97 @del RtecEventDataHelper.java
98 @del RtecEventDataHolder.java
99 @del RtecEventData.java
100 @del *NavWeapTerminator*.java
102 @del NavigationHelper.java
103 @del NavigationHolder.java
105 @del RtecBase\*.class
107 @del RtecEventComm\*.java
108 @del RtecEventComm\*.class
109 @REM del RtecEventComm\EventChannelPackage\*.java
110 @REM del RtecEventComm\EventChannelPackage\*.class
111 @REM rd RtecEventComm\EventChannelPackage
114 @del RtecEventChannelAdmin\*.java
115 @del RtecEventChannelAdmin\*.class
116 @del RtecEventChannelAdmin\EventChannelPackage\*.java
117 @del RtecEventChannelAdmin\EventChannelPackage\*.class
118 @rd RtecEventChannelAdmin\EventChannelPackage
119 @rd RtecEventChannelAdmin
121 @del RtecScheduler\*.java
122 @del RtecScheduler\*.class
125 @del PersianRecursion\*.java
126 @del PersianRecursion\*.class
129 @del CosNaming\*.java
130 @del CosNaming\*.class
131 @del CosNaming\NamingContextPackage\*.java
132 @del CosNaming\NamingContextPackage\*.class
133 @rd CosNaming\NamingContextPackage
137 @del TimeBase\*.class
143 REM This part builds with VB
146 @echo idl2java NavWeap.idl
147 @idl2java NavWeap.idl
148 @echo idl2java Persian.idl
149 @idl2java Persian.idl
150 @echo idl2java RtecBase.idl
151 @idl2java RtecBase.idl
152 @echo idl2java RtecEventComm.idl
153 @idl2java RtecEventComm.idl
154 @echo idl2java RtecEventChannelAdmin.idl
155 @idl2java RtecEventChannelAdmin.idl
156 @echo idl2java RtecDefaultEventData.idl
157 @idl2java RtecDefaultEventData.idl
158 @echo idl2java RtecScheduler.idl
159 @idl2java RtecScheduler.idl
160 @echo idl2java CosNaming.idl
161 @idl2java CosNaming.idl
162 @echo idl2java TimeBase.idl
163 @idl2java TimeBase.idl