ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 18608] New: - ear attribute appxml does not work
Date Wed, 02 Apr 2003 13:33:28 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18608>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18608

ear attribute appxml does not work

           Summary: ear attribute appxml does not work
           Product: Ant
           Version: 1.5.2
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: joel.goodling@us.abb.com


I have the following ear task in my ant build script:

<ear destfile="${product}" appxml="./Source/java/META-INF/application.xml" 
manifest="./Source/java/META-INF/MANIFEST.MF">
		<fileset dir="${deploy.dir}" includes="*.jar">
            		<exclude name="tnrouter-schedulable-1.0.0.jar"/>
		</fileset>
	        <fileset dir="${deploy.dir}" includes="*.war"/>
</ear>

The resulting .ear file does not include the application.xml file in the
META-INF directory (actually not at all). The indicated MANIFEST.MF makes it in
the .ear file just fine.

Running ant -debug produces the following:
ZipFileSet: Setup scanner in dir
C:\PTDT\IntegratedFactory\TNRouter\Source\java\META-INF with patter
nSet{ includes: [application.xml] excludes: [] }
      [ear] Building ear:
C:\PTDT\IntegratedFactory\TNRouter\build\deploy\tnrouter.ear
      [ear] adding directory META-INF/
      [ear] adding entry META-INF/MANIFEST.MF
      [ear] adding entry tnrouter-common-1.0.0.jar
      [ear] adding entry tnrouter-factories-1.0.0.jar
      [ear] adding entry tnrouter-orders-1.0.0.jar
      [ear] adding entry tnrouter-soapservices-1.0.0.jar
      [ear] adding entry tnrouter-gui-webapp-1.0.0.war
      [ear] adding entry tnrouter-soap-webapp-1.0.0.war
      [ear] adding entry tnrouter-webapp-1.0.0.war
      [ear] adding entry META-INF/application.xml

As you can see, ant -debug *says* that it is adding application.xml, however, it
does not appear in my .ear file.

Mime
View raw message