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 |
From: Wolfgang K. <wol...@gm...> - 2006-08-02 12:25:12
|
I'm sorry to hear that :-( Sascha please report a bug to the bug tracker (= Category: Build Process). I will try to reproduce that on my Linux box. Pr= obably it will take a little time before I can work on this, because I hav= e to update my Java environment under Linux prior to working on that issue= . If I cannot reproduce it, I would like to ask you to create an account for= me on your box, so that I can work on it. -- Frusty > -----Urspr=FCngliche Nachricht----- > Von: XML11 Developer List <xml...@li...> > Gesendet: 02.08.06 14:04:48 > An: XML11 Developer List <xml...@li...> > Betreff: Re: [XML11-devel] Linux antscript problem Frusty, >=20 > I was using Ant 1.6.2 but after you mail updated to 1.6.5. The two > warnings at the beginning are gone now, but the error persists.=20 > Furthermore I'm using jdk1.5.0=5F06 (directly from sun). Haven't updated > to 07 yet, but I think this has nothing to do with this problem. It > used to work in the past on this machine. >=20 > I am working with ant on other projects and it still works fine. But > the ant-scripts I use there are not that "fancy". Just basic javac > command with some depended libraries. >=20 > Sascha >=20 >=20 >=20 > Wolfgang Korn wrote: > Sascha, > which version of Ant and JDK do you use=3F Came your JDK bundled with you = Linux 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 = able 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: c= ould not find xml-commons-apis Java extension for this JVM" at the beginni= ng of this log comes from. This problem does not really look like a proble= m caused by the ant scripts but more like a general installation issue. Ha= ve you tried to write a minimal ant script which uses javac and run this s= cript using ant=3F I did not encounter any problems on any of my machines. > -- Frusty > =20 > =20 > -----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 > =20 > =20 > =20 > Hi everybody, > =20 > =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. > Sascha > /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 > read-userprops: > read-commonprops: > [echo] Reading properties from build.properties > read-props: > check-env: > 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 > init-core: > [mkdir] Created dir: > /home/nebuchadneza/development/XML11/classes/core > compile-core: > [javac] Compiling 27 source files to > /home/nebuchadneza/development/XML11/classes/core > 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 > ----------------------------------------------------------------- > ------------------------------------------------------------------------= - > 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 > ----------------------------------------------------------------- > =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 > =20 > =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 > ------------------------------------------------------------------------= - > 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 > =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 >=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 Verschicken Sie romantische, coole und witzige Bilder per SMS! Jetzt bei WEB.DE FreeMail: http://f.web.de/=3Fmc=3D021193 |
From: Wolfgang K. <wol...@gm...> - 2006-08-02 12:37:11
|
Glad to hear that. To be honest - I expected that problem to be an install= ation issue with the JDK. -- Frusty > -----Urspr=FCngliche Nachricht----- > Von: XML11 Developer List <xml...@li...> > Gesendet: 02.08.06 14:34:12 > An: XML11 Developer List <xml...@li...> > Betreff: Re: [XML11-devel] Linux antscript problem Frusty, >=20 > problem solved - although I didn't find the troublemaker. I tried it > with my installed jdk1.5.0=5F04 and it worked right away. I then > downloaded and installed a fresh jdk1.5.0=5F07 and it also worked. > Something seems to be wrong with my jdk1.5.0=5F06 installation. So ... > false alarm, sorry for that :) >=20 > Sascha >=20 >=20 >=20 > Sascha Haeberling wrote: > =20 > Frusty, > =20 > I was using Ant 1.6.2 but after you mail updated to 1.6.5. The two > warnings at the beginning are gone now, but the error persists.=20 > Furthermore I'm using jdk1.5.0=5F06 (directly from sun). Haven't updated > to 07 yet, but I think this has nothing to do with this problem. It > used to work in the past on this machine. > =20 > I am working with ant on other projects and it still works fine. But > the ant-scripts I use there are not that "fancy". Just basic javac > command with some depended libraries. > =20 > Sascha > =20 > =20 > =20 > Wolfgang Korn wrote: > =20 > Sascha, > which version of Ant and JDK do you use=3F Came your JDK bundled with you = Linux 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 = able 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: c= ould not find xml-commons-apis Java extension for this JVM" at the beginni= ng of this log comes from. This problem does not really look like a proble= m caused by the ant scripts but more like a general installation issue. Ha= ve you tried to write a minimal ant script which uses javac and run this s= cript using ant=3F I did not encounter any problems on any of my machines. > -- Frusty > =20 > =20 > -----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 > =20 > =20 > =20 > Hi everybody, > =20 > =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. > Sascha > /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 > read-userprops: > read-commonprops: > [echo] Reading properties from build.properties > read-props: > check-env: > 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 > init-core: > [mkdir] Created dir: > /home/nebuchadneza/development/XML11/classes/core > compile-core: > [javac] Compiling 27 source files to > /home/nebuchadneza/development/XML11/classes/core > 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 > ----------------------------------------------------------------- > ------------------------------------------------------------------------= - > 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 > ----------------------------------------------------------------- > =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 > =20 > =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 > ------------------------------------------------------------------------= - > 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 > =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 > =20 > =20 > =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 >=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 >=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 |
From: Sascha H. <ma...@sa...> - 2006-08-02 12:04:39
|
Frusty, I was using Ant 1.6.2 but after you mail updated to 1.6.5. The two warnings at the beginning are gone now, but the error persists.=20 Furthermore I'm using jdk1.5.0_06 (directly from sun). Haven't updated to 07 yet, but I think this has nothing to do with this problem. It used to work in the past on this machine. I am working with ant on other projects and it still works fine. But the ant-scripts I use there are not that "fancy". Just basic javac command with some depended libraries. Sascha Wolfgang Korn wrote: > Sascha, > > which version of Ant and JDK do you use? Came your JDK bundled with you= Linux distribution or did you intall it yourself? If you use a bundled J= DK, install a fresh JDK in another place and try to use that. Have you be= en able to use the ant scripts with this combination of Ant and JDK befor= e? I'm wondering, where this weird message "/usr/bin/build-classpath: err= or: could not find xml-commons-apis Java extension for this JVM" at the b= eginning 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 i= ssue. Have you tried to write a minimal ant script which uses javac and r= un this script using ant? I did not encounter any problems on any of my m= achines. > > -- Frusty > > > > =20 >> -----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 >> =20 > > 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_HOME 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. >> >> >> Sascha >> >> >> /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 >> >> read-userprops: >> >> read-commonprops: >> [echo] Reading properties from build.properties >> >> read-props: >> >> check-env: >> >> init: >> [echo] Using rt.jar from /opt/jdk1.5.0_06/jre/lib >> [echo] Using tools.jar from /opt/jdk1.5.0_06/jre/../lib >> >> init-core: >> [mkdir] Created dir: >> /home/nebuchadneza/development/XML11/classes/core >> >> compile-core: >> [javac] Compiling 27 source files to >> /home/nebuchadneza/development/XML11/classes/core >> >> 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_HOME does not point to the JDK >> >> >> ----------------------------------------------------------------- >> ----------------------------------------------------------------------= --- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to shar= e your >> opinions on IT & business topics through brief surveys -- and earn cas= h >> http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID= =3DDEVDEV >> >> ----------------------------------------------------------------- >> _______________________________________________ >> XML11-devel mailing list >> XML...@li... >> https://lists.sourceforge.net/lists/listinfo/xml11-devel >> >> =20 > > > _____________________________________________________________________ > Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! > http://smartsurfer.web.de/?mc=3D100071&distributionid=3D000000000071 > > > -----------------------------------------------------------------------= -- > 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?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > XML11-devel mailing list > XML...@li... > https://lists.sourceforge.net/lists/listinfo/xml11-devel > > > =20 |
From: Sascha H. <ma...@sa...> - 2006-08-02 12:33:57
|
Frusty, problem solved - although I didn't find the troublemaker. I tried it with my installed jdk1.5.0_04 and it worked right away. I then downloaded and installed a fresh jdk1.5.0_07 and it also worked. Something seems to be wrong with my jdk1.5.0_06 installation. So ... false alarm, sorry for that :) Sascha Sascha Haeberling wrote: > Frusty, > > I was using Ant 1.6.2 but after you mail updated to 1.6.5. The two > warnings at the beginning are gone now, but the error persists.=20 > Furthermore I'm using jdk1.5.0_06 (directly from sun). Haven't > updated to 07 yet, but I think this has nothing to do with this > problem. It used to work in the past on this machine. > > I am working with ant on other projects and it still works fine. But > the ant-scripts I use there are not that "fancy". Just basic javac > command with some depended libraries. > > Sascha > > > > Wolfgang Korn wrote: >> Sascha, >> >> which version of Ant and JDK do you use? Came your JDK bundled with yo= u Linux distribution or did you intall it yourself? If you use a bundled = JDK, install a fresh JDK in another place and try to use that. Have you b= een able to use the ant scripts with this combination of Ant and JDK befo= re? I'm wondering, where this weird message "/usr/bin/build-classpath: er= ror: could 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 script using ant? I did not encounter any problems on any of my = machines. >> >> -- Frusty >> >> >> >> =20 >>> -----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 >>> =20 >> >> Hi everybody, >> =20 >>> yesterday I tested all the demos on my Linux machine. Everything work= s >>> 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_HOME is set correctly. >>> Also rt.jar and tools.jar are at the places the ant script thinks the= y >>> are. So I don't know what's going wrong here. >>> >>> >>> Sascha >>> >>> >>> /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 >>> >>> read-userprops: >>> >>> read-commonprops: >>> [echo] Reading properties from build.properties >>> >>> read-props: >>> >>> check-env: >>> >>> init: >>> [echo] Using rt.jar from /opt/jdk1.5.0_06/jre/lib >>> [echo] Using tools.jar from /opt/jdk1.5.0_06/jre/../lib >>> >>> init-core: >>> [mkdir] Created dir: >>> /home/nebuchadneza/development/XML11/classes/core >>> >>> compile-core: >>> [javac] Compiling 27 source files to >>> /home/nebuchadneza/development/XML11/classes/core >>> >>> 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_HOME does not point to the JDK >>> >>> >>> ----------------------------------------------------------------- >>> ---------------------------------------------------------------------= ---- >>> Take Surveys. Earn Cash. Influence the Future of IT >>> Join SourceForge.net's Techsay panel and you'll get the chance to sha= re your >>> opinions on IT & business topics through brief surveys -- and earn ca= sh >>> http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CI= D=3DDEVDEV >>> >>> ----------------------------------------------------------------- >>> _______________________________________________ >>> XML11-devel mailing list >>> XML...@li... >>> https://lists.sourceforge.net/lists/listinfo/xml11-devel >>> >>> =20 >> >> >> _____________________________________________________________________ >> Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! >> http://smartsurfer.web.de/?mc=3D100071&distributionid=3D000000000071 >> >> >> ----------------------------------------------------------------------= --- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to shar= e your >> opinions on IT & business topics through brief surveys -- and earn cas= h >> http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID= =3DDEVDEV >> _______________________________________________ >> XML11-devel mailing list >> XML...@li... >> https://lists.sourceforge.net/lists/listinfo/xml11-devel >> >> >> =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?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > -----------------------------------------------------------------------= - > > _______________________________________________ > XML11-devel mailing list > XML...@li... > https://lists.sourceforge.net/lists/listinfo/xml11-devel > =20 |