RE: Command Line Arguments

2002-09-09 Thread Geoff Meakin
Or this: Note: I would use input@message, but there appears to be a bug in my version of ANT and this doesnt do anything Cheers -Geoff -Original Message- From: William Gustave [mailto:[EMAIL PROTECTED]] Sent: 06 September 2002 08:16 PM To: ANT (E-mail) Subject: Command Line

RE: Command Line Arguments

2002-09-09 Thread Geoff Meakin
Do you mean doing this: ant -Dsrc=SourceCode -Dbuild=classes -Ddist=dist Ddoc=doc ?? Cheers -Geoff -Original Message- Is it possible to set the Global Variables from the command line in an Ant build file. I am using the tag and I just don't see how in the Ant tutorial to do this. I

Command Line Arguments

2002-09-08 Thread William Gustave
Is it possible to set the Global Variables from the command line in an Ant build file. I am using the tag and I just don't see how in the Ant tutorial to do this. I have pasted the code below. Enhanced Magazine Site build file T

passing all command line arguments from ant to something else

2002-07-29 Thread Mike Charters
hi, I wonder if there is an easy way of passing all of the command line arguments from ant to a script that you run via ant. The java program I am working on does its own command line parameter processing ... and the only way of passing parameters I know of is to do something like: ant run

Re: Command Line Arguments - java with quotes around an arg

2002-05-16 Thread Stefan Bodewig
On Thu, 16 May 2002, robert rowntree <[EMAIL PROTECTED]> wrote: > solved by changing the element from "arg" to "jvmarg" What you really want to use, is : and so on. Stefan -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: Command Line Arguments - java with quotes around an arg

2002-05-16 Thread Dan Christopherson
Try using jvmarg rather than arg. Don't worry about the quotes, you shouldn't need them. -danch robert rowntree wrote: > i can't figure out the quotes issue at all for a Java command. > > i need "-DxmlFile=rpcServiceProperties.xml" with the quotes in the java > command line > > using Ant con

Command Line Arguments - java with quotes around an arg

2002-05-16 Thread robert rowntree
solved by changing the element from "arg" to "jvmarg" when i did this, the entire quote issue became moot. see build.xml and sysout from the build.xml *** ** from sysout when the "Test" target was run parsing buildfile

Re: Command Line Arguments - java with quotes around an arg

2002-05-16 Thread Diane Holt
--- robert rowntree <[EMAIL PROTECTED]> wrote: > i need "-DxmlFile=rpcServiceProperties.xml" with the quotes in the java > command line [snip] > *** ANT Syntax that I tried *** > > Are you sure about this one? I tried it with a little test that checks if args[0] starts with a double-quote

Command Line Arguments - java with quotes around an arg

2002-05-16 Thread robert rowntree
i can't figure out the quotes issue at all for a Java command. i need "-DxmlFile=rpcServiceProperties.xml" with the quotes in the java command line using Ant constructions at the bottom, i can only get ANT to produce the following 2 syntax , both wrong: #1 -DxmlFile=rpcServiceProperties.xml

Re: COMMAND LINE ARGUMENTS

2002-01-30 Thread Diane Holt
--- Pravin Pillai <[EMAIL PROTECTED]> wrote: > Is there any way I can pass command-line arguments to ant. > > Let me explain my problem: > > My directory structure is > > > |---Dir_1 > | > Base_Dir-|---Dir_2 >

Re: COMMAND LINE ARGUMENTS

2002-01-30 Thread KC Baltz
1:35 AM 1/30/02, you wrote: >Guys, > >Is there any way I can pass command-line arguments to ant. > >Let me explain my problem: > >My directory structure is > > > |---Dir_1 > | >Base_Dir-|---Dir_2 > | > |

Re: COMMAND LINE ARGUMENTS

2002-01-30 Thread Gurdev Parmar
Why don't you have different targets doing different deploys? Gurdev - Original Message - From: "Pravin Pillai" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Wednesday, January 30, 2002 11:35 AM Subject: COMMAND LINE ARGUMENTS

COMMAND LINE ARGUMENTS

2002-01-30 Thread Pravin Pillai
Guys, Is there any way I can pass command-line arguments to ant. Let me explain my problem: My directory structure is |---Dir_1 | Base_Dir-|---Dir_2 | |---Dir_3 I have my build.xml in the Base_Dir from where i wud be running ant

Re: trying to check 3 command-line arguments passed to my build

2001-08-23 Thread Erik Hatcher
oing. Erik - Original Message - From: "Edgar Sánchez" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 23, 2001 4:22 PM Subject: trying to check 3 command-line arguments passed to my build >Hi everyone.. > > first of all, thank you for

RE: trying to check 3 command-line arguments passed to my build

2001-08-23 Thread Bill . J . Fellows
much Raid. /bill -Original Message- From: vesanchez [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 23, 2001 6:23 PM To: ant-user Cc: vesanchez Subject: trying to check 3 command-line arguments passed to my build Hi everyone.. first of all, thank you for all your help. s

trying to check 3 command-line arguments passed to my build

2001-08-23 Thread Sánchez
Hi everyone.. first of all, thank you for all your help. second The follow command line arguments are correct in order to by passed to my build file? ant -Darg1=data1,arg2=data2 or do I need to put a "-D" every time I want to send the next argument?? How do

RE: [antlist] property values and command line arguments

2001-08-01 Thread Conor MacNeill
y values and command line arguments > > > Target "foo" requires property value "bar". > Property "bar" is meant to be specified through the command line. > However, I want to provide a default value in target "init". Is > this valid?

RE: [antlist] property values and command line arguments

2001-08-01 Thread Jason Rogers
roperty values and command line arguments > > > Target "foo" requires property value "bar". > Property "bar" is meant to be specified through the command line. > However, I want to provide a default value in target > "i

[antlist] property values and command line arguments

2001-08-01 Thread T Master
Target "foo" requires property value "bar". Property "bar" is meant to be specified through the command line. However, I want to provide a default value in target "init". Is this valid? Is there precendence of one over the other? Would the command line value overwrite the default as desired? T

Reading command line arguments

2001-07-03 Thread Sivaprasad . Kancherla
How do I read command line arguments in Ant? More details: I want to get a specific version of code in the VSS (using labelling) and the Ant needs to compile all the code. I will have to pass the version information as a command line argument when I invoke Ant. I have other similar requirements

Re: Command line arguments

2001-05-24 Thread Larry V. Streepy, Jr.
>From the documentation, it would appear that you can construct arguments one at a time, so as to include spaces, like this: Also, (from the source code) you can do this: Note that I have not tried either of these but they seem correct from the source code and the documenta

RE: Command line arguments

2001-05-24 Thread O'Hara, Patrick
Title: RE: Command line arguments use " -Original Message- From: Ramasubbu, Hari [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 24, 2001 3:22 PM To: Ant-User@Jakarta. Apache. Org (E-mail) Subject: Command line arguments Need help please How do i include a string

Command line arguments

2001-05-24 Thread Ramasubbu, Hari
Need help please How do i include a string with double quotes in arg line property. some thing like this. thanks :) hari

Re: command-line arguments

2001-04-04 Thread Bill Burton
Hello, Yes, I have been thinking along the same lines. You don't have to modify Main to support this. Write a simple class that parses the command line arguments setting the result as System properties or generates -D options for passing to Ant. Then invoke org.apache.tools.ant.Main

Re: command-line arguments

2001-04-04 Thread Andrew . Goodnough
quot;Halim, Salman" To: "'[EMAIL PROTECTED]'" tone.com>cc:

command-line arguments

2001-04-04 Thread Halim, Salman
hi, i have started using ant quite recently -- we're thinking of using its platform independent features to replace batch files and shell scripts (in part) rather than as an installation tool. toward that end, i wanted to modify the org.apache.tools.ant.Main class to set all command-line paramet