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: [email protected]
        ReportedBy: [EMAIL PROTECTED]


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.

Reply via email to