Hi,
I'm a newbie with JacOrb. I installed it on windows, but trying to run
ns and idl from command line and it can't find jaco for ns and for idl,
it says it can't find idl.
I added the \bin directory to my path. But looking in the bin, I can't
find jaco or idl. Could anyone suggest what I might be doing wrong?
Thank you,
Gil
brightoceanlight@hotmail.com - 29 Aug 2005 18:06 GMT
Okay, looks like I skipped some steps in the installation. It seems
you need to call 'ant jaco'
but then I get an error :
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/tools/ant/launch/AntMain
Mark Woyna - 30 Aug 2005 15:02 GMT
You can skip the ant step, which is used to create a two line batch
file, and create the file yourself.
In the JacORB/bin directory, copy the idltemplate.bat file to idl.bat.
Next, edit the idl.bat file, which initially looks like this:
@echo off
java -classpath "@@@\lib\idl.jar" org.jacorb.idl.parser %*
Replace the three @'s with the full path to the directory where you
installed JacORB. For example,
@echo off
java -classpath "C:\Apps\JacORB\lib\idl.jar" org.jacorb.idl.parser %*
That's it. I don't know why one would expect someone to download and
install Ant simply to replace "@@@" in a 2 line file.
Mark