Qamar,

we don't have namespace support for importing an Ant build yet - see
http://issues.gradle.org/browse/GRADLE-771.

If you can get away with importing the Ant build into a separate project, go
for it. This should also work if the build.xml is located in the "main"
project. In that case you can do something like:

project(":ant") {
  ant.importBuild "../build.xml"
}

--
Peter Niederwieser
Principal Engineer, Gradleware 
http://gradleware.com
Creator, Spock Framework 
http://spockframework.org
Twitter: @pniederw

--
View this message in context: 
http://gradle.1045684.n5.nabble.com/Accessing-ant-build-xml-from-gradle-tp4650344p4658504.html
Sent from the gradle-user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to