Exporting RCP as a product
I am deploying my eclipse rcp product into some folder say C:\deploy\eclipse. But Here i am facing a problem,while i was exporting to the same location it says export failed,
Since my project is in development stage each time i do changes in the code,i need to deploy to perform unit testing its开发者_Python百科 pretty time consuming.All that i want to achieve is just override the same deployed location, i don't know if it is possible? The current approach was just go and delete the currently deployed folder and then export again, this is odd i guess, can someone drive me in a better approach
I suggest to setup a headless build which means that you're able to trigger a build of your RCP application from the commandline. Once you've established a headless build you can write some sort of batch file which for example cleans up the deployment directory before the build. You can integrate this batch file in your Eclipse IDE via External Tools. Here is a tutorial on how to setup a headless build.
精彩评论