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:[EMAIL PROTECTED]]
> Sent: Monday, September 10, 2001 9:02 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> 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:[EMAIL PROTECTED]]
> > Sent: 10 September, 2001 14:44
> > To: [EMAIL PROTECTED]
> > 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 <[EMAIL PROTECTED]> 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
> > >
> > > <mailto:[EMAIL PROTECTED]>
> <http://www.media.demon.co.uk>
> > <phone:+44.[0].20.7737.6831> <pager:[EMAIL PROTECTED]>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]
> >
>
>
> =====
> 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: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]