Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 84153 invoked from network); 26 May 2002 20:35:22 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 26 May 2002 20:35:22 -0000 Received: (qmail 14448 invoked by uid 97); 26 May 2002 20:35:16 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 14416 invoked by uid 97); 26 May 2002 20:35:15 -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 14400 invoked by uid 98); 26 May 2002 20:35:15 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-Id: <5.1.0.14.0.20020526124451.00a700f0@mail.telus.net> X-Sender: a5a37290@mail.telus.net (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sun, 26 May 2002 13:31:25 -0700 To: "Ant Users List" From: Shaun Kalley Subject: Re: New to Ant and having trouble with my first script In-Reply-To: <1022441772.29082.2.camel@homer> References: <5.1.0.14.0.20020526120254.00a6ff60@mail.telus.net> <5.1.0.14.0.20020526120254.00a6ff60@mail.telus.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Thanks for replying so quickly. I found the problem to be an older version of Ant (1.4) residing in the ext directory of my JDK, one which does not support the source options for javac. I've now successfully executed my script! :-) Also, the source option is available in Ant 1.4.1 as the documentation I read was part of the download rather than that posted on the Ant site. Thanks, Shaun At 03:36 PM 5/26/2002 -0400, you wrote: >On Sun, 2002-05-26 at 15:23, Shaun Kalley wrote: > > > > I've read the documentation and the javac task should support the source > > attribute (and making sure it does is important as I employ several > > assertion statements in my code and it won't compile unless I can specify > > the source version as 1.4). > >You are reading the 1.5 docs & trying to use 1.4.1, Try downloading >1.5beta, the source option was not available with 1.4.1. It also appears >that you need to set the JAVA_HOME env variable. > >Jesse > >-- > Jesse Stockall | Tel: 1+ 613.599.2441 ext. 243 > CRYPTOCard Corporation | Fax: 1+ 613.599.2442 > Suite 304, 300 March Rd. | email: jesse@cryptocard.com > Ottawa, ON, Canada K2K 2E2 | web: www.cryptocard.com >--------------------------------------------------------------------- > > >-- >To unsubscribe, e-mail: >For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: