You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2008/04/21 20:12:40 UTC
DO NOT REPLY [Bug 44848] New: Service element of Jar task places
provider file in wrong directory
https://issues.apache.org/bugzilla/show_bug.cgi?id=44848
Summary: Service element of Jar task places provider file in
wrong directory
Product: Ant
Version: 1.7.0
Platform: PC
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: Core tasks
AssignedTo: notifications@ant.apache.org
ReportedBy: adam.hawthorne@gmail.com
A task defined as:
<jar destfile="foo.jar" files="${obj}/com/acme/**/*.class">
<service type="java.nio.charset.spi.CharsetProvider"
provider="com.acme.charset.PUACharset"/>
</jar>
places the file "java.nio.charset.spi.CharsetProvider" in the directory
"META-INF/service" in the jar file, but the jar service provider framework
specifies the directory as META-INF/services (note the 's' at the end). See
http://java.sun.com/j2se/1.5.0/docs/guide/jar/jar.html#Service%20Provider for
the documentation there.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 44848] Service element of Jar task places provider
file in wrong directory
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44848
Peter Reilly <pe...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
--- Comment #1 from Peter Reilly <pe...@apache.org> 2008-04-21 11:36:49 PST ---
Thanks for the report, this has already been fixed and will
be in ant 1.7.1
*** This bug has been marked as a duplicate of bug 41201 ***
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.