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 2004/12/02 00:49:35 UTC

DO NOT REPLY [Bug 32482] New: - jar task doesn't exclude files specified in excludes or excludesfile attributes

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32482>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32482

           Summary: jar task doesn't exclude files specified in excludes or
                    excludesfile attributes
           Product: Ant
           Version: 1.6.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: vbeffa@yahoo.com


I have a target that looks like this:

<target name="jar" depends="compile">
    <jar destfile="${my_dest_file}" basedir="${my_base_dir}"
     excludesfile="${my_path}/a/b/Foo.class" />
</target>

When I run the target, Foo.class is present in the created jar file. I also
tried using excludes instead of excludesfile, with the same result.

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

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