Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 35005 invoked from network); 17 Mar 2005 13:42:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 17 Mar 2005 13:42:41 -0000 Received: (qmail 90999 invoked by uid 500); 17 Mar 2005 13:42:35 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 90963 invoked by uid 500); 17 Mar 2005 13:42:35 -0000 Mailing-List: contact user-help@ant.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 user@ant.apache.org Received: (qmail 90948 invoked by uid 99); 17 Mar 2005 13:42:35 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from penguin.ericsson.se (HELO penguin.ericsson.se) (193.180.251.47) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 17 Mar 2005 05:42:21 -0800 Received: from esealmw127.eemea.ericsson.se ([153.88.254.122]) by penguin.ericsson.se (8.12.10/8.12.10/WIREfire-1.8b) with ESMTP id j2HDgHhF027921 for ; Thu, 17 Mar 2005 14:42:18 +0100 (MET) Received: from esealmw129.eemea.ericsson.se ([153.88.254.173]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.211); Thu, 17 Mar 2005 14:42:13 +0100 Received: from esealmw104.eemea.ericsson.se ([153.88.200.67]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.211); Thu, 17 Mar 2005 14:42:13 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: set jvm to 1.3 Date: Thu, 17 Mar 2005 14:42:12 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: set jvm to 1.3 Thread-index: AcUq77YFwFs+TUHFT7e5aZKvnMsV0gABuzKw From: "Mikael Petterson \(KI/EAB\)" To: "Ant Users List" X-OriginalArrivalTime: 17 Mar 2005 13:42:13.0315 (UTC) FILETIME=[20103930:01C52AF7] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Thanks for the hint! In ant there is a property called: ant.java.version What does that tell us? Does it say anything about the version of = compiler used? Or is it the jvm that ant was started with? //Mikael -----Original Message----- From: Ivan Ivanov [mailto:rambiusparkisanius@yahoo.com] Sent: den 17 mars 2005 13:49 To: Ant Users List Subject: Re: set jvm to 1.3 See target attribute of task. You can do it like this: , define javac.target properties in your build.properties as javac.target=3D1.3 HTH Ivan --- "Mikael Petterson (KI/EAB)" wrote: > Hi, >=20 > I am starting ant 1.6.1 with jdk1.4.2 but I need to > compile my code with 1.3. > How can I set this in my build.properties and then > use in my javac task? >=20 > Any hints? >=20 > //Mikael >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: > user-unsubscribe@ant.apache.org > For additional commands, e-mail: > user-help@ant.apache.org >=20 >=20 =09 __________________________________=20 Do you Yahoo!?=20 Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/=20 --------------------------------------------------------------------- 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