Symbian
Symbian OS Library

FAQ-1311 How can I automate zip-archiving of my application builds?

[Index][spacer] [Previous] [Next]



 

Classification: C++ Category: Applications
Created: 09/30/2005 Modified: 10/10/2005
Number: FAQ-1311
Platform: Symbian OS v6.1, Symbian OS v7.0, Symbian OS v7.0s, Symbian OS v8.0, Symbian OS v8.0a, Symbian OS v8.0b, Symbian OS v8.1a, Symbian OS v8.1b, Symbian OS v9, Symbian OS v9.0

Question:
How can I automate zip-archiving of my application builds?

Answer:
The abld "-what" option lists all the outputs of an "abld build" command. This list can be piped into the zip application to automatically archive the build.

1. Build as normal:
bldmake bldfiles
abld build

2. Create zip with filename "zipname.zip" using:
abld build -what | zip -@ zipname.zip

You can also build just particular ABIs:
abld build armi -what | zip -@ armizipfile.zip

Note that the option also outputs non-binary files such as PRJ_EXPORTS files.