From: Janusz <jda...@ty...> - 2007-06-18 02:11:41
|
I am back on to resolve this issue again.=20 Lars, it might be annoying to you, but I really want to get to the bottom o= f this. I am using build.xml (attached at the end of this post) created by NetBeans= . I use Ant1.7 from command line with the Java j2sdk1.4.2_07. I am still getting this nasty =E2=80=9CCould not add bundled idl=E2=80=9D e= rror, but this time at least I found the work around =E2=80=93 when I put OpenORB jar file =E2=80=9Ctools-1.4.0.jar=E2=80=9D on the boot classpath (by setting user pr= operty =E2=80=9CANT_OPTS=E2=80=9D on Windows platform to Xbootclasspath/p:" C:\workspace\TMMS\EMP-Runtime\lib\tools-1.4.0.jar") the problem disappears = =E2=80=93 no error. I have tried to add tools-1.4.0.jar to {user_home}/.ant/lib but it did not help. So I am still puzzled why do I have to put jar file on the bootclasspath =E2=80=93 I am suspecting that it has something to do with th= e class loader, but which one I would not have a clue =E2=80=93 there is one used b= y Ant. Is OpenORB using its own class loader? Can someone see the reason or some logical explanation to what I am experiencing? Any help appreciated, Thanks, Janusz <target name=3D"-pre-compile"> <path id=3D"taskpath"> <pathelement location=3D"${src.dir}\${emptools}/lib/tools-1.4.0.jar"/> <pathelement location=3D"${src.dir}\${emptools}/lib/openorb_orb_tools-1.4.0.jar"/> <pathelement location=3D"${file.reference.EMP-Tools.jar}"/> </path> <taskdef name=3D"idl2java" classname=3D"org.openorb.compiler.taskdefs.Idl2Java" classpathref=3D"taskpa= th"/> <idl2java srcdir=3D"${src.dir}/../idl" destdir=3D"${build.dir}/src" jdk14code=3D"yes" reverseprefix=3D"no" verbose=3D"true"/> </target> --=20 View this message in context: http://www.nabble.com/Could-not-add-bundled-i= dl-tf3938006.html#a11169092 Sent from the OpenORB - User mailing list archive at Nabble.com. |