ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sahan Maldeniya <smalden...@gmail.com>
Subject Re: Command-Line execution of a third-party task
Date Fri, 23 Mar 2012 05:54:29 GMT
you can use ant taskdef tag to invoke other 3rd party tools.
I have used ant taskdef to invoke hibernatetools once in my project

i hope you can get an idea from these articles
http://ant.apache.org/manual/Tasks/taskdef.html
http://ant.apache.org/manual/develop.html


regards.

On Fri, Mar 23, 2012 at 8:14 AM, Mike Van <mvangeertruy@comcast.net> wrote:

> How would you execute a third-party-task from the command-line?
> Specifically, I would like to execute the sonar-ant-task from the
> command-line on a project with an existing build.xml file. Unfortunately,
> editing the parent build.xml file isn't an option because of the 60+
> modules
> and thier sub-modules in the application.  I have seen that the
> sonar-maven-plugin can be executed from the command line using the
> following:
> mvn -e org.codehaus.mojo:sonar-maven-plugin:1.0:sonar
>
> 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?
>
> --
> View this message in context:
> http://ant.1045680.n5.nabble.com/Command-Line-execution-of-a-third-party-task-tp5588338p5588338.html
> Sent from the Ant - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>


-- 
*
*
*Sahan Maldeniya.*
*
About me <http://about.me/sahanlm>.*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message