Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 44604 invoked by uid 500); 12 Aug 2003 09:37:58 -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 44590 invoked from network); 12 Aug 2003 09:37:58 -0000 Received: from gate.corvil.net (HELO corvil.com) (213.94.219.177) by daedalus.apache.org with SMTP; 12 Aug 2003 09:37:58 -0000 Received: from preilly.local.corvil.com (preilly.local.corvil.com [172.18.1.173]) by corvil.com (8.12.9/8.12.5) with ESMTP id h7C9cB13027535 for ; Tue, 12 Aug 2003 10:38:11 +0100 (IST) (envelope-from peter.reilly@corvil.com) From: peter reilly Organization: corvil To: Ant Users List Subject: Re: Properties with spaces in via a wrapper script Date: Tue, 12 Aug 2003 10:45:04 +0100 User-Agent: KMail/1.5 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200308121045.04244.peter.reilly@corvil.com> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N This works with the std distribution ant -Dt='this is a property with spaces' (linux - ant 1.5.3 and ant 1.6 alpha) Peter On Tuesday 12 August 2003 10:34, Tim Gordon wrote: > It's not something that ships with ANT - just my own wrapper, grown from > the original ANT one, which doesn't work with my UWIN ksh. > > What happens is that -Dx="some thing" and "-Dx=some thing" both end up as > > -Dx=some thing > > inside the script, before it's passed to the java invocation which fires > off ANT itself. > > I've got to use spaces - I'm trying to pass things through to another java > invocation which will in turn parse the command line - changing this isn't > an option for me. I'm starting to get the fear! > > -----Original Message----- > From: Stefan Bodewig [mailto:bodewig@apache.org] > Sent: 12 August 2003 10:27 > To: user@ant.apache.org > Subject: Re: Properties with spaces in via a wrapper script > > On Tue, 12 Aug 2003, Tim Gordon wrote: > > ant.sh target -Dproperty="some thing" > > Does > > ant.sh target "-Dproperty=some thing" > > work? > > BTW, what is ant.sh? Nothing that ships with Ant, is it? > > Stefan > > --------------------------------------------------------------------- > 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 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org