Hello guys.
I have been trying to use the build.xml mentioned above, with no success so far.
It is not meant to be used by developers directly, so it is not well documented…
Here is my first guess (replace all the values accordingly to your environment of course):
[bash]
$ ln -s /Applications/Corona/Corona\ Simulator.app/Contents/Resources/build.xml corona_build_file
$ ant \
-f corona_build_file \
-DBUNDLE_DIR=/Applications/Corona/Corona\ Simulator.app/Contents/Resources \
-DSRC_DIR=src \
-DTEMP_DIR=build/temp \
-DDST_DIR=build/snapshot \
-DUSER_APP_NAME=snapshot \
pre-upload-zip post-build
[/bash]
BUNDLE_DIR = the location of a script called FastFileCreate, same as Corona’s build.xml
SRC_DIR = folder containing your main.lua
TEMP_DIR = any folder of your choice, where write is enabled
DST_DIR = destination folder for the build
USER_APP_NAME = the name of the build, I suppose
It does some stuff (copies some files and all the sounds in the temp dir and creates an “input.zip” file), but then it complains that a file called “output.zip” is not present. According to what I see in the build.xml file, no output.zip file can be created with ant. Maybe it is created by Corona ?
What results did you get?
I think the target “sign”, which require more parameters, is mandatory. Will try tommorrow.
Also, I don’t understand where the Code Signing Identity is handled.
Anyway, I hope it helps…
[import]uid: 67744 topic_id: 4616 reply_id: 42768[/import]