I am using a batch file to run the workbench to create java source files from IDL, and then to compile them and creating a jar file.
On a previous computer where the workbench was installed on C drive and the the workspace was on C driver it works but when I moved to another machine where the SoftwareAG directories were installed in D drive it stops to work in a very peculiar manner:
The target java source were created in the C workspace as expected but as far as the target directory (specified in the command) is concerned, empty file names were created which means that their content from the workspace was not copied although the output on the screen say it does.
see the following copied lines from my screen:
C:\Idl2Java>call D:\SoftwareAG\EntireX\bin\workbench.bat -java:clientbeancompliant C:\Idl2Java\MYIDL.idl -sourcefolder C:\Idl2Java\src -clientpackage com.x.y.z
Start EntireX Workbench Command-line.
Use ‘-help’ to get command-line help.
Using workspace file:/C:/Users/avi/workspace/.
Processing IDL file C:\Idl2Java\LVESTN01.idl
Creating file C:\Idl2Java\src/com/x/y/z/Zclass1.java.
Writing to file C:\Idl2Java\src/com/x/y/z/Zclass1.java.
Creating file C:\Idl2Java\src/com/x/y/z/Zclass2.java.
Writing to file C:\Idl2Java\src/com/x/y/z/Zclass2.java.
Creating file C:\Idl2Java\src/com/x/y/z/Zclass3.java.
Writing to file C:\Idl2Java\src/com/x/y/z/Zclass3.java.
Exit value: 0
all the above files ( Zclass1, Zclass2, Zclass3) were found as empty - which means the creation phase works fine but the writing operation into the output file stream seems to fail with no error indication.
Contrary to the above, the source files Zclass1, Zclass2, Zclass3 were found completed (with non zero size) in c:\users\avi\workspace\idl2java\src\com\x\y\z directory.
is there any cure ? (besides of moving the installation to drive C )
Note: I’m using version 8.2