ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <ddevie...@gmail.com>
Subject Re: Command-Line execution of a third-party task
Date Fri, 23 Mar 2012 08:24:49 GMT
On Fri, Mar 23, 2012 at 3:44 AM, Mike Van <mvangeertruy@comcast.net> wrote:
> How would you execute a third-party-task from the command-line?
> [...]
> Is there a similar mechanism that could be used to pass in a 3rd party
> ant-task as an argument for an ant build along with its required properties?

I don't think there is, but it's an interesting idea. Might be used to
prototype build steps at the command line for example. And if you
continue that kind of thinking, lead up to a kind of Ant REPL.

It reminds me a bit of something I did in the past
(http://markmail.org/message/32zq2gviwqtq46z7) except here you don't
want positional arguments, but named ones.

I think you'd be limited to attributes of the task, unless -nest/attr
implicitly declared a nested element. (but then how to configure
several similarly named nested elements?)

Would make an interesting little project, although I'm not sure anyone
as enough of an itch to code that up. --DD

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message