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/04/28 02:32:56 UTC

DO NOT REPLY [Bug 39439] New: - cab task doesn't produce cab when using fileset

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

           Summary: cab task doesn't produce cab when using fileset
           Product: Ant
           Version: 1.6.5
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Optional Tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: okapi@yahoo.com


When I use the cab task with a fileset such as:

<cab cabfile="${build.home}/blah/lib/applet-1_1-not-signed.cab" verbose="yes">
               <fileset dir="${build.home}/classes-applet-1_1"
                     includes="com/blah/,compile.date"
            />
        </cab>

No errors occur but no CAB file gets created. When I change the task to not use
a fileset such as below it works:

      <cab cabfile="${build.home}/blah/lib/applet-1_1-not-signed.cab"
             basedir="${build.home}/classes-applet-1_1"
includes="com/blah,compile.date"
        >
        </cab>

I've tested this on Linux and Windows XP and get the same result. The reason I
want to use FileSet is because I have additional sets of files that I'd like to
add to the CAB.

I think this issue has been around a while:
http://marc.theaimsgroup.com/?l=ant-user&m=106815106520659&w=2

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


DO NOT REPLY [Bug 39439] - cab task doesn't produce cab when using fileset

Posted by bu...@apache.org.
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=39439>.
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=39439


peterreilly@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |1.7




------- Additional Comments From peterreilly@apache.org  2006-09-19 22:04 -------
I have a fix for this. However, the way the command
line tool for writting cab files is used, means that
only *one* fileset is allowed. The task cd's to the
basedir and then uses relative filenames for the cabarc
program. This means that your usecase will
not be fullfilled. You will need to place
the files in a staging area and then cab those
files up.



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