From user-return-70748-apmail-ant-user-archive=ant.apache.org@ant.apache.org Tue Jul 27 13:11:44 2010 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 54231 invoked from network); 27 Jul 2010 13:11:44 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Jul 2010 13:11:44 -0000 Received: (qmail 19372 invoked by uid 500); 27 Jul 2010 13:11:43 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 19178 invoked by uid 500); 27 Jul 2010 13:11:41 -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 19170 invoked by uid 99); 27 Jul 2010 13:11:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jul 2010 13:11:39 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [193.109.238.66] (HELO dnsinet.rzf-nrw.de) (193.109.238.66) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jul 2010 13:11:30 +0000 Received: from z011100.bk.fin.local (z011100.bk.fin.local [172.18.101.140]) by dnsinet.rzf-nrw.de (8.14.4/8.14.4) with ESMTP id o6RDB9Tp024916 for ; Tue, 27 Jul 2010 15:11:09 +0200 Received: from z011103.bk.fin.local ([130.11.7.103]) by z011100.bk.fin.local with Microsoft SMTPSVC(6.0.3790.3959); Tue, 27 Jul 2010 15:11:09 +0200 Received: from z011021.bk.fin.local ([130.11.7.21]) by z011103.bk.fin.local with Microsoft SMTPSVC(6.0.3790.3959); Tue, 27 Jul 2010 15:11:09 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: AW: How to check if available java version is higher equal than a required java version? Date: Tue, 27 Jul 2010 15:11:09 +0200 Message-ID: <9EE86F1965E19E499C80DE52AC807B550B56958C@z011021.bk.fin.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How to check if available java version is higher equal than a required java version? Thread-Index: AcstiDlZ74l3zi8sQpqInJL5XouvrgABKyLg References: <649427.37696.qm@smtp126.mail.ukl.yahoo.com> From: To: X-OriginalArrivalTime: 27 Jul 2010 13:11:09.0583 (UTC) FILETIME=[2E03C9F0:01CB2D8D] X-Virus-Checked: Checked by ClamAV on apache.org Check for Classes which are new in that specific JDK. Jan=20 >-----Urspr=FCngliche Nachricht----- >Von: Ben Stover [mailto:bxstover@yahoo.co.uk]=20 >Gesendet: Dienstag, 27. Juli 2010 14:35 >An: Ant Users >Betreff: How to check if available java version is higher=20 >equal than a required java version? > >Assume I have a build.xml which contains some java tasks=20 >(javac, jar,...) > >I would like to make sure that the Java installation which is=20 >used to compile the source code is higher equal >than e.g. JAVA SE 1.5.03. > >How can I specify this version requirement (and an appropriate=20 >error message) in a build.xml script? > >Ben > > > > > > >--------------------------------------------------------------------- >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