Closed astanley closed 12 years ago
First of all, on my MacBook the "config.xml" doesn't work. Put the <?xml.... line upfront as the first one, before the comments.
Next, here is my BUILD script for the 'payment' app. Building "Aura" works exactly the same.
I had to create some symbolic links to avoid the spaces in the "/Developer/...." directory. One of my pet-peeves, never ever put spaces in file names. It simply breaks stuff. We can blame Redmond for introducing this "feature".... :-(
But if you don't use the script, but simply do it from the command line, you will be OK without the symbolic links for "RIM" and "SDK". It's how I did it before creating this script.
BD="/Developer/SDKs/RIM/SDK/bbwp"
WD="/Users/
I hope this helps you to get going, Willem
Oops, seems that the website takes away everything between < and > which did damage to my post.
Let's try again:
BD="/Developer/SDKs/RIM/SDK/bbwp" WD="/Users/<path-to-dir>/WebWorks-Samples" cd $WD/Payment echo "-- WebWorks app build --" echo "-- zipping up sources --" zip -r ../Payment.zip * cd $WD echo "-- packaging bar file --" $BD/bbwp $WD/Payment.zip -o $WD/ echo "-- install on emulator --" $BD/blackberry-tablet-sdk/bin/blackberry-deploy -installApp -password playbook -device <ip-of-your-emulator> -package $WD/Payment.bar echo "-- WebWorks build done --"
.... and one more, I changed 'payment' into 'Payment' with a capital 'P'
if needed, change the script accordingly
Fixed by Pull Request #14
The existing instructions in the Aura README file 'How to build' section are for PC users only. We need to have corresponding instructions for Mac users.