RE: exec task with bad args

2002-11-19 Thread Euan Guttridge
Thanks, worked fine; -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED]] Sent: 19 November 2002 12:24 To: [EMAIL PROTECTED] Subject: Re: exec task with bad args "|" is just another way of shell

Re: exec task with bad args

2002-11-19 Thread Stefan Bodewig
"|" is just another way of shell redirects: Stefan -- To unsubscribe, e-mail: For additional commands, e-mail:

exec task with bad args

2002-11-19 Thread Euan Guttridge
*This works fine:* *Add a pipe to wc -l and it falls over with error as below:* *Error* [echo] /usr/bin/find: paths must precede expression [echo] Usage: /usr/bin/find [path...] [expression] Any

Re: expanding fileset to args for java-task

2002-11-06 Thread Erik Hatcher
time available, willingness to learn something new, etc... Good luck, --DD -Original Message- From: Jan Heise [mailto:jan@;janheise.de] Sent: Wednesday, November 06, 2002 11:27 AM To: [EMAIL PROTECTED] Subject: Q: expanding fileset to args for java-task hi all, perhaps this is a simpl

Re: Q: expanding fileset to args for java-task

2002-11-06 Thread Anakreon Mejdi
apply task may be what you need. I have a target to create all stored procedures, views , tables,... in a SQL Server db. This is the target, if you need an example: description="Creates the stored procedures and views"> parallel="false" skipemptyfilesets="true" t

RE: expanding fileset to args for java-task

2002-11-06 Thread Dominique Devienne
the build file. It's all a matter of choice, time available, willingness to learn something new, etc... Good luck, --DD -Original Message- From: Jan Heise [mailto:jan@;janheise.de] Sent: Wednesday, November 06, 2002 11:27 AM To: [EMAIL PROTECTED] Subject: Q: expanding fileset to args fo

Q: expanding fileset to args for java-task

2002-11-06 Thread Jan Heise
hi all, perhaps this is a simple/silly question but I haven't found an answer so far. I want to do the following: say i have a java task like: this tool supports a list of files as input from the command line, so obviously I want to do something like this: I am searc

Re: quotes in args for exec

2002-07-30 Thread Nathan Coast
> > ... or you use the value attribute instead of line - which I did in > my response. > oops should've read your response more thoroughly. yes it works. thanks Nathan -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: quotes in args for exec

2002-07-30 Thread Stefan Bodewig
On Tue, 30 Jul 2002, Nathan Coast <[EMAIL PROTECTED]> wrote: > quotes only seem to be passed within arg elements if your arg > contains a space ... or you use the value attribute instead of line - which I did in my response. [bodewig@bodewig tmp]$ cat quotes.xml

Re: quotes in args for exec

2002-07-30 Thread Nathan Coast
Hi, I tried this but no difference. quotes only seem to be passed within arg elements if your arg contains a space. Check the post I just made in the same thread. thanks Nathan Stefan Bodewig wrote: > On Mon, 29 Jul 2002, Nathan Coast <[EMAIL PROTECTED]> > wrote: > > >> > > > should be >

Re: quotes in args for exec

2002-07-30 Thread Nathan Coast
OS is Windows 2000 > [exec] bin\test.bat "hello world" > Execute:Java13CommandLauncher: bin\test.bat "hello world" > [exec] arg1 is #"hello world"# > > > -Original Message- > From: Nathan Coast [mailto:[EMAIL PROTECTED]] > Sent: 29 July 2002 0

Re: quotes in args for exec

2002-07-30 Thread Stefan Bodewig
On Mon, 29 Jul 2002, Nathan Coast <[EMAIL PROTECTED]> wrote: > should be Stefan -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: quotes in args for exec

2002-07-29 Thread Nathan Coast
Windows 2000 > [exec] bin\test.bat "hello world" > Execute:Java13CommandLauncher: bin\test.bat "hello world" > [exec] arg1 is #"hello world"# > > > -Original Message- > From: Nathan Coast [mailto:[EMAIL PROTECTED]] > Sent: 29 July 2002 05:51 PM >

RE: quotes in args for exec

2002-07-29 Thread Geoff Meakin
xec] arg1 is #"hello world"# -Original Message- From: Nathan Coast [mailto:[EMAIL PROTECTED]] Sent: 29 July 2002 05:51 PM To: Ant Users List Subject: Re: quotes in args for exec Hi, thanks, yes I had seen your first comment and I can confirm that the mix of both relative and absolute

Re: quotes in args for exec

2002-07-29 Thread Nathan Coast
unfortunately the same problem arises. If I want to execute the java cmd com.sun.jwsdp.launcher.XRPCCExecutable directly I still need to pass arguments using the elements containing quotes. And the arg elements seems to strip out quotes :( Jeremy Kuhnash wrote: > To get yourself rolling on

Re: quotes in args for exec

2002-07-29 Thread Nathan Coast
> 2nd you can use line='"blah"' if you want to (i.e. single quotes for XML and > embedding normal quotes > in them), though as far as I know " is also a valid syntax, so this whatever I seem to put in the arg tag for quotes, they seem to dissapear before constructing the command :( -- To unsub

Re: quotes in args for exec

2002-07-29 Thread Nathan Coast
e. single quotes for XML and > embedding normal quotes > in them), though as far as I know " is also a valid syntax, so this > leads me to suspect > the first point instead. > > Cheers > -Geoff > > > -Original Message- > From: Nathan Coast [mailto:[

RE: quotes in args for exec

2002-07-29 Thread Geoff Meakin
ow " is also a valid syntax, so this leads me to suspect the first point instead. Cheers -Geoff -Original Message- From: Nathan Coast [mailto:[EMAIL PROTECTED]] Sent: 29 July 2002 04:57 PM To: Ant Users List Subject: quotes in args for exec Hi, I need to get quotes in arguments to an ex

Re: quotes in args for exec

2002-07-29 Thread Jeremy Kuhnash
To get yourself rolling on the real task at hand, I would say to write a task that performs whatever the .bat does and go from there, Jetspeed build.xml runs Tomcat in this manner instead of exec'ing the run.sh Cheers, Jeremy At 04:57 PM 7/29/2002 +0100, you wrote: >Hi, > >I need to get quote

quotes in args for exec

2002-07-29 Thread Nathan Coast
Hi, I need to get quotes in arguments to an exec command. In order for the command to work, the -classpath argument needs to be in quotes. Don't ask me why, it just does :) this is what I have in my build.xml but as you can see fr

Re: referring to cmd-line args

2002-05-29 Thread Diane Holt
--- Uro¹_Jurgliè <[EMAIL PROTECTED]> wrote: > How can I in build.xml refer to cmd-line arguments after target name? I > want to run 'ant run arg1 arg2' that would run apropriate command with > given args. Is this possible? Ant uses properties -- define a property, using

referring to cmd-line args

2002-05-29 Thread Uroš Jurglič
How can I in build.xml refer to cmd-line arguments after target name? I want to run 'ant run arg1 arg2' that would run apropriate command with given args. Is this possible? Greeting. Uros.

Re: Number of Args to Java Task

2002-01-21 Thread Jack J. Woehr
"Jack J. Woehr" wrote: > I'd like to make a Java executor target to unit execute code within our byzantine >classpath. > > However, if I do: > > > classpathref="library.classpath.unitexec"> > > > > > Oops, found the attribute line= to the element. ``Never mind''

Number of Args to Java Task

2002-01-21 Thread Jack J. Woehr
I'd like to make a Java executor target to unit execute code within our byzantine classpath. However, if I do: and those args aren't present, of course I have trouble with some classes, null args. How do I make a target that can accept (via pro

Re: Javac Args?

2001-09-03 Thread Sánchez
   Thanks Diane!!   Diane Holt <[EMAIL PROTECTED]> wrote: The -d flag is covered by the "destdir" attribute -- just point that tothe directory you want your classfiles to go to.Diane--- Edgar Sánchez <[EMAIL PROTECTED]>wrote:> Hi everyone!!.....> > Co

Re: Javac Args?

2001-09-03 Thread Diane Holt
The -d flag is covered by the "destdir" attribute -- just point that to the directory you want your classfiles to go to. Diane --- Edgar Sánchez <[EMAIL PROTECTED]> wrote: > Hi everyone!!. > > Could the

Javac Args?

2001-09-03 Thread Sánchez
Hi everyone!!. Could the tag have args? like the... coz i want to use "-d ." as in the following line... "javac path\*.java -d ." this can be executed in a DOS command line. Is kinda funny, when I execute the java

RE: Re: The args attribute is deprecated

2001-08-26 Thread cnsxxx09
iginal Message - >> From: "Edgar S?nchez" <[EMAIL PROTECTED]> >> To: <[EMAIL PROTECTED]> >> Sent: Saturday, August 25, 2001 3:33 AM >> Subject: The args attribute is deprecated >> >> >> > > > args="

Re: The args attribute is deprecated

2001-08-25 Thread Sánchez
Thanks Nico!! --- Nico Seessle <[EMAIL PROTECTED]> wrote: > - Original Message - > From: "Edgar Sánchez" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Saturday, August 25, 2001 3:33 AM > Subject: The args attribute is deprecated &g

Re: The args attribute is deprecated

2001-08-24 Thread Nico Seessle
- Original Message - From: "Edgar Sánchez" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, August 25, 2001 3:33 AM Subject: The args attribute is deprecated > args=" -classpath ${CLASSPATH} arqEJB1.jar > appServer/${NOMBRE_JA

The args attribute is deprecated

2001-08-24 Thread Sánchez
Hi all.. Now I get it, well somethings, I need more practice with Ant :-) I have my build running the following line When my build gets this line the next message on my cmd window came out: [java] The args attribute is deprecated. Please use nested arg elements

Re: how to pass args to xml

2001-07-11 Thread Stefan Bodewig
On Thu, 12 Jul 2001, Detlef Brendle <[EMAIL PROTECTED]> wrote: > how can I pass command line parameters to the ant script ? I want > to use a cvs command to release versions. I would like to pass the > release tag as argument to the xml target. use a property ant -Dtag=my_tag and use ${tag} i

how to pass args to xml

2001-07-11 Thread Detlef Brendle
how can I pass command line parameters to the ant script ? I want to use a cvs command to release versions. I would like to pass the release tag as argument to the xml target. how can I do this? detlef

Re: exec task args

2001-06-19 Thread Bill . J . Fellows
ECTED]] Sent: Monday, June 18, 2001 7:42 PM To: ant-user Cc: rjohn Subject: Re: exec task args 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 a

Re: exec task args

2001-06-18 Thread Ruby John
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.

RE: exec task args

2001-06-18 Thread Conor MacNeill
Run ant with the -v flag, or the -debug flag to see some indications of what Ant is up to. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, 19 June 2001 10:42 AM > To: [EMAIL PROTECTED] > Subject: Re: exec task args &g

Re: exec task args

2001-06-18 Thread Larry V. Streepy, Jr.
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

Re: exec task args

2001-06-18 Thread Ruby John
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

Re: exec task args

2001-06-18 Thread Larry V. Streepy, Jr.
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? > >

exec task args

2001-06-18 Thread Ruby John
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. begin:vcard n:John;Ruby te

Re: args

2001-05-31 Thread Stefan Bodewig
Brett Knights <[EMAIL PROTECTED]> wrote: > Does anyone know if there is a way to do this? AFAIK there is none. > If so do you have any other suggestions for the syntax? ? Looks ugly, but would work. Stefan

args

2001-05-29 Thread Brett Knights
hi, I need to call an executable (isql) where it expects the script file name as follows: isql /dDBName /iSrcFile I tried the following:

Fwd: Need help with args to exec command

2001-05-18 Thread David Rosenstrauch
PROTECTED] >From: David Rosenstrauch <[EMAIL PROTECTED]> >Subject: Need help with args to exec command > >Help! > >Trying to execute a DOS command like this from my build.xml: > >v:\netscapesigning\signing13\signtool.exe -e".class" > >

Re: Need help with args to exec command

2001-05-18 Thread Ian McFarland
Um, try: ? I mean I'm just taking a shot in the dark, but maybe if you figure out the right escape sequence... Sounds definitely like a bug, in any case. -Ian On Friday, May 18, 2001, at 11:01 AM, David Rosenstrauch wrote: Help! Trying to execute a DOS command like this from my build.xml:

Need help with args to exec command

2001-05-18 Thread David Rosenstrauch
Help! Trying to execute a DOS command like this from my build.xml: v:\netscapesigning\signing13\signtool.exe -e".class" I tried doing this: But no dice. Verbose output shows the command being generated as: v:\netscapesigning\signing13\signtool.exe -e.class Quotes are missing.

Re: fileset to gen args for java task ?

2001-03-22 Thread Diane Holt
Kai, If you're using Ant1.3, you should look into just adding support for the aspectj compiler to the reworked task -- take a look at Jikes.java and Jvc.java in the CVS tree (in .../taskdefs/compilers). Diane --- Kai Bartels <[EMAIL PROTECTED]> wrote: > Hi there! > > (NB: I searched the ml ar

fileset to gen args for java task ?

2001-03-22 Thread Kai Bartels
Hi there! (NB: I searched the ml archive for an answer but didn't find one.) Background: I'd like to have the aspectj compiler started by ant. I thought about using the java task to start the aspectj compiler. The compiler needs a full list of source files to compile as command line arguments.

RE: ExecOn args

2000-12-29 Thread Marvin Greenberg
] Subject: Re: ExecOn args > I am using ExecOn task, but the executable required arguments after the > filename. Can it be done? Thanks. Khiet. ExecOn uses the nested argument . e.g .. Take a look at the manual. It's available at http://jakarta

Re: ExecOn args

2000-12-29 Thread Stefan Schmitt
> I am using ExecOn task, but the executable required arguments after the > filename. Can it be done? Thanks. Khiet. ExecOn uses the nested argument . e.g .. Take a look at the manual. It's available at http://jakarta.apache.org/ant/jakarta-ant/docs/ Yo

ExecOn args

2000-12-22 Thread Tran Thanh Khiet
Hi, I am using ExecOn task, but the executable required arguments after the filename. Can it be done? Thanks. Khiet. ___ Tran Thanh Khiet email - [EMAIL PROTECTED] icq# - 23377467

RE: depricated "args" vs. current "arg" in java command

2000-12-19 Thread Chris Hall
Title: RE: depricated "args" vs. current "arg" in java command > -Original Message- > From: Stefan Schmitt [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 19, 2000 6:50 AM > To: [EMAIL PROTECTED] > Subject: Re: depricated "args" vs

Re: depricated "args" vs. current "arg" in java command

2000-12-19 Thread Stefan Schmitt
From: "Stefan Bodewig" <[EMAIL PROTECTED]> Subject: Re: depricated "args" vs. current "arg" in java command > well, you are right, and I can't remember the original post, but Pete's > version would be the analog of the old args attribute

Re: depricated "args" vs. current "arg" in java command

2000-12-19 Thread Stefan Bodewig
> > I don't think so. This separates the "-dir ${basedir}/${build.dir}" > command into two commands ("-dir" and "${basedir}/${build.dir}"). well, you are right, and I can't remember the original post, but Pete's version would be the analog of the old

Re: depricated "args" vs. current "arg" in java command

2000-12-19 Thread Stefan Schmitt
From: "Peter Donald" <[EMAIL PROTECTED]> Sent: Thursday, December 14, 2000 12:59 AM > I think the line > > should be split into 2 lines > > I don't think so. This separates the "-dir ${basedir}/${build.dir}" command into two commands ("-dir" and "${basedir}/

Re: depricated "args" vs. current "arg" in java command

2000-12-13 Thread Peter Donald
At 01:07 13/12/00 -0500, Chris Hall wrote: > fork="true" >classpath="${classpath}"> > > > I think the line should be split into 2 lines Cheers, Pete *

RE: depricated "args" vs. current "arg" in java command

2000-12-13 Thread Hall, John
Title: depricated "args" vs. current "arg" in java command Have you looked at the ddcreator task? It's an optional ejb task.   john -Original Message-From: Chris Hall [mailto:[EMAIL PROTECTED]]Sent: Wednesday, December 13, 2000 11:08 AMTo: &

Re: depricated "args" vs. current "arg" in java command

2000-12-13 Thread Diane Holt
--- Chris Hall <[EMAIL PROTECTED]> wrote: > Try: Diane = ([EMAIL PROTECTED]) __ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/

depricated "args" vs. current "arg" in java command

2000-12-13 Thread Chris Hall
Title: depricated "args" vs. current "arg" in java command I just upgraded to Ant 1.2 and am having some trouble taking our old "args" parameters and converting them to "arg" parameters. Specifically this is part of our old build file (that still work

RE: Passing command line args to javac

2000-12-11 Thread Peter Donald
At 12:56 12/12/00 -0500, Michael Farmer wrote: >I had to abandon the tag and do it directory with (or > if required). >There may be a better solution, if so, I would like to hear it... Set the ANT_OPTS variable before executing ant to give ant a bucketload of memory which will be inherited by

RE: Passing command line args to javac

2000-12-11 Thread Michael Farmer
: Passing command line args to javac Hi, Having memory issues compiling with Javac. I need to be able to pass the -J-XmsXXm command line arg to javac. Can someone help me with how that is done through an ant build file. many thanks

RE: Passing command line args to javac

2000-12-10 Thread Conor MacNeill
MacNeill [EMAIL PROTECTED] Cortex eBusiness http://www.cortexebusiness.com.au > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Saturday, 9 December 2000 3:20 > To: [EMAIL PROTECTED] > Subject: Passing command line args to javac > > &