Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 62917 invoked by uid 500); 19 Jun 2001 02:45:34 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 62908 invoked from network); 19 Jun 2001 02:45:33 -0000 Sender: rjohn@houston.geoquest.slb.com Message-ID: <3B2EBCD0.B3C7DED1@houston.geoquest.slb.com> Date: Mon, 18 Jun 2001 21:45:36 -0500 From: Ruby John Organization: Schlumberger/GeoQuest (Interpretation Engineering) X-Mailer: Mozilla 4.75 [en] (X11; U; SunOS 5.6 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: ant-user@jakarta.apache.org Subject: Re: exec task args References: <3B2E99EC.DA9AC59A@houston.geoquest.slb.com> <3B2E9B91.4C56B6DA@healthlanguage.com> <3B2E9FED.B2F0EE43@houston.geoquest.slb.com> <3B2EAF11.83025D53@healthlanguage.com> Content-Type: multipart/mixed; boundary="------------B8AC6054E5876934F47B8EDA" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N This is a multi-part message in MIME format. --------------B8AC6054E5876934F47B8EDA Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Ok, the -D input had a typo in it. It's working now. Thanks. "Larry V. Streepy, Jr." wrote: > I would run ant -debug so you can see exactly how the properties are > being set and what the resulting exec command is. > > I'm assuming that you're invoking ant something like this: > > ant -Dsome.path=/some/path -Dsome.value=some_value > > Correct? > > Ruby John wrote: > > > > I am trying to integrate ant with our proprietary tools which I intend to > > call from the ant build.xml. > > I want to specify the work areas to create for fetching source and building > > as command line arguments to ant. > > The program that I am uting is complaining about the invalid > > character: "{" which it should not be seeing. > > > > I am a brand new user so I may not be doing something basic. > > > > "Larry V. Streepy, Jr." wrote: > > > > > If you're defining both some.path and some.value using -D flags to ant, > > > then what you wrote should work fine. Can you be a little more detailed > > > on what you want to accomplish? > > > > > > Ruby John wrote: > > > > > > > > How do I get property or path variables to be expanded when passing > > > > arguments to a task? > > > > > > > > Seems it is being passed as a literal. > > > > > > > > I am giving these as "-D" parameters to ant trying to pass them on to > > > > another program. > > > > > > > > Thanks for your help. > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > Larry V. Streepy, Jr. > > > Chief Technical Officer and VP of Engineering > > > > > > Health Language, Inc. -- "We speak the language of healthcare" > > > > > > 970/626-5028 (office) mailto:streepy@healthlanguage.com > > > 970/626-4425 (fax) http://www.healthlanguage.com > > -- > Larry V. Streepy, Jr. > Chief Technical Officer and VP of Engineering > > Health Language, Inc. -- "We speak the language of healthcare" > > 970/626-5028 (office) mailto:streepy@healthlanguage.com > 970/626-4425 (fax) http://www.healthlanguage.com -- Ruby --------------B8AC6054E5876934F47B8EDA Content-Type: text/x-vcard; charset=us-ascii; name="rjohn.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Ruby John Content-Disposition: attachment; filename="rjohn.vcf" begin:vcard n:John;Ruby tel;fax:713.513.2022 x-mozilla-html:TRUE org:Schlumberger/GeoQuest;Geology, Geophysics, & Modeling adr:;;5599 San Felipe, Suite 1700;Houston;Texas;77056-2722;usa version:2.1 email;internet:rjohn@houston.geoquest.slb.com note:Main Switchboard : (713) 513-2000 x-mozilla-cpt:;22256 fn:Ruby John end:vcard --------------B8AC6054E5876934F47B8EDA--