Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 41021 invoked from network); 17 Mar 2003 06:56:05 -0000 Received: from dnsinet.rzf-nrw.de (193.109.238.66) by daedalus.apache.org with SMTP; 17 Mar 2003 06:56:05 -0000 Received: from z011104.bk.fin.local (z011104.bk.fin.local [193.109.238.140]) by dnsinet.rzf-nrw.de (8.12.8/8.12.8) with ESMTP id h2H6uExk021545 for ; Mon, 17 Mar 2003 07:56:14 +0100 Received: by z011104.bk.fin.local with Internet Mail Service (5.5.2653.19) id ; Mon, 17 Mar 2003 07:56:15 +0100 Message-ID: <879A5AD5DD0ED511891F0003473A9B5603CCC346@Z011004> From: Jan.Materne@rzf.fin-nrw.de To: user@ant.apache.org Subject: AW: Compiling with one jdk, building javadoc with anohter? Date: Mon, 17 Mar 2003 07:56:14 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C2EC52.4D23F230" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C2EC52.4D23F230 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 1. scenario (should work) Ant runs on JDK 1.4 (for javadoc) and you use 2. scenario (may work) Run javadoc in a new target and set java.home to the JDK14 before that. Background: I took a look into the source and javadoc uses the util = class JDKEnvUtils. The invoked getJdkExecutable() method uses that system property as base for searching the required=20 took - here the javadoc tool. Hope that helps. Jan Mat=E8rne -----Urspr=FCngliche Nachricht----- Von: Jason [mailto:jasonriz@yahoo.com] Gesendet am: Freitag, 14. M=E4rz 2003 22:43 An: user@ant.apache.org Betreff: Compiling with one jdk, building javadoc with anohter? Hello, I'm using ant 1.5.1 for my build process and I've run into a scenario I'm having trouble with. I need to compile with one jdk (1.3) but run the javadoc task using another (1.4). I can't figure out how to accomplish this. In the past, I've compiled with different versions of the jdk from within the same script using the javac task's fork/excecutable attributes. I guess I'm looking for something similar in the javadoc task but I can't seem to find it. Can anybody set me straight? Thanks in advance. -jason __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org ------_=_NextPart_001_01C2EC52.4D23F230--