Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 18415 invoked from network); 17 Sep 2004 17:03:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 17 Sep 2004 17:03:31 -0000 Received: (qmail 10902 invoked by uid 500); 17 Sep 2004 17:03:20 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 10861 invoked by uid 500); 17 Sep 2004 17:03:20 -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 10846 invoked by uid 99); 17 Sep 2004 17:03:19 -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 [134.132.72.99] (HELO junior.lgc.com) (134.132.72.99) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 17 Sep 2004 10:03:17 -0700 Received: from lgchvw02.lgc.com (lgchvw02.lgc.com [134.132.93.108]) by junior.lgc.com (8.11.7/8.11.3) with SMTP id i8HH3D828856 for ; Fri, 17 Sep 2004 12:03:13 -0500 (CDT) Received: from 134.132.72.99 by lgchvw02.lgc.com (InterScan E-Mail VirusWall NT); Fri, 17 Sep 2004 12:03:10 -0500 Received: from HOUEXCH903.landmark.lgc.com (houexch903.landmark.lgc.com [134.132.167.43]) by junior.lgc.com (8.11.7/8.11.3) with ESMTP id i8HH37j28826 for ; Fri, 17 Sep 2004 12:03:07 -0500 (CDT) Received: from HOUEXCH902.landmark.lgc.com ([134.132.167.38]) by HOUEXCH903.landmark.lgc.com with Microsoft SMTPSVC(6.0.3790.0); Fri, 17 Sep 2004 12:03:04 -0500 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="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [Thanks]Re: Best way to run Ant without installing it? Date: Fri, 17 Sep 2004 12:03:03 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Thanks]Re: Best way to run Ant without installing it? Thread-Index: AcScqghxm8rNX5MiSEukhB06GcSU7wALdBpg From: "Dominique Devienne" To: "Ant Users List" X-OriginalArrivalTime: 17 Sep 2004 17:03:04.0155 (UTC) FILETIME=[3227BAB0:01C49CD8] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > From: Emmanouil Batsis [mailto:Emmanouil.Batsis@eurodyn.com] > I now use >=20 > java -jar /path/to/ant/lib/ant-launcher.jar -buildfile /path/to/build.xml >=20 > without changing env properties. The ant lib classpath is resolved by > the launcher. I could use the ant scripts, but i'd have to branch > between .sh .bat (I'm using izpack to build a crossplatform installer) > but calling java works equally well everywhere. >=20 > The AntBuild class is a very usefull start for another idea of mine so > thanks John!. >=20 > Many thanks again all, The only thing missing might be the ant.home property, as I don't think the launcher sets it (the scripts do). I use this property in my build script to reference XSL stylesheets for example, so without it the build would fail. The launcher could be changed to set it, if it's not set (assuming it doesn't do it already). --DD --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org