Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 227465

Summary: dev-java/ant-core-1.7.0-r1 - services bug
Product: Gentoo Linux Reporter: Jiri Tyr <jiri.tyr>
Component: New packagesAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2008.0   
Hardware: All   
OS: Linux   
URL: http://www.nabble.com/bug:-jar-task-with-nested-service-does-not-create-META-INF-services-td15715296.html
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 224997    
Attachments: files/ant-core-1.7.0-services.patch
ant-core-1.7.0-r1.patch

Description Jiri Tyr 2008-06-16 16:17:30 UTC
Ant have a bug in JAR module when creating META-INF/services directory. Since there is no release which would correct this bug, we could add a patch into the ant-1.7.0-gentoo.tar.bz2 to correct it.
Comment 1 Jiri Tyr 2008-06-16 16:18:32 UTC
Created attachment 157109 [details, diff]
files/ant-core-1.7.0-services.patch

Patch for Ant 1.7.0 to correct the services bug.
Comment 2 Jiri Tyr 2008-06-16 16:20:47 UTC
Created attachment 157111 [details, diff]
ant-core-1.7.0-r1.patch

Patch for ant-core-1.7.0-r1.ebuild which implements the bug correction.
Comment 3 Jiri Tyr 2008-06-16 16:25:47 UTC
The service bug blocks jeuclid-fop implementation. There in the jeudlic-fop ebuild is implemented a small workaround (unzip jar, rename servece->services, zip jar) but it would be better to fix this problem directly in Ant.
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2008-06-16 18:58:13 UTC
Added to 1.7.0-r2