ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kermitt <>
Subject Re: [DISCUSS] EasyAnt: Ant based pre packaged build system for java projects
Date Thu, 10 Jan 2008 19:16:10 GMT

I wish we could find a way to bundle common tasks : I have more than 9
templates : 


These builds just formalize my build system based on Ivy.
For each project I need to sync those files which is a pain within a team.
How to enforce team to use your  build process, how do you easly patch, add
feature. It's puzzling me. Today I need to copy paste all these files all
over my projects. 

I think Ivy dictate somehow the build process as you always need to perform
some tasks configure/resolve/cachepath... 

My common-build.xml has 9 visible targets:

all -> clean , build , package , publish 
build -> init ivy -> resolve -> compute classpath -> do I have something to
build ? (has dependencies  changed? files ?)  -> find what is the next
release -> compile 
clean -> clean any generated files 
doc -> build any doc 
package -> make a jar 
publish -> get current ivy version -> publish jar on local repo
share -> publish jar on integration repo
release -> publish jar in test/prod repo
test -> lauch unit tests

I wish Ant import would support URL + jar like that :

<project ...>
   <import url="http://repo/build.jar!common-build.xml"/>

As ivy became a sub project, it would make sense to have a closer
integration like :

<project ...>
   <import url="ivy://settings.xml:org/module/artifact@MyResolver" />
would locate the settings.xml file and seek a build-common.xml file using
MyResolver resolver. 

we could imagine deeper integration :

<project ...>
   <import url="ivy://settings.xml:org/module/artifact@MyResolver"
configure ivy / read the ivy file 
would map each ivy configuration to a path ( path could use a lazy resolve
proxy: resolve only when it get used)
would import resolved artifcat as an ant build file 


I think is not easy to not like maven ... but Xavier is right it's time to
go a step beyond with ant+ivy

So any comments on that ? 

View this message in context:
Sent from the Ant - Dev mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message