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 18882] New: - <zip> task ignores the file .cvsignore
Date Wed, 09 Apr 2003 21:32:58 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18882>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18882

<zip> task ignores the file .cvsignore

           Summary: <zip> task ignores the file .cvsignore
           Product: Ant
           Version: 1.5.3
          Platform: Other
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: sarcher@us.ibm.com


The <zip> task seems to refuse to include the file .cvsignore in a zip file.  
Given the following files and directory structure:

  build.xml
  src/
    hello.txt
    .cvsignore
    .classpath

Where build.xml contains the following Ant script:

  <?xml version="1.0"?>
  <project name="TestCase" default="build" basedir=".">
    <target name="build">
      <delete file="src.zip"/>
      <zip zipfile="src.zip" basedir="src"/>
    </target>
  </project>


Running Ant yeilds the following:

  C:\ant\simon>ant
  Buildfile: build.xml

  build:
        [zip] Building zip: C:\ant\simon\src.zip

  BUILD SUCCESSFUL
  Total time: 1 second


Unfortunately the generated src.zip file DOES NOT CONTAIN the file .cvsignore.  
Both hello.txt and .classpath are included.

Mime
View raw message