Re: Needs clarification on nested behavior

2010-11-24 Thread efe4it
Added Link to Bug report: https://issues.apache.org/bugzilla/show_bug.cgi?id=50193 -- View this message in context: http://ant.1045680.n5.nabble.com/Needs-clarification-on-nested-import-include-behavior-tp3237790p3279110.html Sent from the Ant - Users mailing list archive at Nabble.com. -

Re: Using shell command in ANT script

2010-11-24 Thread David Weintraub
On Wed, Nov 24, 2010 at 12:33 PM, Ludwig, Michael wrote: > It's , not . > > And you could also use : Thanks for that tip of . You can also use the to remove directory names if you so choose: That should be able to replace t

Re: Using shell command in ANT script

2010-11-24 Thread Dominique Devienne
On Wed, Nov 24, 2010 at 3:48 AM, wrote: > I want to use the following shell command in my build.xml file > ls -l ../../../jobs/ | awk '{ print $9 }' > content.txt AFAIK, the 9th field of ls -l is the filename, so your "ls -l path | awk '{ print $9 }'" is better replaced with simply "ls -1". The

virtual module install in repositories?

2010-11-24 Thread Hiller, Dean (Contractor)
I was reading about the virtual module and it sounds like exactly what I need to create a package that other projects would be using and would depend on. How would I do the ant piece with ivy tasks to install into the repository? Is it the same as any other modules even though there is no arti

RE: Using shell command in ANT script

2010-11-24 Thread Ludwig, Michael
> > > > > > > It's , not . And you could also use : You'll probably get absolute pathnames then. (At least that's what I get.) Michael - To unsubscribe, e-m

Re: Using shell command in ANT script

2010-11-24 Thread David Weintraub
> Hi All, > > I want to use the following shell command in my build.xml file > > ls -l ../../../jobs/ | awk '{ print $9 }' > content.txt The problem is that your particular command requires two shells. When you pipe the output of the "ls" command to the "grep" command, you literally need two execu

Re: Using shell command in ANT script

2010-11-24 Thread Sony Antony
Put the command inside a shell script and exec the shell script from your build.xml --sony On Wednesday, November 24, 2010, Tim Visher wrote: > On Wed, Nov 24, 2010 at 4:48 AM,   wrote: >> I want to use the following shell command in my build.xml file >> >> ls -l ../../../jobs/ | awk '{ print $9

Re: Using shell command in ANT script

2010-11-24 Thread Tim Visher
On Wed, Nov 24, 2010 at 4:48 AM, wrote: > I want to use the following shell command in my build.xml file > > ls -l ../../../jobs/ | awk '{ print $9 }' > content.txt > > is there any way I can use the above mentioned command. Read up on [Exec](http://ant.apache.org/manual/Tasks/exec.html). -

Using shell command in ANT script

2010-11-24 Thread jhoomsharabi
Hi All, I want to use the following shell command in my build.xml file ls -l ../../../jobs/ | awk '{ print $9 }' > content.txt is there any way I can use the above mentioned command. Can anyone help me out in this regard? Thanks, Saha