Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 42750 invoked from network); 14 Sep 2007 03:41:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Sep 2007 03:41:42 -0000 Received: (qmail 88501 invoked by uid 500); 14 Sep 2007 03:41:27 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 88476 invoked by uid 500); 14 Sep 2007 03:41:27 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 97847 invoked by uid 99); 13 Sep 2007 20:22:42 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of SRS0=EASo=OJ=noacks.net=rainer@srs.kundenserver.de designates 212.227.126.187 as permitted sender) Reply-To: From: "Rainer Noack" To: "'Ant Users List'" References: <5C0F811CFD4EA34D8BB0310C5DA30D6801D93EBD@repbex01.amer.bea.com> Subject: AW: ant-1.6.5; need to add tools.jar to system classpath Date: Thu, 13 Sep 2007 22:22:09 +0200 Message-ID: <005d01c7f643$c376c110$0601a8c0@ENITSYSMOB000R> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 Thread-Index: Acf1Dv+LUyVpqV9zTpe3Q8ADVlVllAAQsX5wADxrSrA= In-Reply-To: <5C0F811CFD4EA34D8BB0310C5DA30D6801D93EBD@repbex01.amer.bea.com> X-Provags-ID: V01U2FsdGVkX18lluqzAX9AGztS5/2rjN6B1YKC0FoXWRYqWud KvLP1T1XwVvIlJupfvDtgB04OrXYrhvO8ut3/CgLVerwT68FfM LA4CcjBd8yQ1RkDVAo/jKxsSLrUcyZw X-Virus-Checked: Checked by ClamAV on apache.org Offline for some days... Maybe,=20 http://enitsys.sourceforge.net/ant-classloadertask/ will solve your problem. Cheers, Rainer=20 -----Urspr=FCngliche Nachricht----- Von: Vladimir Egorov [mailto:vegorov@bea.com]=20 Gesendet: Mittwoch, 12. September 2007 17:47 An: Ant Users List Betreff: RE: ant-1.6.5; need to add tools.jar to system classpath Jan, Peter, Thank you for your replies. > > Would it make sence to start Ant with a JRE and add the (different) > tools.jar via -lib? The goal is to put tools.jar on _system_ classpath. The -lib puts it on core Ant classpath. > > >Vladimir is trying to use a different tools.jar than the one that > > >is in $JAVA_HOME - as the one in $JAVA_HOME is broken. No the tools.jar is the actual one from the JDK. We need it on system classpath to work around the class-loading bug in javadoc jdk 1.6. http://bugs.sun.com/view_bug.do?bug_id=3D6176978 Sorry I should have been clearer. > > >ATM I do not see any way other that the one you are using. Thanks - this is good to know. It would be good to make this generic fix in ant-1.6.5, as it makes ant.bat script consistent with ant script (as far as LOCALCLASSPATH goes). > > >> - If JAVA_HOME points to a JDK it should be on Ants > > >classpath already. Yes, JAVA_HOME points to a JDK, but tools.jar is not on system classpath, even if we add it to CLASSPATH. > > >> - supports nested sourcepath, classpath and bootclasspath The actual task that got broken is http://e-docs.bea.com/wls/docs90/webserv/anttasks.html#1039892 It has dependency on javadoc. Our goal is to work around the bug in Ant environment, rather than telling customers to edit their Ant files, or editing our internal test files. Thanks again, --Vladimir Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual = or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by = email and then delete it. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org