Well....
I've been following Maven for a very long time, and was very impressed with the concept. I've tried to use it many times, but every time gave up due to bugs/problems etc.....
By now I've reached the conclusion that it has great functionality out of the box and a good concept, but the implementations just plain sucks.
So I've decided to duplicate ( and improve ) some of the good bits of those functionality as ant tasks :)
At the moment I have a depsfileset task, which replicates the automatic downloading of artifact dependencies that maven has, with some added extra:
- It supports "refs" dependencies. Those are basically an xml file, which itself contains a list of dependencies. So for example you wish to include Hibernate, which itself has lots of dependencies on common-* stuff. That way you'll just need to include ref='true', and have that file on the server containing the list of dependencies that file has.
- has a useCache attribute which allows to force him to allows download even if you already has the jarfile.
- support for multiple repositories ( including storing the cached files separately, to avoid conflicts. )
I've included at the bottom of this an example of how this works.
So I've decided to contribute this task to the Ant project, and as this is a new task (from what I read I'm not supposed to add it to bugzilla because of that) how do i do ? post it here on the mailing list ?
Also I'll be upgrading this task, and creating some other ones ( plugin-able repository implementation, and other Maven functionalities that would be nice to have )
------------
<deps:depsfileset id='projdeps'> <repository name='jguild' url='http://myrepos/repository'/> <dependency name='cocoon' version='2.1'/> <dependency name='servlet' version='2.3'/> <dependency name='hibernate' version='2.0' ref='true'/> <dependency name='someotherapp' version='latest' useCache='false'/> </deps:depsfileset>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]