Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 59233 invoked from network); 20 Aug 2009 05:14:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Aug 2009 05:14:08 -0000 Received: (qmail 36738 invoked by uid 500); 20 Aug 2009 05:14:26 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 36501 invoked by uid 500); 20 Aug 2009 05:14:26 -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 36491 invoked by uid 99); 20 Aug 2009 05:14:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Aug 2009 05:14:26 +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; Thu, 20 Aug 2009 05:14:14 +0000 Received: from z011100.bk.fin.local (z011100.bk.fin.local [172.18.101.140]) by dnsinet.rzf-nrw.de (8.14.0/8.14.0) with ESMTP id n7K5DsJT010048 for ; Thu, 20 Aug 2009 07:13:54 +0200 Received: from z011102.bk.fin.local ([130.11.7.102]) by z011100.bk.fin.local with Microsoft SMTPSVC(6.0.3790.3959); Thu, 20 Aug 2009 07:13:54 +0200 Received: from z011021.bk.fin.local ([130.11.7.21]) by z011102.bk.fin.local with Microsoft SMTPSVC(6.0.3790.3959); Thu, 20 Aug 2009 07:13:54 +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: Launching a different java executable from within ant Date: Thu, 20 Aug 2009 07:13:53 +0200 Message-ID: <9EE86F1965E19E499C80DE52AC807B5505171073@z011021.bk.fin.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Launching a different java executable from within ant Thread-Index: Acog4D0ELQz4bl1QT6OFrDhx0RaVMQAdHAWw References: <7c55bf80908190817r77e8dd09rda504e8b48ba5a2d@mail.gmail.com> From: To: X-OriginalArrivalTime: 20 Aug 2009 05:13:54.0108 (UTC) FILETIME=[03144FC0:01CA2155] X-Virus-Checked: Checked by ClamAV on apache.org ... Jan >-----Urspr=FCngliche Nachricht----- >Von: Francis GALIEGUE [mailto:fge@one2team.com]=20 >Gesendet: Mittwoch, 19. August 2009 17:17 >An: Ant Users List >Betreff: Launching a different java executable from within ant > >Hello, > >I have a very annoying problem. We have a jar, with a main class, >which is called as such: > > > > > > > >This is run on a 64bit Linux machine, with a 32bit JVM. The JVM is >either java 1.4 or java 6. > >With java 1.4, and despite the use of java.awt.headless and >java.awt.headlesslib on the command line, each of these commands take >more than one minute to complete, with only a few seconds of useful >work. It seems to be stuck trying to do something, I don't know what. >If java 6 is used, there is no such problem. > >So, is there a way to tell ant, apart from using a shell script, that >for this particular java task, we want a different JAVA_HOME and/or >JDK_HOME? > >Thanks, >--=20 > >Francis Galiegue >ONE2TEAM >Ing=E9nieur syst=E8me >Mob : +33 (0) 683 877 875 >Tel : +33 (0) 178 945 552 >fge@one2team.com >40 avenue Raymond Poincar=E9 >75116 Paris > >--------------------------------------------------------------------- >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