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 2009/07/03 13:53:51 UTC
DO NOT REPLY [Bug 47470] New: Invalid warning when creating a
ResourceCollection based Archive
https://issues.apache.org/bugzilla/show_bug.cgi?id=47470
Summary: Invalid warning when creating a ResourceCollection
based Archive
Product: Ant
Version: 1.7.0
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Core tasks
AssignedTo: notifications@ant.apache.org
ReportedBy: hoffmann@mountainminds.com
STEPS TO REPRODUCE
A archive can be created based on ResourceCollection types, e.g. by using the
built-in types union, intersect and difference or some custom types:
<jar destfile="foo.jar">
<union>
<fileset dir="dir1"/>
<fileset dir="dir2"/>
</union>
</jar>
EXPECTED BEHAVIOR
The archive should be created without any warning.
ACTUAL BEHAVIOR
The archive is properly created, but the following warning is issued:
"skipping jar archive foo.jar because no files were included."
ANALYSIS
The Zip implementation seems to have two paths, one for ResourceCollections and
one for FileSets. If the latter produces no files (because no nested FileSets
are specified) the warning is issued even if there is a resource collection.
RELATED ISSUE
Bug 43946: manifest-only jars are broken - whenmanifestonly has no effect
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 47470] Invalid warning when creating a
ResourceCollection based Archive
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47470
--- Comment #2 from hoffmann@mountainminds.com 2009-07-10 06:47:45 PST ---
Thanks Stefan! I would like to verify this bug in my build environment. May I
ask you where I can find a build result that already contains this fix?
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 47470] Invalid warning when creating a
ResourceCollection based Archive
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47470
Stefan Bodewig <bo...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|VERIFIED |CLOSED
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 47470] Invalid warning when creating a
ResourceCollection based Archive
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47470
--- Comment #3 from Stefan Bodewig <bo...@apache.org> 2009-07-10 07:35:39 PST ---
we don't provide nightly builds ourselves, but there are non-supported builds
at teamcity http://teamcity.jetbrains.com/project.html?projectId=project28 -
use the "login as guest" option.
Any recent build of Ant should be fine.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 47470] Invalid warning when creating a
ResourceCollection based Archive
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47470
hoffmann@mountainminds.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |VERIFIED
--- Comment #4 from hoffmann@mountainminds.com 2009-07-17 01:17:47 PST ---
I just verified that this issue is fixed with Ant 1.7.1, thanks for your quick
response!
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 47470] Invalid warning when creating a
ResourceCollection based Archive
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47470
Stefan Bodewig <bo...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |1.8.0
--- Comment #1 from Stefan Bodewig <bo...@apache.org> 2009-07-10 06:26:52 PST ---
doesn't seem to be a problem in trunk anymore, the AntUnit test I added in svn
revision 792943 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=792943 ) passes.
Most likely it has been fixed via Bug 39426
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.