ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 52267] New: Nested service element in WAR task putsservice descriptor files in the wrong place in the .WAR.
Date Wed, 30 Nov 2011 22:46:29 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52267

             Bug #: 52267
           Summary: Nested service element in WAR task putsservice
                    descriptor files in the wrong place in the .WAR.
           Product: Ant
           Version: 1.8.2
          Platform: PC
        OS/Version: Windows Vista
            Status: NEW
          Severity: major
          Priority: P2
         Component: Core tasks
        AssignedTo: notifications@ant.apache.org
        ReportedBy: esmond.pitt@bigpond.com
    Classification: Unclassified


Service descriptor files are loaded as class resources by
java.util.ServiceLoader. Therefore they have to be in the classpath. If you
specify <jar ...><service .../></jar> this works correctly: the service
descriptor files are JAR'd as /META-INF/services/*. However in a WAR file this
is not correct. At present if you specify <war ...><service/></war> the
same
happens as above. The correct location in a WAR file is
/WEB-INF/classes/META-INF/services/*.

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

Mime
View raw message