I agree that it would be nice to make that more flexible. In the meantime, a less brittle workaround would be to create a "zip.bat" file somewhere in your path that converted the arguments to be 7z compatible, and then invoked 7zip.
- Jamis On May 31, 2007, at 11:11 PM, peterB wrote: > > It would be good to have chance somehow override > in copy.rb parameters for compress method. Because different utility > different parameters. > > when :zip then ["zip", "-qr", file, directory] > > For windows machine I added hack > when :zip then ["7z", "a -tzip -r", file, directory] > > In the future could be something in Deploy.rb like: > copy_compression :zip, :utility => "7z", :command => "a -tzip -r", > file, directory > > > > > > --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
