From: Wolfgang K. <wol...@gm...> - 2006-08-02 10:44:52
|
Sascha, which version of Ant and JDK do you use=3F Came your JDK bundled with you Li= nux distribution or did you intall it yourself=3F If you use a bundled JDK, = install a fresh JDK in another place and try to use that. Have you been ab= le to use the ant scripts with this combination of Ant and JDK before=3F I'm= wondering, where this weird message "/usr/bin/build-classpath: error: cou= ld not find xml-commons-apis Java extension for this JVM" at the beginning= of this log comes from. This problem does not really look like a problem = caused by the ant scripts but more like a general installation issue. Have= you tried to write a minimal ant script which uses javac and run this scr= ipt using ant=3F I did not encounter any problems on any of my machines. -- Frusty > -----Urspr=FCngliche Nachricht----- > Von: XML11 Developer List <xml...@li...> > Gesendet: 02.08.06 11:54:06 > An: XML11 Mailinglist <xml...@li...> > Betreff: [XML11-devel] Linux antscript problem Hi everybody, >=20 > yesterday I tested all the demos on my Linux machine. Everything works > like a charm. And this after these huge changes: Really great work!! > After testing everything out of eclipse I wanted to test the ant > scripts, but something goes wrong here. Attached you find the log. > JAVA=5FHOME is set correctly. > Also rt.jar and tools.jar are at the places the ant script thinks they > are. So I don't know what's going wrong here. >=20 >=20 > Sascha >=20 >=20 > /usr/bin/build-classpath: > error: could not find xml-commons-apis Java extension for this JVM > /usr/bin/build-classpath: error: All specified jars were not found > Buildfile: build.xml > Skipped already imported file: > /home/nebuchadneza/development/XML11/targets/init-targets.xml > Skipped already imported file: > /home/nebuchadneza/development/XML11/targets/init-targets.xml > Skipped already imported file: > /home/nebuchadneza/development/XML11/targets/core-targets.xml > Skipped already imported file: > /home/nebuchadneza/development/XML11/targets/init-targets.xml > Skipped already imported file: > /home/nebuchadneza/development/XML11/targets/core-targets.xml > Skipped already imported file: > /home/nebuchadneza/development/XML11/targets/demo-targets.xml > Skipped already imported file: > /home/nebuchadneza/development/XML11/targets/init-targets.xml > Skipped already imported file: > /home/nebuchadneza/development/XML11/targets/core-targets.xml > Skipped already imported file: > /home/nebuchadneza/development/XML11/targets/init-targets.xml >=20 > read-userprops: >=20 > read-commonprops: > [echo] Reading properties from build.properties >=20 > read-props: >=20 > check-env: >=20 > init: > [echo] Using rt.jar from /opt/jdk1.5.0=5F06/jre/lib > [echo] Using tools.jar from /opt/jdk1.5.0=5F06/jre/../lib >=20 > init-core: > [mkdir] Created dir: > /home/nebuchadneza/development/XML11/classes/core >=20 > compile-core: > [javac] Compiling 27 source files to > /home/nebuchadneza/development/XML11/classes/core >=20 > BUILD FAILED > /home/nebuchadneza/development/XML11/targets/core-targets.xml:27: > Unable to find a javac compiler; > com.sun.tools.javac.Main is not on the classpath. > Perhaps JAVA=5FHOME does not point to the JDK >=20 >=20 > ----------------------------------------------------------------- > ------------------------------------------------------------------------= - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share = your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php=3Fpage=3Djoin.php&p=3Dsourceforge&CID=3DDEVDE= V >=20 > ----------------------------------------------------------------- > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F > XML11-devel mailing list > XML...@li... > https://lists.sourceforge.net/lists/listinfo/xml11-devel >=20 =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! http://smartsurfer.web.de/=3Fmc=3D100071&distributionid=3D000000000071 |