Simply put:
In eclipse how to run shell / package script when creating? I have an external tool that can be started manually, but I want to run it when creating a project. Using build variables in a script will be an added bonus.
Why do I need it:
I am working on multi-platform games for mobile devices. Teams in the company I use X-Code, Visual Studio and Eclipse (Momentics) for our games. We want to be able to pick up the phone and look at it from above, with information, for example, who built it, when it was built, with which branch and to remake it, and which versions of the library are used. I did this with X-Code by running a script on build that uploads some of this information to the resource directory of my game, after which I can parse it at runtime. It is very simple, and I have alternative suggestions if you have them; keeping in mind that it should work for the three IDEs that our developers use.
Sugar Bonus:
In X-Code, we can use build variables that would be very good for Eclipse. I use them to go to the active cocos2d-x repository and get the git log to tell us when the last commit of this repository was made, and by whom. If this is not possible in the eclipse, I can understand something.
Thanks in advance!
source share