Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 91704 invoked from network); 23 Apr 2007 19:08:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Apr 2007 19:08:09 -0000 Received: (qmail 46116 invoked by uid 500); 23 Apr 2007 19:08:03 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 46082 invoked by uid 500); 23 Apr 2007 19:08:03 -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 45901 invoked by uid 99); 23 Apr 2007 19:08:03 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2007 12:08:02 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [206.190.49.153] (HELO web54503.mail.re2.yahoo.com) (206.190.49.153) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 23 Apr 2007 12:07:53 -0700 Received: (qmail 3877 invoked by uid 60001); 23 Apr 2007 19:07:31 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=3e8NK73vHDJxFKulAVG7LfTa2tLrRyG8tsfEwYTo2azByGTrrMtjHcYCMvY30i6Re9gjfioKVqkqiS376ztmmAJHbYoELxl3gkGl2MAXmpmf3dw0TyVz7gCK/AvMdwuYOPbe8C4Vk5b/dJfLTfARlwixGP6UyRGXvzbSBg/+/og=; X-YMail-OSG: v4fZmLwVM1n0W2EhCmtC0T8DVKMmAVKtMXdEEU5_F73tH38B26fdD.nIQ3pQA5sxhO11Ws9cKmtKMuJw4FMsAx_Kl1IXWZfAz1WTvElGnoNWNWWjGlpjLH5qQpAl9J0ijN6rcOJCWIiVK03oTo2EUrB6 Received: from [65.113.40.130] by web54503.mail.re2.yahoo.com via HTTP; Mon, 23 Apr 2007 12:07:31 PDT Date: Mon, 23 Apr 2007 12:07:31 -0700 (PDT) From: "Petr V." Subject: Specifying Jdk Version in build.xml To: user@ant.apache.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1716093005-1177355251=:96006" Content-Transfer-Encoding: 8bit Message-ID: <843772.96006.qm@web54503.mail.re2.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org --0-1716093005-1177355251=:96006 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi, I have jdk 1.4 as well as jdk 1.5 in my machine. JAVA_HOME points to jdk 1.5 I need to compile my java code using jdk 1.4. How could I specify in build.xml to use jdk1.4 for compiling my code instead of jdk1.5? How could I make sure that ant uses jdk1.4 and not jdk1.5 after that. Thanks Petr V. --------------------------------- Ahhh...imagining that irresistible "new car" smell? Check outnew cars at Yahoo! Autos. --0-1716093005-1177355251=:96006--