Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 54440 invoked from network); 3 Jan 2007 15:45:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Jan 2007 15:45:09 -0000 Received: (qmail 78152 invoked by uid 500); 3 Jan 2007 15:45:10 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 78123 invoked by uid 500); 3 Jan 2007 15:45:10 -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 78112 invoked by uid 99); 3 Jan 2007 15:45:10 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jan 2007 07:45:10 -0800 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 (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jan 2007 07:44:58 -0800 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1H28I9-0006Pd-QV for user@ant.apache.org; Wed, 03 Jan 2007 07:44:37 -0800 Message-ID: <8142915.post@talk.nabble.com> Date: Wed, 3 Jan 2007 07:44:37 -0800 (PST) From: m1ke To: user@ant.apache.org Subject: Re: Getting Ant to compile to a different VM? In-Reply-To: <459BB388.8020109@mindspring.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: uninvitedm@yahoo.co.uk References: <8139338.post@talk.nabble.com> <459BA3F1.6080505@mindspring.com> <8140220.post@talk.nabble.com> <459BAAC7.4080307@mindspring.com> <459BAB53.4080104@mindspring.com> <8140874.post@talk.nabble.com> <459BB388.8020109@mindspring.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi Scot. Thanks for the reply. I have sorted it finally after a lot of hassle. The solution was to go to the build.xml and in the javac part at source="1.3" and target="1.3" ... seems a little simple! Thanks for the help Scot P. Floess wrote: > > It sounds like an environment issue... Regarding the class version > error...I think you are correct - it is compiled to 1.3 however, for > some reason, the 1.3 VM is attempting to use the 1.5 version of the Java > classes. You may need to install a 1.3 version of the JDK and "tell" > Eclipse to use that. Again, I am not an Eclipse user so I don't have > any "words of wisdom" with respect to Eclipse. > -- View this message in context: http://www.nabble.com/Getting-Ant-to-compile-to-a-different-VM--tf2913012.html#a8142915 Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org