[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.pde] Selecting Eclipse application version in launch command

I am responsible in my project for an Eclipse application plugin that does some headless workspace configuration.

After some large changes to the project, I now have to maintain two different versions of the plugin. But the branching introduced a problem.
If both versions (using eclipses plugin versioning) are available to Eclipse (copied to its plugin directory), how can I tell Eclipse which one to use when launching the application?


I invoke the plugin this way:
eclipse.exe -data <path to workspace> -application <package>.<class> <some arguments to the plugin>


What I'd like to do is to tell Eclipse to use 1.x.x or 2.x.x, but the version isn't included in the application argument. Is there some other CLI-based way to specify which version of the plugin that is to be used?

I've looked at http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/topic/org.eclipse.platform.doc.user/tasks/running_eclipse.htm but couldn't any argument for plugin control. Is it possible to use -configuration to specify a certain version of a plugin but, aside from that, without interfering with the default configuration?