|Headless Build Environment [message #919699]
||Sat, 22 September 2012 08:26
| Alok Mishra
Registered: April 2012
My team is developing an RCP application using Eclipse.
Our goal is to build everything through command line, without having to open the eclipse IDE.
I want to write a script (linux) to check the Build Environment before a developer starts on our project. This script should check for the following:
1. Java version. (I can get this through java -version)
2. Ant version. (I can get this through ant -version)
3. Eclipse Version - (dont know how to check)
4. Whether Eclipse delta-pack is installed? (dont know how to check)
5. Some other checks as well.
If any of the above is not correct then the script will exit with error. But I'm facing problem with the following:
1. How to check for eclipse version through command line? We want the eclipse environment to have only Indigo (3.7) plugins and not that of Juno. Most of the Juno plugins are still buggy and we want to avoid using the Juno environment.
2. How to check if Eclipse delta-pack is installed or not? Is checking for the feature org.eclipse.equinox.executable enough or do we need to check any other file? Is there any simpler way of determining it?
Any help in this regard will be highly appreciated.
Powered by FUDForum
. Page generated in 0.02677 seconds