Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 71027 invoked from network); 19 Apr 2002 08:59:56 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 19 Apr 2002 08:59:56 -0000 Received: (qmail 29063 invoked by uid 97); 19 Apr 2002 09:00:01 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 29047 invoked by uid 97); 19 Apr 2002 09:00:01 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 29023 invoked from network); 19 Apr 2002 09:00:00 -0000 Sender: sc0302 Message-ID: <3CBFDC90.9AAC6D8C@aepona.com> Date: Fri, 19 Apr 2002 10:00:01 +0100 From: Simon Curran Organization: AePONA Ltd X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.9-31 i686) X-Accept-Language: en MIME-Version: 1.0 To: Ant Users List Subject: Re: Ant 1.4.1: Using javac fork=true and changing java.home References: <013201c1e726$d291ab60$673c010a@sitraka.com> Content-Type: multipart/alternative; boundary="------------BC00F3C5F61B02BBBEE97116" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --------------BC00F3C5F61B02BBBEE97116 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Yeah, I had this problem the other day and these guys helped me to resolve it... This is the solution that they came up with. I was compiling all my java source with java 1.3 but wanted to build my javadocs using java 1.4.... On Thu, 18 Apr 2002, Gordon Tyler wrote: > > > However, it seems that doesn't use the java.home > > property to execute javac. > > Correct. > > Ant 1.5alpha has a new attribute in that lets you explicitly > point Ant to the compiler you want to use. > > For 1.4.1 you can either a new instance of Ant like Diane > suggests or set includejavaruntime and includeantruntime to false, add > tools.jar of JDK 1.4.1 to 's and don't use fork. > > Stefan > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: -- *************************************************************** * Simon Curran * Email : simon.curran@aepona.com * * Software Engineer * WWW : www.aepona.com * * Aepona Ltd. * Phone : +44 (0)28 9027 5231 * * Interpoint Building, * Fax : +44 (0)28 9026 9111 * * 20-24 York Street, * * * Belfast. BT15 1AQ. * * * N. Ireland. * * *************************************************************** --------------BC00F3C5F61B02BBBEE97116--