cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Ellis Parrott <parr...@fas.harvard.edu>
Subject Re: Need to specify target.vm
Date Sun, 13 Oct 2002 05:38:03 GMT

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:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
>


---------------------------------------------------------------------
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message