Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Alternative Configurations
Alternative Configurations [message #217872] Mon, 25 June 2007 15:46
Eclipse UserFriend
Originally posted by: carl.wilson.uk.thalesgroup.com

I have a base installation of Eclipse 3.2 working on RHEL 4.4
I need to provide users with a number of alternative configurations with
variants of feature sites for each configuration.
One way of doing this appears to be to use the -configuration <location>
command line. I've installed eclipse as root on a RHEL system
I've then added the feature sites for each configuration

java -cp startup.jar org.eclipse.core.launcher.Main -data tempwork
-application org.eclipse.update.core.standaloneUpdate -configuration
/opt/eclipse/configA -command addSite from "configA/eclipse"

I then call eclipse with
eclipse -configuration /opt/eclipse/configA -vm <java> -vmargs -Xms512M
-Xmx512M

If I then call this as the user (non-root) without doing anything else, I
get an error.

If I first call this as root, and then call as a user it works ok.

Invoking this as root seems to create some files
/opt/eclipse/configA/org.eclipse.osgi/.lazy.2

If I don't invoke eclipse as root then I have
/opt/eclipse/configA/org.eclipse.osgi/.lazy.1

Also .bundledata.1 is deleted and replaced with .bundledata.2
Probably some other changes...

So much for the description. My question is whether there's any way to
invoke eclipse 'silently' (e.g. like -initialize - but I've tried that)
which would create the appropriate files for each of my configurations.
The alternative seems to be to invoke the eclipse gui manually for all
configurations. Everything then works ok.

Trawling through the extensive documentation it doesn't look as if
-configuration should be an option to addSite, but it half works - it
creates the directory with a set of files which can be modified.
Previous Topic:Project-specific preferences
Next Topic:Eclipse running problem
Goto Forum:
  


Current Time: Tue Apr 23 14:38:10 GMT 2024

Powered by FUDForum. Page generated in 0.08648 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top