– System Setup ——————————-
Operating System and version: Windows XP SP1
Eclipse version: 3.1.0
Eclipse build id: I20050627-1435
Fresh Eclipse install (y/n): y
If not, was it upgraded to its current version using the update manager?
Other installed external plugins: 0
Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*: 4
MyEclipse version: 4.0.0 GA
Eclipse JDK version: JDK 1.4.2_08
Application Server JDK version:
Are there any exceptions in the Eclipse log file? no
– Message Body ——————————-
Hello,
I want to set some preferences via the file plugin_customization.ini. This file is located in the folder eclipse\plugins\org.eclipse.sdk_3.1.0 and is a property file with default preferences. Everytime a new workspace ist created, this defaults are used. It is a very usefull thing, because I do not have to change theses preferences via Windows – Preferences.
I can set every Eclipse-Preference, but some MyEclipse-Prefernces does not work:
com.genuitec.eclipse.j2eedt.core/j2ee.deployment.ear.jar_dependent_projects=true
com.genuitec.eclipse.j2eedt.core/j2ee.projecttemplate.ejb.srcdir=Prod
com.genuitec.eclipse.j2eedt.core/defaultJ2EEContainer=com.genuitec.eclipse.j2eedt.core.J2EE13_CONTAINER
com.genuitec.eclipse.j2eedt.core/j2ee.projecttemplate.web.srcdir=Prod
com.genuitec.eclipse.j2eedt.core/j2ee.projecttemplate.web.webrootdir=WebContent
com.genuitec.eclipse.j2eedt.core/j2ee.deployment.web.archive_dependent_projects=hybrid
com.genuitec.eclipse.j2eedt.core/j2ee.deployment.web.deploy_exported_jars=true
When I convert these preferences into EPF-Preferences (i.e. Preferences which can be imported from a .epf-file via File – Import – Preferences):
/instance/com.genuitec.eclipse.j2eedt.core/j2ee.deployment.ear.jar_dependent_projects=true
/instance/com.genuitec.eclipse.j2eedt.core/j2ee.projecttemplate.ejb.srcdir=Prod
/instance/com.genuitec.eclipse.j2eedt.core/defaultJ2EEContainer=com.genuitec.eclipse.j2eedt.core.J2EE13_CONTAINER
/instance/com.genuitec.eclipse.j2eedt.core/j2ee.projecttemplate.web.srcdir=Prod
/instance/com.genuitec.eclipse.j2eedt.core/j2ee.projecttemplate.web.webrootdir=WebContent
/instance/com.genuitec.eclipse.j2eedt.core/j2ee.deployment.web.archive_dependent_projects=hybrid
/instance/com.genuitec.eclipse.j2eedt.core/j2ee.deployment.web.deploy_exported_jars=true
everything works fine. Is there a special reason why you cannot set these preferences in the plugin_customization.ini file ?
—-
Bernhard Berbuir
(Sparkassen)