Re: Task from a task?

2001-05-02 Thread Stefan Bodewig
Jeffrey A. Kenward [EMAIL PROTECTED] wrote: What's the best way to invoke a task from another task? There are several tasks in Ant's module that actually do this - take a look at the (optional) RenameExtensions task that has been changed to completely rely on move in Ant 1.3. Stefan

RE: Task from a task?

2001-04-30 Thread Jeff Post
I believe he means that he wants to call an Ant task from within his own task: Not from within a target as you suggest. Yes? -Original Message- From: Kevin Cummings [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 1:58 PM To: [EMAIL PROTECTED] Subject: Re: Task from a task? ant

Re: Task from a task?

2001-04-30 Thread Kevin Cummings
Ooops, responded too quickly.. antcall target=copy/ At 03:57 PM 4/30/2001 -0500, you wrote: ant antfile=util.xml target=prepare / or ant antfile=util.xml/ At 04:52 PM 4/30/2001 -0400, you wrote: What's the best way to invoke a task from another task? For instance, I'm trying to write a task

Re: Task from a task?

2001-04-30 Thread Jeffrey A Kenward
Perhaps I was unclear. What I meant was to call 'ant' and I didn't know the directory it was in, but I knew what it was called. For instance, if I had build.xml in /x, and there was another created dynamically somewhere down in the directory tree, how would 'ant' find it? I'm trying to use the

RE: Re: Task from a task?

2001-04-30 Thread John . D . Casey
-Original Message- From: kenwardj [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 4:05 PM To: ant-user Cc: kenwardj Subject: Re: Task from a task? Perhaps I was unclear. What I meant was to call 'ant' and I didn't know the directory it was in, but I knew what it was called. For instance

Re: Task from a task?

2001-04-30 Thread Diane Holt
--- Jeffrey A Kenward [EMAIL PROTECTED] wrote: What's the best way to invoke a task from another task? For instance, I'm trying to write a task to search for build files further down in the build tree and invoke the ANT task on it once it's found. You could use the newly submitted (but not

Re: Task from a task?

2001-04-30 Thread Jeffrey A Kenward
I found foreach, (thank you Tim), and that's exactly what I plan to do. Also, I had to get Ant.java out of CVS to get around the 1.3 bug that was mentioned in ant-dev. Thinks are working great now. -Jeff Diane Holt wrote: --- Jeffrey A Kenward [EMAIL PROTECTED]> wrote: > What's the best way to