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 40943] New: - Fileset does not find some file descriptions
Date Fri, 10 Nov 2006 11:44:27 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=40943>.
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=40943

           Summary: Fileset does not find some file descriptions
           Product: Ant
           Version: 1.6.5
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: dev@ant.apache.org
        ReportedBy: donald.nairn@barco.com


For some reason the following code does not produce the correct results in my
environment:
        <zip destfile="${basedir}/BCDEDebug.zip">
            <fileset dir="${basedir}/VoxarLib/bin/Debug">
                <include name="BCDE.VoxarDicom.dll,BCDE.VoxarDicom.pdb"/>
            </fileset>
            <fileset dir="${basedir}/VoxarLib/bin/Debug">
                <include name="BCDE.VoxarLib.dll,BCDE.VoxarLib.pdb"/>
            </fileset>
        </zip>

The example above results in no files being copied whereas with the example
below it results in both files being copied.

        <zip destfile="${basedir}/BCDEDebug.zip">
            <fileset dir="${basedir}/VoxarDicom/bin/Debug">
                <include name="BCDE.VoxarDicom.dll"/>
                <include name="BCDE.VoxarDicom.pdb"/>
            </fileset>
            <fileset dir="${basedir}/VoxarLib/bin/Debug">
                <include name="BCDE.VoxarLib.dll"/>
                <include name="BCDE.VoxarLib.pdb"/>
            </fileset>

Another problem occurs with another project:
        
        <zip destfile="${basedir}/BCDEDebug.zip">
            <fileset dir="${basedir}/Core.Fast/bin/Debug">
                <include name="BCDE.Core.Fast.dll,BCDE.Core.Fast.pdb"/>
            </fileset>
        </zip>

Gives the correct result whereas the following results in both files being
copied into the archive twice:

        <zip destfile="${basedir}/BCDEDebug.zip">
            <fileset dir="${basedir}/Core.Fast/bin/Debug">
                <include name="BCDE.Core.Fast.dll/>
                <include name="BCDE.Core.Fast.pdb"/>
            </fileset>
        </zip>

These projects are both c++ and the rest of the project is c#. Whether this
makes a difference I do not know, but all the c# projects work without any problems.

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