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 2006/10/24 09:13:25 UTC

DO NOT REPLY [Bug 40810] New: - Zipfileset: optionally include added dir as entry

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=40810>.
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=40810

           Summary: Zipfileset: optionally include added dir as entry
           Product: Ant
           Version: 1.6.5
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Other
        AssignedTo: dev@ant.apache.org
        ReportedBy: l.monsees@atlantisgmbh.de


Hi,

it would be nice if zipfilesets would have the option to include the added dir 
as a dir entry in the zipfile, not only the contents.

Example:
I want to add my "src" dir into the zipfile and inside the zipfile it should 
also reside in a "src" dir. Therefore, I have to specify the prefix attribute:

   <property name="src" value="whatever/path/src"/>
   <zipfileset dir="${src}" prefix="src"/>

If ${src} would only contain "src" without leading path, I could also use the 
property for the prefix, but if this was not the case, I�d have to use a 
separate property.


Lars

-- 
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