Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 38943 invoked by uid 500); 14 Aug 2001 07:53:49 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 38911 invoked from network); 14 Aug 2001 07:53:48 -0000 Message-Id: <200108140755.f7E7t8b04679@localhost.localdomain> X-Mailer: exmh 2.5 07/16/2001 with XEmacs 21.4.4 on Linux 2.4.7 From: Ovidiu Predescu To: "Carsten Ziegeler" Cc: cocoon-dev@xml.apache.org Subject: Re: AW: [C2] [2.1-dev] various fixes and changes In-Reply-To: Your message of "Tue, 14 Aug 2001 09:33:54 +0200." X-Url: http://www.geocities.com/SiliconValley/Monitor/7464/ X-Image-Url: http://www.geocities.com/SiliconValley/Monitor/7464/ovidiu.tiff X-Face: ?(@Y~qjBA}~8ZMh5gM4{Q{bE_*:sCJ3@Z?{B*Co=J!#8bb~-z?-0._vJjt~MM59!MjxG%>U 5>MW^2-\7~z04buszR^=m^U|m66>FdR@cFwhb;.A(8*D.QmLkK]z,md0'HiOE\pyeiv_PACR+P:Cm. wq_%l':E:q]g-UCc>r&s@BVo'kFN;(\9PF22Myg5w%nUBWQ6MJJ#qL#w>2oxckP'H:\$9F"mxsz]Dg k{1`fTcP'Y$CgGnc^paTV$dzhVX+;(U$;Eb)P<>G)g) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 14 Aug 2001 00:55:07 -0700 Sender: ovidiu@cup.hp.com X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N On Tue, 14 Aug 2001 09:33:54 +0200, "Carsten Ziegeler" wrote: > > Michael Hartle wrote: > > > > Ovidiu Predescu wrote: > > > > >- in build.xml, the tools.jar is assumed to be in > > $JAVA_HOME/lib/tools.jar. It > > >turns out that JAVA_HOME usually points to the jre/ directory > > inside the jdk/ > > >directory, while the tools.jar is in the lib/ directory of jdk/. > > Something like > > >this: > > > > > My JAVA_HOME points and has always pointed to the base directory > > containing Java, e.g. C:\Programme\JDK1.3.1 or /usr/local/jdk1.3.1, and > > as I am able to build several projects from different sources via Ant > > without any problem, I do not think that this assumption is valid. In > > case I just have been lucky all the time, please feel free to > > mention it ;) > > > I think we must distinct here between the environment variable JAVA_HOME > and the jvm system property "java.home". Whereas JAVA_HOME can be set > by the user to any value, the system property "java.home" always points > to the $JAVA_HOME/jre directory. This behaviour is specified by SUN. > I verified this on Windows with JDK 1.2.x and JDK 1.3.x. > > Ant or the current build.xml uses the "java.home" property to get the > tools.jar which is simply wrong. So the patch is required. Thanks for the clarification, Carsten. In my message I mixed up the two, JAVA_HOME and java.home, which probably confused Michael. Thanks, -- Ovidiu Predescu http://orion.nsr.hp.com/ (inside HP's firewall only) http://sourceforge.net/users/ovidiu/ (my SourceForge page) http://www.geocities.com/SiliconValley/Monitor/7464/ (GNU, Emacs, other stuff) --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org