You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Jeremy Quinn <je...@media.demon.co.uk> on 2001/09/10 14:19:00 UTC
Build Failed on MacOS X
Dear All,
I am getting a new platform specific build failure.
Trying to build Cocoon 2 under MacOS X, has always in the past thrown up
the failure of Ant to find 'tools.jar', but this has never aborted the
whole build process before.
Now when I do a ./build.sh -Dinclude.webapp.libs=yes webapp I get a fatal
error:
/Volumes/Tardis/Checkouts/xml-cocoon2/build.xml:705: Could not find file
/System/Library/Frameworks/JavaVM.framework/Versions/1.3/lib/tools.jar to
copy.
and the build halts.
Doing a search of my whole filesystem (sudo find / -file tools.jar) I
cannot find a copy of tools.jar anywhere, Apple either called it something
else, or it's contents are mixed in with another jar.
This was never a problem before, the build would continue past that error,
and the webapp would all work.
Any suggestions?
thanks
regards Jeremy
--
___________________________________________________________________
Jeremy Quinn Karma Divers
webSpace Design
HyperMedia Research Centre
<ma...@mac.com> <http://www.media.demon.co.uk>
<phone:+44.[0].20.7737.6831> <pa...@sms.genie.co.uk>
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
Re: Build Failed on MacOS X
Posted by Jeremy Quinn <je...@media.demon.co.uk>.
At 5:44 AM -0700 10/9/01, Davanum Srinivas wrote:
>Jeremy,
>
>Please try the build.xml in C2.1. See if my patch helps? If it does i will
>move it to C2.0 also.
>
Thanks Dims,
That worked.
regards Jeremy
--
___________________________________________________________________
Jeremy Quinn Karma Divers
webSpace Design
HyperMedia Research Centre
<ma...@mac.com> <http://www.media.demon.co.uk>
<phone:+44.[0].20.7737.6831> <pa...@sms.genie.co.uk>
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
RE: Build Failed on MacOS X
Posted by Vadim Gritsenko <vg...@hns.com>.
Bernard,
Please do not mix $JAVA_HOME and ${java.home},
these are two completely different things
One is env var of OS set by user, other is Java property
set by JVM to the _JRE_ location
Regards,
Vadim
> -----Original Message-----
> From: Bernard D'Have [mailto:bd@spiritsystems.be]
> Sent: Monday, September 10, 2001 9:02 AM
> To: cocoon-dev@xml.apache.org; dims@yahoo.com
> Subject: RE: Build Failed on MacOS X
>
>
> small inconsistency between build.xml and INSTALL
>
> Quoted from INSTALL:
>
> 2) Set your JAVA_HOME enviornment
>
> You have to set your JAVA_HOME enviornment to point to the root directory
> of
> the Java Development Kit installed on your machine. To do this simply
> type:
>
> [unix] JAVA_HOME=/path/to/java/
> [win32] SET JAVA_HOME=c:\path\to\java
>
> it's normally something like this: c:\JDK1.3.1
> and the location of tools.jar is c:\jdk1.3.1\lib
>
> but in build.xml, I found this
>
> <property name="tools.jar" value="${java.home}/../lib/tools.jar"/>
>
> which is resolved as c:\lib\tools.jar which is WRONG
>
> Bernard
>
> > -----Original Message-----
> > From: Davanum Srinivas [mailto:dims@yahoo.com]
> > Sent: 10 September, 2001 14:44
> > To: cocoon-dev@xml.apache.org
> > Subject: Re: Build Failed on MacOS X
> >
> >
> > Jeremy,
> >
> > Please try the build.xml in C2.1. See if my patch helps? If it
> > does i will move it to C2.0 also.
> >
> > Thanks,
> > dims
> >
> > --- Jeremy Quinn <je...@media.demon.co.uk> wrote:
> > > Dear All,
> > >
> > > I am getting a new platform specific build failure.
> > >
> > > Trying to build Cocoon 2 under MacOS X, has always in the past thrown up
> > > the failure of Ant to find 'tools.jar', but this has never aborted the
> > > whole build process before.
> > >
> > > Now when I do a ./build.sh -Dinclude.webapp.libs=yes webapp I
> > get a fatal
> > > error:
> > >
> > > /Volumes/Tardis/Checkouts/xml-cocoon2/build.xml:705: Could
> > not find file
> > >
> > /System/Library/Frameworks/JavaVM.framework/Versions/1.3/lib/tools.jar to
> > > copy.
> > >
> > > and the build halts.
> > >
> > >
> > > Doing a search of my whole filesystem (sudo find / -file tools.jar) I
> > > cannot find a copy of tools.jar anywhere, Apple either called
> > it something
> > > else, or it's contents are mixed in with another jar.
> > >
> > > This was never a problem before, the build would continue past
> > that error,
> > > and the webapp would all work.
> > >
> > >
> > > Any suggestions?
> > >
> > >
> > > thanks
> > >
> > > regards Jeremy
> > > --
> > > ___________________________________________________________________
> > >
> > > Jeremy Quinn Karma Divers
> > > webSpace Design
> > > HyperMedia Research Centre
> > >
> > > <ma...@mac.com>
> <http://www.media.demon.co.uk>
> > <phone:+44.[0].20.7737.6831> <pa...@sms.genie.co.uk>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > For additional commands, email: cocoon-dev-help@xml.apache.org
> >
>
>
> =====
> Davanum Srinivas, JNI-FAQ Manager
> http://www.jGuru.com/faq/JNI
>
> __________________________________________________
> Do You Yahoo!?
> Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
> http://im.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
RE: Build Failed on MacOS X
Posted by Bernard D'Have <bd...@spiritsystems.be>.
small inconsistency between build.xml and INSTALL
Quoted from INSTALL:
2) Set your JAVA_HOME enviornment
You have to set your JAVA_HOME enviornment to point to the root directory
of
the Java Development Kit installed on your machine. To do this simply
type:
[unix] JAVA_HOME=/path/to/java/
[win32] SET JAVA_HOME=c:\path\to\java
it's normally something like this: c:\JDK1.3.1
and the location of tools.jar is c:\jdk1.3.1\lib
but in build.xml, I found this
<property name="tools.jar" value="${java.home}/../lib/tools.jar"/>
which is resolved as c:\lib\tools.jar which is WRONG
Bernard
> -----Original Message-----
> From: Davanum Srinivas [mailto:dims@yahoo.com]
> Sent: 10 September, 2001 14:44
> To: cocoon-dev@xml.apache.org
> Subject: Re: Build Failed on MacOS X
>
>
> Jeremy,
>
> Please try the build.xml in C2.1. See if my patch helps? If it
> does i will move it to C2.0 also.
>
> Thanks,
> dims
>
> --- Jeremy Quinn <je...@media.demon.co.uk> wrote:
> > Dear All,
> >
> > I am getting a new platform specific build failure.
> >
> > Trying to build Cocoon 2 under MacOS X, has always in the past thrown up
> > the failure of Ant to find 'tools.jar', but this has never aborted the
> > whole build process before.
> >
> > Now when I do a ./build.sh -Dinclude.webapp.libs=yes webapp I
> get a fatal
> > error:
> >
> > /Volumes/Tardis/Checkouts/xml-cocoon2/build.xml:705: Could
> not find file
> >
> /System/Library/Frameworks/JavaVM.framework/Versions/1.3/lib/tools.jar to
> > copy.
> >
> > and the build halts.
> >
> >
> > Doing a search of my whole filesystem (sudo find / -file tools.jar) I
> > cannot find a copy of tools.jar anywhere, Apple either called
> it something
> > else, or it's contents are mixed in with another jar.
> >
> > This was never a problem before, the build would continue past
> that error,
> > and the webapp would all work.
> >
> >
> > Any suggestions?
> >
> >
> > thanks
> >
> > regards Jeremy
> > --
> > ___________________________________________________________________
> >
> > Jeremy Quinn Karma Divers
> > webSpace Design
> > HyperMedia Research Centre
> >
> > <ma...@mac.com>
<http://www.media.demon.co.uk>
> <phone:+44.[0].20.7737.6831> <pa...@sms.genie.co.uk>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>
=====
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
Re: Build Failed on MacOS X
Posted by Davanum Srinivas <di...@yahoo.com>.
Jeremy,
Please try the build.xml in C2.1. See if my patch helps? If it does i will move it to C2.0 also.
Thanks,
dims
--- Jeremy Quinn <je...@media.demon.co.uk> wrote:
> Dear All,
>
> I am getting a new platform specific build failure.
>
> Trying to build Cocoon 2 under MacOS X, has always in the past thrown up
> the failure of Ant to find 'tools.jar', but this has never aborted the
> whole build process before.
>
> Now when I do a ./build.sh -Dinclude.webapp.libs=yes webapp I get a fatal
> error:
>
> /Volumes/Tardis/Checkouts/xml-cocoon2/build.xml:705: Could not find file
> /System/Library/Frameworks/JavaVM.framework/Versions/1.3/lib/tools.jar to
> copy.
>
> and the build halts.
>
>
> Doing a search of my whole filesystem (sudo find / -file tools.jar) I
> cannot find a copy of tools.jar anywhere, Apple either called it something
> else, or it's contents are mixed in with another jar.
>
> This was never a problem before, the build would continue past that error,
> and the webapp would all work.
>
>
> Any suggestions?
>
>
> thanks
>
> regards Jeremy
> --
> ___________________________________________________________________
>
> Jeremy Quinn Karma Divers
> webSpace Design
> HyperMedia Research Centre
>
> <ma...@mac.com> <http://www.media.demon.co.uk>
> <phone:+44.[0].20.7737.6831> <pa...@sms.genie.co.uk>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>
=====
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org