[Bug 103] "forrest run" results in NullPointerException
[email protected] Wed, 23 Mar 2005 05:22:19 -0500
| Newsgroups | gmane.comp.java.vm.sablevm.bugs |
|---|---|
| Message-ID | <[email protected]> |
http://sablevm.org/bugs/show_bug.cgi?id=103 ------- Additional Comments From [email protected] 2005-03-23 05:22 ------- Thanks for following up. Much appreciated! 1. The forrest home site is http://forrest.apache.org/ You will find development versions at: http://svn.apache.org/snapshots/forrest/ Instructions on how to build it: http://forrest.apache.org/docs/dev/build.html Instructions on how to use it: http://forrest.apache.org/docs/dev/your-project.html I have used a development version which was prebuilt on Mac OS X. When I tried to build it, the output was: ./build.sh Using classpath: ../lib/endorsed/jakarta-bcel-20040329.jar:../lib/endorsed/jakarta-regexp-1.3.jar:../lib/endorsed/xalan-2.6.1-dev-20041008T0304.jar:../lib/endorsed/xercesImpl-2.6.2.jar:../lib/endorsed/xml-apis.jar Unable to locate tools.jar. Expected to find it in ?/lib/tools.jar Buildfile: build.xml init: -------------------------------------------------------------- Using Apache Ant version 1.6.2 compiled on July 16 2004 Build file /usr/local/forrest/main/build.xml Use 'build.[sh|bat] -projecthelp' to see other options. Build system home /usr/local/forrest/tools/ant Build number 5 Project Name Forrest build file Java Version 1.5 Timestamp 200503231020 This is: apache-forrest 0.7-dev -------------------------------------------------------------- compile: Compiling 31 source files to /usr/local/forrest/build/classes BUILD FAILED /usr/local/forrest/main/build.xml:335: 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 2. Using the prebuilt forrest I get this result: forrest run Apache Forrest. Run 'forrest -projecthelp' to list options Unable to locate tools.jar. Expected to find it in ?/lib/tools.jar Buildfile: /usr/local/forrest/bin/../main/forrest.build.xml check-java-version: init-props: Loading project specific properties from /home/boerre/sd/forrest.properties Loading user specific properties from /home/boerre/forrest.properties Loading default properties from /usr/local/forrest/bin/../main/webapp/default-forrest.properties echo-settings: check-skin: fetch-skins-descriptors: fetch-skin: unpack-skins: init-skins: init-plugins: Copying 1 file to /usr/local/forrest/build/plugins Copying 1 file to /usr/local/forrest/build/plugins Copying 1 file to /usr/local/forrest/build/plugins Installing plugin: org.apache.forrest.plugin.pdf-output check-plugin: init-props: Loading project specific properties from /home/boerre/sd/forrest.properties Loading user specific properties from /home/boerre/forrest.properties Loading default properties from /usr/local/forrest/bin/../main/webapp/default-forrest.properties echo-settings: fetch-plugins-descriptors: fetch-plugin: unpack-plugin: install-plugin: check-plugin-type: configure-input-plugin: configure-output-plugin: Mounting output plugin: ${plugin-name} Processing /usr/local/forrest/build/plugins/output.xmap to /usr/local/forrest/build/plugins/output.xmap.new Loading stylesheet /usr/local/forrest/main/var/pluginMountSnippet.xsl Warning: Could not get charToByteConverterClass! Moving 1 files to /usr/local/forrest/build/plugins configure-internal-plugin: configure-plugin: Installing plugin: wiki check-plugin: init-props: Loading project specific properties from /home/boerre/sd/forrest.properties Loading user specific properties from /home/boerre/forrest.properties Loading default properties from /usr/local/forrest/bin/../main/webapp/default-forrest.properties echo-settings: fetch-plugins-descriptors: fetch-plugin: unpack-plugin: install-plugin: check-plugin-type: configure-input-plugin: Mounting input plugin: ${plugin-name} Processing /usr/local/forrest/build/plugins/input.xmap to /usr/local/forrest/build/plugins/input.xmap.new Loading stylesheet /usr/local/forrest/main/var/pluginMountSnippet.xsl Moving 1 files to /usr/local/forrest/build/plugins configure-output-plugin: configure-internal-plugin: configure-plugin: init: run_custom_jetty: run_default_jetty: BUILD FAILED /usr/local/forrest/main/forrest.build.xml:467: Could not create type java due to ?/bin is not an absolute path Total time: 11 seconds It works a lot better now. Conclusion is perhaps that it boils down to the problem in bug 88? I attach the output from Mac OS X, when doing $FORREST_HOME/main/build.sh and forrest run in a 'seeded' directory. I hope that can help in targeting the problem. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. You are the QA contact for the bug, or are watching the QA contact.