ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40810] New: - Zipfileset: optionally include added dir as entry
Date Tue, 24 Oct 2006 07:13:25 GMT
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


Mime
View raw message