You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/06/05 08:31:45 UTC

DO NOT REPLY [Bug 20495] New: - an issue in or task

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