Please bump this. It contains various bug fixes.
+1 for this. Groovy 1.8 build depends on ant 1.8.2 (and a vast selection of ant-* utils). It would be nice to be able to get that new version on our systems...
I have read http://www.gentoo.org/proj/en/java/ant-guide.xml I have spent some time trying to fix this issue, but it's a bit hard for me because I don't really understand the concept behind the gentoo patching and I have nothing more than very basic knowledge of ant. Anyway, this package really should be bumped because of bug fixes and increased dependencies for features only in 1.8.2. Anyway, I hope someone with the right skills can have a look on this. It doesn't seem trivial to fix, but most of the chunks from the 1.8.1 patch seems to be applied and if you understand the rational behind the patching then it should be fixable.
Created attachment 290183 [details] updated build.xml to be included in ant-gentoo-1.8.2 here is an updated build.xml based on the build.xml contained in ant-gentoo-1.8.1.tar.bz2 and the official build.xml from ant 1.8.2. I basically applied every change between official ant 1.8.1 and 1.8.2 to the customized build.
Here is a tentative solution: I've attached an updated build.xml to be part of the to be created ant-gentoo-1.8.2.tar.bz2. The other content of ant-gentoo-1.8.1.tar.bz2 can stay the same. The only other change is to copy ant-core-1.8.1.ebuild to ant-core-1.8.2.ebuild and to the same thing for every ant-* package. I compared the files produced by ant-core 1.8.1 and ant-core 1.8.2 and it's the same set of files (except the html manual, which is located in different subdirectories of share/doc depending on the version).
*** Bug 392963 has been marked as a duplicate of this bug. ***
Created attachment 297477 [details] Almost working ant 1.8.2 ebuilds and distfiles I managed to get almost everything (except for ant-nodeps) working by copying 1.8.1 ebuilds and using Eric Le Lay's build.xml.
(In reply to comment #4) > Here is a tentative solution: I've attached an updated build.xml to be part of > the to be created ant-gentoo-1.8.2.tar.bz2. The other content of > ant-gentoo-1.8.1.tar.bz2 can stay the same. > The only other change is to copy ant-core-1.8.1.ebuild to ant-core-1.8.2.ebuild > and to the same thing for every ant-* package. > > I compared the files produced by ant-core 1.8.1 and ant-core 1.8.2 and it's the > same set of files (except the html manual, which is located in different > subdirectories of share/doc depending on the version). Changelog also says > * Removed ant-nodeps.jar; it is now merged into ant.jar. so I suppose ant-nodeps package is obsolete?
The generated 'ant.jar' lacks org.apache.tools.ant.util.depend, I suspect those are the nodeps classes that should have been moved into 'ant.jar'. first package that failed was ant-apache-bcel-1.8.2.ebuild where I altered the following line to make up for the change, but didn't succed: -java-pkg_jar-from ant-nodeps +java-pkg_jar-from ant-core @Hristo Venev: Please take a look at your ant.jar if it is the same for you, I also too the build.xml from here but it could also be an error in my ebuilds.
Any chance to get this version on Gentoo boxes? It is badly needed, for example for projects using HTML5 Boilerplate.
Created attachment 300297 [details] Almost working ant 1.8.2 ebuilds and distfiles OK. It's pretty much working. (ant-testutil fails)
ant-*-1.8.2 packages were masked in portage for preparation of bumping/testing it seems. :)
Sorry for letting you wait so shamefully long. I must make sure I'm not the single point of failure for this package for the future... I've also checked your attempts at the build.xml and it was quite close to what I did, good work! Hope it works fine.