Browse Source

add a passing testcase for PR 47470

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@792943 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 16 years ago
parent
commit
2fa45322bf
1 changed files with 14 additions and 0 deletions
  1. +14
    -0
      src/tests/antunit/taskdefs/jar-test.xml

+ 14
- 0
src/tests/antunit/taskdefs/jar-test.xml View File

@@ -46,4 +46,18 @@
</au:assertTrue>
</target>

<target name="testResourcesOnly"
description="https://issues.apache.org/bugzilla/show_bug.cgi?id=47470">
<mkdir dir="${input}"/>
<mkdir dir="${output}"/>
<touch file="${input}/foo"/>
<touch file="${output}/bar"/>
<jar destfile="${output}/foo.jar">
<union>
<fileset dir="${input}"/>
<fileset dir="${output}" excludes="foo.jar"/>
</union>
</jar>
<au:assertLogDoesntContain text="skipping jar archive"/>
</target>
</project>

Loading…
Cancel
Save