Anyone ever generate a standalone product from the command line? Ive run
through the "Eclipse Product export wizard" to do this inside of the Eclipse
IDE, but of course, our daily build system would like to do this in a
scripting command line world.
Catalin Gerea Messages: 86 Registered: July 2009 Location: Bucharest, Romania
Member
Hello David
Did you tried the headless build? As far as I know this is the only way to have the standalone product from the command line (as in your case included in a script).
Catalin Gerea Messages: 86 Registered: July 2009 Location: Bucharest, Romania
Member
Hello Dipti
I am not sure that I understand you last question.
The "PDE export wizard" and the headless build will have the same outcome: the application/product/feature is built in the specified folder.
The headless build has the following advantages from my point of view:
- can be started from the command line (you do not need that Eclipse is started)
- can be integrated in other existing build scripts/continuous integration
Of course the main disadvantage for the headless build is that is more difficult to have a first successful build.
My bad. My headless build results in a zipped file with no executable, whereas the export wizard gives me a nice executable file in the destination folder. I am working on linux. So I presumed that to get an executable that launches my app, I need to do something more once the headless build goes through fine. Turns out the format of the build output is to be mentioned somewhere in the build.properties. Am on it.