I have a builder script set up to run through Project > Preferences > Builders. The problem I've run into is that I want my script to know if I'm packaging the application for distribution or just building to test (i.e. in the simulator, connected device, etc). I know that you can set up variables to be passed as arguments to the script, however, they seem to be Eclipse/Aptana specific variables.
Is there ANY way to determine if you're actually packaging or just building the project? I'll event settle for my script reading a log file from the filesystem if that's what it takes. Any way to differentiate between a package build and a test building of the project.
Thanks in advance!