ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Rettig <mike.ret...@gmail.com>
Subject Adding Jar support to the import task
Date Fri, 06 May 2005 16:56:17 GMT
All,

Does the current import task support importing build xml's from jar
files? I haven't found any examples and the source doesn't look like
it supports this.

Can this be added? This would make creating reusable builds much easier.

example:

<project name="my.project">
  <property name="dir.source" value="src/java"/>
  <import jar="lib/my.build.system.jar" file="buildfiles/default-build.xml"/>
</project>

I currently work on a large project that has about 30 different
builds. Reusing build files has been difficult. We already have a
system that allows us to publish and reuse jars across builds, so this
seems like the logical way to reuse the build files.

Ultimately, this seems like a reasonable way for people to build
standard build files to be distributed to the masses.  For instance,
you could do a maven clone as a set of imported build files from a
jar.

<project name="my.project">
  <import jar="lib/maven-clone-1.0.jar" file="buildfiles/default-build.xml"/>
</project>

I can provide help for developing and testing. The implementation
shouldn't be difficult.

Thoughts? Comments?

Regards,

Mike Rettig

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


Mime
View raw message