You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2008/09/23 12:35:18 UTC

DO NOT REPLY [Bug 29683] Jar task with zipgroupfileset always builds the jar file

https://issues.apache.org/bugzilla/show_bug.cgi?id=29683


Emmanuel Bourg <eb...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebourg@apache.org




--- Comment #3 from Emmanuel Bourg <eb...@apache.org>  2008-09-23 03:35:17 PST ---
This is not specific to zipfileset, it also happens with filesets having
similar directory structures.

For example, considering this simple project layout:

/src/main/foo/Bar.java
/src/test/foo/BarTest.java

The following build file will always build the jar file:

<?xml version="1.0" encoding="iso-8859-1"?>
<project name="Bug 29683 testcase" default="jar" basedir=".">
  <target name="jar">
    <jar jarfile="foo.jar">
      <fileset dir="src/main"/>
      <fileset dir="src/test"/>
    </jar>
  </target>
</project>

This was verified on Windows XP with Ant 1.7.1 and Java 5


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