Summary: | [jar-task] wrong name for services folder | ||
---|---|---|---|
Product: | Ant | Reporter: | johannes.rieken |
Component: | Core tasks | Assignee: | Ant Notifications List <notifications> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | a-mang, adam.hawthorne, amy.fowler, apachebugs, raif |
Priority: | P2 | ||
Version: | 1.7.0RC1 | ||
Target Milestone: | 1.7.1 | ||
Hardware: | All | ||
OS: | Mac OS X 10.4 |
Description
johannes.rieken
2006-12-18 04:26:14 UTC
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); Fixed in svn, should be in the Ant 1.7.1 release Thanks for the report. New feature useless => higher severity, no? *blush* yes, I should have tested this a little better... *** Bug 41879 has been marked as a duplicate of this bug. *** *** Bug 42527 has been marked as a duplicate of this bug. *** *** Bug 43028 has been marked as a duplicate of this bug. *** *** Bug 44395 has been marked as a duplicate of this bug. *** |