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 20495] New: - an issue in <jar.../> or <ear.. /> task
Date Thu, 05 Jun 2003 06:31:45 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=20495>.
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=20495

an issue in <jar.../>  or <ear.. /> task

           Summary: an issue in <jar.../>  or <ear.. /> task
           Product: Ant
           Version: 1.5.1
          Platform: Other
        OS/Version: Solaris
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Build Process
        AssignedTo: dev@ant.apache.org
        ReportedBy: minhua_box@yahoo.com.cn


I failed to jar the META-INF/data.xml into dest.ear using the following scripts.

<jar destfile="dest.ear" update="true">
   <fileset dir="./" includes="META-INF/data.xml"/>
</jar>

If I use jar META-INF/data.txt into dest.ear using the following scripts, it 
works.
<jar destfile="dest.ear" update="true">
   <fileset dir="./" includes="META-INF/data.txt"/>
</jar>

It seems the "jar" task ignore the file with ".xml" as suffix.

When I use <ear../> task instead of <jar../> task, it's same.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message