arima kidd wrote:Are you suggesting that I have to clean and build my project, then save this script to a build.xml and run 'ant' from the command line? That I have not done. I assumed I had to copy and paste to either the build.xml or the build-impl.xml. I actually tried both and it failed. So now I guess I have to run a 'clean and build' in netbeans, then put this script in a build xml file in the dist folder and then run it from the command line using ant. Given that ant looks for a build file, I just have to type in ant.
Is that about correct??
Not quite.
Once you put it in the build.xml script it will stay there. I do not modify build-impl.xml I think that one does get recreated when you change project parameters but I'm sure the build.xml does not.
What I do (and I don't claim it's the best let alone the only way) is clean an build, then right click on build.xml in the Files view (I know) and choose Run Target -> Run Other Target-> Package for Store.
There is probably a better way but by the time I'm ready to do this, I usually don't have enough energy left to look for one.
Joe