Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 351850 - dev-java/ant-core-1.8.2 version bump
Summary: dev-java/ant-core-1.8.2 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement with 3 votes (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
: 392963 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-01-16 15:29 UTC by bugsgentoo
Modified: 2012-02-18 22:34 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
updated build.xml to be included in ant-gentoo-1.8.2 (build.xml,76.87 KB, application/xml)
2011-10-18 18:32 UTC, Eric Le Lay
Details
Almost working ant 1.8.2 ebuilds and distfiles (ant-1.8.2-almost.tar.bz2,23.67 KB, application/x-bzip)
2011-12-31 18:34 UTC, Hristo Venev
Details
Almost working ant 1.8.2 ebuilds and distfiles (ant.tar.xz,21.06 KB, application/x-xz)
2012-01-29 17:25 UTC, Hristo Venev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bugsgentoo 2011-01-16 15:29:19 UTC
Please bump this. It contains various bug fixes.
Comment 1 Jean-Philippe Robichaud 2011-07-09 13:43:15 UTC
+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...
Comment 2 g4 2011-09-18 11:36:21 UTC
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.
Comment 3 Eric Le Lay 2011-10-18 18:32:01 UTC
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.
Comment 4 Eric Le Lay 2011-10-18 18:36:09 UTC
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).
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2011-12-04 05:04:24 UTC
*** Bug 392963 has been marked as a duplicate of this bug. ***
Comment 6 Hristo Venev 2011-12-31 18:34:56 UTC
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.
Comment 7 Andreas Sturmlechner gentoo-dev 2011-12-31 18:38:35 UTC
(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?
Comment 8 Andreas Sturmlechner gentoo-dev 2011-12-31 20:29:48 UTC
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.
Comment 9 Alex Pogodin 2012-01-29 13:02:35 UTC
Any chance to get this version on Gentoo boxes? It is badly needed, for example for projects using HTML5 Boilerplate.
Comment 10 Hristo Venev 2012-01-29 17:25:10 UTC
Created attachment 300297 [details]
Almost working ant 1.8.2 ebuilds and distfiles

OK. It's pretty much working. (ant-testutil fails)
Comment 11 Andreas Sturmlechner gentoo-dev 2012-02-18 13:39:41 UTC
ant-*-1.8.2 packages were masked in portage for preparation of bumping/testing it seems. :)
Comment 12 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2012-02-18 22:34:37 UTC
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.