You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2006/12/18 13:42:56 UTC

DO NOT REPLY [Bug 41201] - [jar-task] wrong name for services folder

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41201>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41201





------- Additional Comments From peterreilly@apache.org  2006-12-18 04:42 -------
Yes, you are correct.
The fix will however be too late for ant 1.7.0.

Index: src/main/org/apache/tools/ant/taskdefs/Jar.java
===================================================================
--- src/main/org/apache/tools/ant/taskdefs/Jar.java     (revision 488251)
+++ src/main/org/apache/tools/ant/taskdefs/Jar.java     (working copy)
@@ -397,7 +397,7 @@
            service = (Service) serviceIterator.next();
            //stolen from writeManifest
            super.zipFile(service.getAsStream(), zOut,
-                         "META-INF/service/" + service.getType(),
+                         "META-INF/services/" + service.getType(),
                          System.currentTimeMillis(), null,
                          ZipFileSet.DEFAULT_FILE_MODE);


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org