I don't know, if its a bug, but the behavior is pretty strange: When generating a idl-File on different computers, the files are sometimes generated in dos-format, sometimes in linux-format. The computers are having the same operating system Windows 7 and should have the same configuartion. Furthermore, the IDL compiler is started with the same batch-script: java -classpath "C:\Program Files\JacORB-3.1\lib\idl.jar;C:\Program Files\JacORB\lib\logkit-1.2.jar;%CLASSPATH%" org.jacorb.idl.parser %* The input of the batch-script is: -d $ProjectFileDir$\src -sloppy_names -I%CD% $FileName$ If you need more information, please tell me.
Can you supply the IDL file? JacORB (looking at the current HEAD) should use src/org/jacorb/idl/Environment.NL to determine what newline format to use. Its possible this isn't consistent hence getting some IDL to reproduce the problem with would be useful.
Created attachment 405 [details] IDLs and one generated Java class I included the idl-files in the attachment as well as one generated Java-class. If you try to open the Java-Class in Ultraedit, a message-box appears, if you want to convert die file into Dos format.
It looks like there are still some hardcoded \n rather then Environment.NL references in the IDL compiler.
Fixed by 6ab3ca4d90afc09bf90772e853557456864b9b44