This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Child pages
  • How to call Ant scripts
Skip to end of metadata
Go to start of metadata

How to call Ant scripts

To call an Ant script from Buildr, simply call Ant's main method using the Ruby-Java bridge (RJB):

define "my-project" do

 task :call_ant do
   p 'calling ant..' ['-file', 'build.xml', 'my-target'] )

And from the command-line you can call this task directly:

buildr my-project:call_ant
  • No labels