ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <>
Subject Re: Calling built-in tasks from custom tasks
Date Wed, 11 Oct 2000 02:38:57 GMT
At 11:36  11/10/00 +1000, you wrote:
>Does anyone have an example of calling one task from inside another custom

Have a look at signjar task it does that.

>FWIW: We have a <java> task that takes, as an argument to the java program,
>a colon-separated list of elements (similar to, but not quite, a classpath).
>What I want to do is be able to write a wrapper task that allows us to use
>nested tags, like the classpath, to provide this argument. It's a lot easier
>to read a dozen or so lines of 40 chars each, than one line of 480 chars. I
>would like to call the java task within my custom task, as I have a need for
>a separate classpath. However, just instantiating the class doesn't seem to
>do the job...

yep this is easily doable.



| "Nearly all men can stand adversity, but if you want |
| to test a man's character, give him power."          |
|       -Abraham Lincoln                               |

View raw message