Re: Need to specify target.vm
Scott == Scott Schram [EMAIL PROTECTED] writes: Scott What happens if you type which java ? Do you get an Scott unexpected one installed by your linux distribution? No. 1.4.1 Scott It looks like you're using an ant that came in some other Scott package. Perhaps that package is missing something. Scott Why not try using ant 1.5.1 from Scott http://jakarta.apache.org/ant/index.html Scott Of course, make sure ANT_HOME and the path are set to the Scott right ant. Done. Makes no difference to either problem. -- Colin Paul Adams Preston Lancashire - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Need to specify target.vm
Try setting $ANT_HOME and $JDK_HOME as well (and $TOMCAT_HOME if relevant for that matter) I built on 10/12/2002 OK, so perhaps just environment? rob On 13 Oct 2002, Colin Paul Adams wrote: Hello, I'm trying to install cocoon 2.1 from a CVS snapshot (Oct 12th). JAVA_HOME points to a 1.4.1 j2sdk (from sun, for Linux). It's the only version of java I have installed (to my knowledge). When I tried the instructions for an automatic build, I got an error that ./lib/core/jvm1.3 was not found. After investigating, I find adding -Dtarget.vm=1.4 solves that one, but why is this necessary? Next problem: check-jars: Copying 1 file to /home/colin/xml-cocoon2/build/cocoon Processing /home/colin/xml-cocoon2/lib/jars.xml to /home/colin/xml-cocoon2/build/cocoon/jars.xml Loading stylesheet /home/colin/xml-cocoon2/tools/src/check-jars.xsl home/colin/xml-cocoon2/tools/src/check-jars.xsl:102:40: Warning! File ant_1_3-optional.jar appears in the lib/ directory, but is not declared in lib/jars.xml. Please update the lib/jars.xml file to include the ant_1_3-optional.jar file together with a description. : Fatal Error! Stylesheet directed termination : Fatal Error! Fatal error during transformation Cause: Fatal error during transformation Failed to process /home/colin/xml-cocoon2/lib/jars.xml BUILD FAILED file:/home/colin/xml-cocoon2/build.xml:2113: Fatal error during transformation Inspection shows that jars.xml is dated Sept 20, and the ant jars to way back in July. So I don't understand why this error hasn't been detected before. P.S. Would this kind of message be more apporpriate im cocoon-dev? -- Colin Paul Adams Preston Lancashire - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Need to specify target.vm
At 01:12 AM 10/13/2002, you wrote: Robert I built on 10/12/2002 OK, so perhaps just environment? Could be. If I type: which ant then it finds ant in the jwsdp/bin directory - that's ant 1.4.1, do I need a different version? What happens if you type which java ? Do you get an unexpected one installed by your linux distribution? It looks like you're using an ant that came in some other package. Perhaps that package is missing something. Why not try using ant 1.5.1 from http://jakarta.apache.org/ant/index.html Of course, make sure ANT_HOME and the path are set to the right ant. Scott http://schram.net - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Need to specify target.vm
Hello, I'm trying to install cocoon 2.1 from a CVS snapshot (Oct 12th). JAVA_HOME points to a 1.4.1 j2sdk (from sun, for Linux). It's the only version of java I have installed (to my knowledge). When I tried the instructions for an automatic build, I got an error that ./lib/core/jvm1.3 was not found. After investigating, I find adding -Dtarget.vm=1.4 solves that one, but why is this necessary? Next problem: check-jars: Copying 1 file to /home/colin/xml-cocoon2/build/cocoon Processing /home/colin/xml-cocoon2/lib/jars.xml to /home/colin/xml-cocoon2/build/cocoon/jars.xml Loading stylesheet /home/colin/xml-cocoon2/tools/src/check-jars.xsl home/colin/xml-cocoon2/tools/src/check-jars.xsl:102:40: Warning! File ant_1_3-optional.jar appears in the lib/ directory, but is not declared in lib/jars.xml. Please update the lib/jars.xml file to include the ant_1_3-optional.jar file together with a description. : Fatal Error! Stylesheet directed termination : Fatal Error! Fatal error during transformation Cause: Fatal error during :transformation Failed to process /home/colin/xml-cocoon2/lib/jars.xml BUILD FAILED file:/home/colin/xml-cocoon2/build.xml:2113: Fatal error during transformation Inspection shows that jars.xml is dated Sept 20, and the ant jars to way back in July. So I don't understand why this error hasn't been detected before. P.S. Would this kind of message be more apporpriate im cocoon-dev? -- Colin Paul Adams Preston Lancashire - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Need to specify target.vm
Robert == Robert Ellis Parrott [EMAIL PROTECTED] writes: Robert Try setting $ANT_HOME and $JDK_HOME as well (and To what? What are they supposed to achieve? Robert $TOMCAT_HOME if relevant for that matter) Well, I'm using tomcat 4, and CATALINA_HOME is set. (As is JAVA_HOME - what is JDK_HOME for? and run.sh specifically unsets ANT_HOME). Robert I built on 10/12/2002 OK, so perhaps just environment? Could be. If I type: which ant then it finds ant in the jwsdp/bin directory - that's ant 1.4.1, do I need a different version? -- Colin Paul Adams Preston Lancashire - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Need to specify target.vm
Robert == Robert Ellis Parrott [EMAIL PROTECTED] writes: Robert I built on 10/12/2002 OK, so perhaps just environment? check-jars: Copying 1 file to /home/colin/xml-cocoon2/build/cocoon Processing /home/colin/xml-cocoon2/lib/jars.xml to /home/colin/xml-cocoon2/build/cocoon/jars.xml Loading stylesheet /home/colin/xml-cocoon2/tools/src/check-jars.xsl home/colin/xml-cocoon2/tools/src/check-jars.xsl:102:40: Warning! File ant_1_3-optional.jar appears in the lib/ directory, but is not declared in lib/jars.xml. Please update the lib/jars.xml file to include the ant_1_3-optional.jar file together with a description. : Fatal Error! Stylesheet directed termination : Fatal Error! Fatal error during transformation Cause: Fatal error during transformation Failed to process /home/colin/xml-cocoon2/lib/jars.xml BUILD FAILED file:/home/colin/xml-cocoon2/build.xml:2113: Fatal error during transformation Inspection shows that jars.xml is dated Sept 20, and the ant jars to way back in July. So I don't understand why this error hasn't been detected before. How? check-jars.xml says the following: !-- Simple stylesheet to verify that files defined in lib/jars.xml actually appear in the lib/ directory, and vice-versa, that files that appear in the lib/ directory have an entry with a description in the lib/jars.xml file. Author: Ovidiu Predescu [EMAIL PROTECTED] Date: May 22, 2002 -- and that clearly isn't the case with the sources in CVS. So the build has to fail. No? -- Colin Paul Adams Preston Lancashire - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Need to specify target.vm
Well, to answer my own question, I had an old .ant.properties file lying around from about a year ago. Oh well ... -- Colin Paul Adams Preston Lancashire - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]