Re: xml-apis fails
Parameters Prefix NameValue -X bootclasspath/p :/home/dtftest/gump/packages/jaxp-1_3/jaxp-api.jar /home/dtftest/gump/packages/jaxp-1_3/dom.jar /home/dtftest/gump/packages/jaxp-1_3/sax.jar /home/dtftest/gump/packages/jaxp-1_3/xercesImpl.jar /home/dtftest/gump/packages/jaxp-1_3/xalan.jar org.apache.tools.ant.Main -D gump.merge /home/dtftest/gump/work/merge.xml -D build.sysclasspath only Environment Overrides NameValue CLASSPATH :c:/jdk1.6.0_21/lib/tools.jar /home/dtftest/gump/results/ant/bootstrap/lib/ant.jar /home/dtftest/gump/results/ant/bootstrap/lib/ant-launcher.jar The immediate issue still seems to be the basic java org.apache.tools.ant.Main call is not picking up the ant jar files from the CLASSPATH environment variable above. Please help. Thanks, Ludmila Stefan Bodewig wrote: On 2010-12-09, Jörg Schaible wrote: Command Line c:/jdk1.6.0_21/bin/java -Xbootclasspath/p:/home/dtftest/gump/packages/jaxp-1_3/jaxp- api.jar:/home/dtftest/gump/packages/jaxp-1_3/dom.jar:/home/dtftest/gump/packages/jaxp-1_3/sax.jar:/home/dtftest/gump/packages/jaxp-1_3/xercesImpl.jar:/home/dtftest/gump/packages/jaxp-1_3/xalan.jar org.apache.tools.ant.Main -Dgump.merge=/home/dtftest/gump/work/merge.xml There should be a space or = after -Xbootclasspath - that might explain the the problem? No, the syntax is -Xbootcpasspath/p:PATH - see java -X. The path still uses ':' as separator which is puzzling since it is generated by a Path instance that runs through the getFlattened method at the bottom of http://svn.apache.org/repos/asf/gump/trunk/python/gump/core/language/path.py which uses os.pathsep Could this be a cygwin aware version of Python that is too much aware of Cygwin? Stefan might be interested in patches in that case ;-) In any case 8-) Stefan - To unsubscribe, e-mail: general-unsubscr...@gump.apache.org For additional commands, e-mail: general-h...@gump.apache.org
Re: xml-apis fails
On 9 December 2010 05:33, Stefan Bodewig bode...@apache.org wrote: On 2010-12-09, Ludmila Shikhvarg wrote: Use windows 7 with cygwin environment to run gump, I don't think anybody has ever tried to run Gump on Windows and I'm very sure there are a few unixisms inside the code. It's probably fair to assume it simply won't work and Gump requires a Unix-like system with Unix conventions for paths and filenames. In particular java must use Unix like conventions. Not sure that's true. Command Line c:/jdk1.6.0_21/bin/java -Xbootclasspath/p:/home/dtftest/gump/packages/jaxp-1_3/jaxp-api.jar:/home/dtftest/gump/packages/jaxp-1_3/dom.jar:/home/dtftest/gump/packages/jaxp-1_3/sax.jar:/home/dtftest/gump/packages/jaxp-1_3/xercesImpl.jar:/home/dtftest/gump/packages/jaxp-1_3/xalan.jar org.apache.tools.ant.Main -Dgump.merge=/home/dtftest/gump/work/merge.xml There should be a space or = after -Xbootclasspath - that might explain the the problem? The bootclasspath is not a Windows path, this likely won't work at all. Stefan - To unsubscribe, e-mail: general-unsubscr...@gump.apache.org For additional commands, e-mail: general-h...@gump.apache.org - To unsubscribe, e-mail: general-unsubscr...@gump.apache.org For additional commands, e-mail: general-h...@gump.apache.org
Re: xml-apis fails
Hi Sebb, sebb wrote: On 9 December 2010 05:33, Stefan Bodewig bode...@apache.org wrote: On 2010-12-09, Ludmila Shikhvarg wrote: Use windows 7 with cygwin environment to run gump, I don't think anybody has ever tried to run Gump on Windows and I'm very sure there are a few unixisms inside the code. It's probably fair to assume it simply won't work and Gump requires a Unix-like system with Unix conventions for paths and filenames. In particular java must use Unix like conventions. Not sure that's true. In this case it is. Command Line c:/jdk1.6.0_21/bin/java -Xbootclasspath/p:/home/dtftest/gump/packages/jaxp-1_3/jaxp- api.jar:/home/dtftest/gump/packages/jaxp-1_3/dom.jar:/home/dtftest/gump/packages/jaxp-1_3/sax.jar:/home/dtftest/gump/packages/jaxp-1_3/xercesImpl.jar:/home/dtftest/gump/packages/jaxp-1_3/xalan.jar org.apache.tools.ant.Main -Dgump.merge=/home/dtftest/gump/work/merge.xml There should be a space or = after -Xbootclasspath - that might explain the the problem? The path still uses ':' as separator and some added paths start with /home/xxx which are typically Cygwin paths. Both cannot be processed by a Windows-based java. The bootclasspath is not a Windows path, this likely won't work at all. Therefore Stefan is right. However, it seems that it's not a Java application that creates those constructs, but some Unix shell scripts. If the original poster can adjust those to provide real Windows paths when invoking Java, he might get Gump running. Stefan might be interested in patches in that case ;-) - Jörg - To unsubscribe, e-mail: general-unsubscr...@gump.apache.org For additional commands, e-mail: general-h...@gump.apache.org
Re: xml-apis fails
On 2010-12-09, Jörg Schaible wrote: Command Line c:/jdk1.6.0_21/bin/java -Xbootclasspath/p:/home/dtftest/gump/packages/jaxp-1_3/jaxp- api.jar:/home/dtftest/gump/packages/jaxp-1_3/dom.jar:/home/dtftest/gump/packages/jaxp-1_3/sax.jar:/home/dtftest/gump/packages/jaxp-1_3/xercesImpl.jar:/home/dtftest/gump/packages/jaxp-1_3/xalan.jar org.apache.tools.ant.Main -Dgump.merge=/home/dtftest/gump/work/merge.xml There should be a space or = after -Xbootclasspath - that might explain the the problem? No, the syntax is -Xbootcpasspath/p:PATH - see java -X. The path still uses ':' as separator which is puzzling since it is generated by a Path instance that runs through the getFlattened method at the bottom of http://svn.apache.org/repos/asf/gump/trunk/python/gump/core/language/path.py which uses os.pathsep Could this be a cygwin aware version of Python that is too much aware of Cygwin? Stefan might be interested in patches in that case ;-) In any case 8-) Stefan - To unsubscribe, e-mail: general-unsubscr...@gump.apache.org For additional commands, e-mail: general-h...@gump.apache.org
Re: xml-apis fails
Hi Stefan, Stefan Bodewig wrote: On 2010-12-09, Jörg Schaible wrote: Command Line c:/jdk1.6.0_21/bin/java -Xbootclasspath/p:/home/dtftest/gump/packages/jaxp-1_3/jaxp- api.jar:/home/dtftest/gump/packages/jaxp-1_3/dom.jar:/home/dtftest/gump/packages/jaxp-1_3/sax.jar:/home/dtftest/gump/packages/jaxp-1_3/xercesImpl.jar:/home/dtftest/gump/packages/jaxp-1_3/xalan.jar org.apache.tools.ant.Main -Dgump.merge=/home/dtftest/gump/work/merge.xml There should be a space or = after -Xbootclasspath - that might explain the the problem? No, the syntax is -Xbootcpasspath/p:PATH - see java -X. The path still uses ':' as separator which is puzzling since it is generated by a Path instance that runs through the getFlattened method at the bottom of http://svn.apache.org/repos/asf/gump/trunk/python/gump/core/language/path.py which uses os.pathsep Could this be a cygwin aware version of Python that is too much aware of Cygwin? Has to be, yes. It's definitely available. Stefan might be interested in patches in that case ;-) In any case 8-) :D It's been some years now, since I've used Cygwin the last time (before moving to the real thing), but basically it should be possible now to build with OpenJDK also a Cygwin-aware JDK. - Jörg - To unsubscribe, e-mail: general-unsubscr...@gump.apache.org For additional commands, e-mail: general-h...@gump.apache.org
Re: xml-apis fails
Stefan Bodewig wrote: On 2010-12-09, Ludmila Shikhvarg wrote: Use windows 7 with cygwin environment to run gump, I don't think anybody has ever tried to run Gump on Windows and I'm very sure there are a few unixisms inside the code. It's probably fair to assume it simply won't work and Gump requires a Unix-like system with Unix conventions for paths and filenames. In particular java must use Unix like conventions. Stefan, Would you recommend any specific Unix-like system (32-bit or 64-bit) and version to run gump: Ubuntu, RHEL, OEL, SLES, or someting else. Thanks, Ludmila Command Line c:/jdk1.6.0_21/bin/java -Xbootclasspath/p:/home/dtftest/gump/packages/jaxp-1_3/jaxp-api.jar:/home/dtftest/gump/packages/jaxp-1_3/dom.jar:/home/dtftest/gump/packages/jaxp-1_3/sax.jar:/home/dtftest/gump/packages/jaxp-1_3/xercesImpl.jar:/home/dtftest/gump/packages/jaxp-1_3/xalan.jar org.apache.tools.ant.Main -Dgump.merge=/home/dtftest/gump/work/merge.xml The bootclasspath is not a Windows path, this likely won't work at all. Stefan - To unsubscribe, e-mail: general-unsubscr...@gump.apache.org For additional commands, e-mail: general-h...@gump.apache.org
Re: xml-apis fails
Maybe you want to run gump without setting CLASSPATH. I am not sure as I did not touch gump for a long time, I might be wrong. Antoine On 12/8/2010 6:41 PM, Ludmila Shikhvarg wrote: Use windows 7 with cygwin environment to run gump, but project: xml-apis is failed and there are too many projects failed because of xml-apis dependency. I've tried to convert `cygpath --path --windows` for CLASSPATH in /cron/local*.sh, but for some reason CLASSPATH :c:/jdk1.6.0_21/lib/tools.jar /home/dtftest/gump/results/ant/bootstrap/lib/ant.jar /home/dtftest/gump/results/ant/bootstrap/lib/ant-launcher.jar is used cygwin path instead of windows. Command Line c:/jdk1.6.0_21/bin/java -Xbootclasspath/p:/home/dtftest/gump/packages/jaxp-1_3/jaxp-api.jar:/home/dtftest/gump/packages/jaxp-1_3/dom.jar:/home/dtftest/gump/packages/jaxp-1_3/sax.jar:/home/dtftest/gump/packages/jaxp-1_3/xercesImpl.jar:/home/dtftest/gump/packages/jaxp-1_3/xalan.jar org.apache.tools.ant.Main -Dgump.merge=/home/dtftest/gump/work/merge.xml -Dbuild.sysclasspath=only Output java.lang.NoClassDefFoundError: org/apache/tools/ant/Main Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.Main at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) Could not find the main class: org.apache.tools.ant.Main. Program will exit. Exception in thread main Any help is appreciated. Thanks, Luda - To unsubscribe, e-mail: general-unsubscr...@gump.apache.org For additional commands, e-mail: general-h...@gump.apache.org
Re: xml-apis fails
On 2010-12-09, Ludmila Shikhvarg wrote: Use windows 7 with cygwin environment to run gump, I don't think anybody has ever tried to run Gump on Windows and I'm very sure there are a few unixisms inside the code. It's probably fair to assume it simply won't work and Gump requires a Unix-like system with Unix conventions for paths and filenames. In particular java must use Unix like conventions. Command Line c:/jdk1.6.0_21/bin/java -Xbootclasspath/p:/home/dtftest/gump/packages/jaxp-1_3/jaxp-api.jar:/home/dtftest/gump/packages/jaxp-1_3/dom.jar:/home/dtftest/gump/packages/jaxp-1_3/sax.jar:/home/dtftest/gump/packages/jaxp-1_3/xercesImpl.jar:/home/dtftest/gump/packages/jaxp-1_3/xalan.jar org.apache.tools.ant.Main -Dgump.merge=/home/dtftest/gump/work/merge.xml The bootclasspath is not a Windows path, this likely won't work at all. Stefan - To unsubscribe, e-mail: general-unsubscr...@gump.apache.org For additional commands, e-mail: general-h...@gump.apache.org