Okay we tried this out.. Good news - it does save a lot of time!
bad news - when you configure the launch configuration to be "based on the selected plugins" it becomes platform specific (sad!) As a result some of the launch configurations committed to the codebase work on mac; and some on windows. A couple mitigation strategies: - mark the launch configuration as "validate prior to starting" so people get correctly warned - switch the launch configurations to be "based on selected features"; this would involve us creating two test features but should be possible -- Jody Garnett On Thursday, 1 December 2011 at 5:01 PM, Mauricio Pazos wrote: > We will save a lot of time > > Thanks!, > On Thursday, December 01, 2011 04:37:01 PM Jody Garnett wrote: > > Related links: > > - > > http://stackoverflow.com/questions/222093/how-to-run-eclipse-launch-configu > > rations-programmatically - > > http://stackoverflow.com/questions/674669/how-to-reuse-eclipse-launch-file- > > in-a-new-project > > > After a bit of experimenting; and research; I have saved out some launch > > > configurations. Now when you open up any of the test plugins you can > > > immediately run the tests from the run configuration dialog (no more > > > setup required). > > > > > > Now: > > > 1. Open Run configuration > > > 2. Choose > > > 4. Run > > > > > > Previously you needed to: > > > 1. Right click on plugin and choose run as plugin tests > > > 2. Stop the launch as it is configured by default to run a full eclipse > > > 3. Open up run configurations and > > > - change the produce to udig.product > > > - change the plugins to be those selected; deselect all; select the > > > plugin you are running; hit add required plugins 4. Run > > > > > > > > > -- > Mauricio Pazos > > > > _______________________________________________ > User-friendly Desktop Internet GIS (uDig) > http://udig.refractions.net > http://lists.refractions.net/mailman/listinfo/udig-devel > >
_______________________________________________ User-friendly Desktop Internet GIS (uDig) http://udig.refractions.net http://lists.refractions.net/mailman/listinfo/udig-devel
