Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » [p2] config.ini files changes after installing plugins from the UI
[p2] config.ini files changes after installing plugins from the UI [message #65669] Thu, 25 June 2009 15:45 Go to next message
Eclipse UserFriend
Originally posted by: christian.dupuis.springsource.com

All, I managed to built my 3.5-based distribution just fine, but when I
use the update manager to install - lets say - Subclipse from
http://subclipse.tigris.org/update_1.6.x my config.ini changes and
Eclipse crashes on start.

Here is my config.ini as produced by the package build:

#This configuration file was written by:
org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxF wConfigFileParser
#Wed Jun 24 14:28:40 CEST 2009
org.eclipse.update.reconcile=false
eclipse.p2.profile=com.springsource.sts.ide
osgi.instance.area.default=@user.home/Documents/workspace
osgi.framework=file\:plugins/org.eclipse.osgi_3.5.0.v2009052 0.jar
eclipse.buildId=I20090611-1540
osgi.bundles=reference\:file\: org.eclipse.equinox.simpleconfigurator_1.0.100.v20090520-190 5.jar @1\:start
org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.e clipse.equinox.simpleconfigurator/bundles.info
eclipse.product=com.springsource.sts.ide
osgi.splashPath=platform\:/base/plugins/com.springsource.sts
eclipse.application=org.eclipse.ui.ide.workbench
osgi.framework.extensions=reference\:file\:javax.transaction _1.1.1.v200906161300.jar,reference\:file\:org.eclipse.persis tence.jpa.equinox.weaving_1.1.2.v20090612-r4475.jar
eclipse.p2.data.area=@config.dir/../p2/
osgi.bundles.defaultStartLevel=4

When I install all the features from Subclipse I end up with the
following config.ini:

#This configuration file was written by:
org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxF wConfigFileParser
#Thu Jun 25 17:43:27 CEST 2009
org.eclipse.update.reconcile=false
eclipse.p2.profile=com.springsource.sts.ide
osgi.instance.area.default=@user.home/Documents/workspace
osgi.framework=file\:/Users/cdupuis/Development/Java/work/sp ring-tool-suite/temp/releng/com.springsource.sts.releng/epp/ 2.1.0.RC1-e3.5/springsource/sts-2.1.0.RC1/Eclipse.app/Conten ts/MacOS/plugins/org.eclipse.osgi_3.5.0.v20090520.jar
eclipse.buildId=I20090611-1540
osgi.bundles=reference\:file\:/Users/cdupuis/Development/Jav a/work/spring-tool-suite/temp/releng/com.springsource.sts.re leng/epp/2.1.0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/com.collabnet.subversion.merge_1.9.0.4.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/com.sun.jna_3.0.9.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tigris.subversion.clientadapter_1.6.0.2.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tigris.subversion.clientadapter.javahl_1.6.3.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springso
urce/sts-2.1.0.RC1/plugins/org.tigris.subversion.clientadapter.svnkit_1.6.2.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tigris.subversion.subclipse.core_1.6.2.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tigris.subversion.subclipse.doc_1.3.0.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tigris.subversion.subclipse.graph_1.0.7.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tigris.subversion.subclipse.mylyn_3.0.0.jar@4,reference\:file\:/Users/cdupuis/Development/Jav
a/work/spring-tool-suite/temp/releng/com.springsource.sts.re leng/epp/2.1.0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tigris.subversion.subclipse.ui_1.6.2.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tmatesoft.svnkit_1.3.0.5847.jar@4
org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.e clipse.equinox.simpleconfigurator/bundles.info
eclipse.product=com.springsource.sts.ide
osgi.splashPath=platform\:/base/plugins/com.springsource.sts
osgi.framework.extensions=
osgi.bundles.defaultStartLevel=4
eclipse.p2.data.area=@config.dir/../p2/
eclipse.application=org.eclipse.ui.ide.workbench


After this update I can't start Eclipse anymore. Quite obvious looking
at the bundles list above.

This does not happen when I do it in the standard JEE package. I
compared the bundles.info and the config.ini but couldn't find any
differences that seemed relevant.

What is missing here?

Thanks for your help again.

Christian
Re: [p2] config.ini files changes after installing plugins from the UI [message #65737 is a reply to message #65669] Thu, 25 June 2009 21:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: christian.dupuis.springsource.com

This turned out to be a problem with renaming the Eclipse.app to
something different: when I rename my STS.app back to Eclipse.app
everything works fine.

What is the correct way of renaming the Eclipse.app then?

Christian

Christian Dupuis wrote:
> All, I managed to built my 3.5-based distribution just fine, but when I
> use the update manager to install - lets say - Subclipse from
> http://subclipse.tigris.org/update_1.6.x my config.ini changes and
> Eclipse crashes on start.
>
> Here is my config.ini as produced by the package build:
>
> #This configuration file was written by:
> org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxF wConfigFileParser
>
> #Wed Jun 24 14:28:40 CEST 2009
> org.eclipse.update.reconcile=false
> eclipse.p2.profile=com.springsource.sts.ide
> osgi.instance.area.default=@user.home/Documents/workspace
> osgi.framework=file\:plugins/org.eclipse.osgi_3.5.0.v2009052 0.jar
> eclipse.buildId=I20090611-1540
> osgi.bundles=reference\:file\: org.eclipse.equinox.simpleconfigurator_1.0.100.v20090520-190 5.jar @1\:start
>
> org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.e clipse.equinox.simpleconfigurator/bundles.info
>
> eclipse.product=com.springsource.sts.ide
> osgi.splashPath=platform\:/base/plugins/com.springsource.sts
> eclipse.application=org.eclipse.ui.ide.workbench
> osgi.framework.extensions=reference\:file\:javax.transaction _1.1.1.v200906161300.jar,reference\:file\:org.eclipse.persis tence.jpa.equinox.weaving_1.1.2.v20090612-r4475.jar
>
> eclipse.p2.data.area=@config.dir/../p2/
> osgi.bundles.defaultStartLevel=4
>
> When I install all the features from Subclipse I end up with the
> following config.ini:
>
> #This configuration file was written by:
> org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxF wConfigFileParser
>
> #Thu Jun 25 17:43:27 CEST 2009
> org.eclipse.update.reconcile=false
> eclipse.p2.profile=com.springsource.sts.ide
> osgi.instance.area.default=@user.home/Documents/workspace
> osgi.framework=file\:/Users/cdupuis/Development/Java/work/sp ring-tool-suite/temp/releng/com.springsource.sts.releng/epp/ 2.1.0.RC1-e3.5/springsource/sts-2.1.0.RC1/Eclipse.app/Conten ts/MacOS/plugins/org.eclipse.osgi_3.5.0.v20090520.jar
>
> eclipse.buildId=I20090611-1540
> osgi.bundles=reference\:file\:/Users/cdupuis/Development/Jav a/work/spring-tool-suite/temp/releng/com.springsource.sts.re leng/epp/2.1.0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/com.collabnet.subversion.merge_1.9.0.4.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/com.sun.jna_3.0.9.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tigris.subversion.clientadapter_1.6.0.2.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tigris.subversion.clientadapter.javahl_1.6.3.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/spring
so
>
> urce/sts-2.1.0.RC1/plugins/org.tigris.subversion.clientadapter.svnkit_1.6.2.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tigris.subversion.subclipse.core_1.6.2.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tigris.subversion.subclipse.doc_1.3.0.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tigris.subversion.subclipse.graph_1.0.7.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tigris.subversion.subclipse.mylyn_3.0.0.jar@4,reference\:file\:/Users/cdupuis/Development/J
av
>
> a/work/spring-tool-suite/temp/releng/com.springsource.sts.re leng/epp/2.1.0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tigris.subversion.subclipse.ui_1.6.2.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tmatesoft.svnkit_1.3.0.5847.jar@4
>
> org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.e clipse.equinox.simpleconfigurator/bundles.info
>
> eclipse.product=com.springsource.sts.ide
> osgi.splashPath=platform\:/base/plugins/com.springsource.sts
> osgi.framework.extensions=
> osgi.bundles.defaultStartLevel=4
> eclipse.p2.data.area=@config.dir/../p2/
> eclipse.application=org.eclipse.ui.ide.workbench
>
>
> After this update I can't start Eclipse anymore. Quite obvious looking
> at the bundles list above.
>
> This does not happen when I do it in the standard JEE package. I
> compared the bundles.info and the config.ini but couldn't find any
> differences that seemed relevant.
>
> What is missing here?
>
> Thanks for your help again.
>
> Christian
Re: [p2] config.ini files changes after installing plugins from the UI [message #66264 is a reply to message #65737] Tue, 30 June 2009 13:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: luzi.anderegg.ergon.ch

I had similar problems after downloading the Modeling package and then
installing the PDE visualization from my old 3.4 eclipse via the profile.

Editing manually the config.ini let me restart my eclipse.
Is this a good approach or are there any problems with manually editing
config.ini?
When does p2 write additional info into bundles.info and when does it
directly write into config.ini?

Thanks,
Luzi

Christian Dupuis wrote:
> This turned out to be a problem with renaming the Eclipse.app to
> something different: when I rename my STS.app back to Eclipse.app
> everything works fine.
>
> What is the correct way of renaming the Eclipse.app then?
>
> Christian
>
> Christian Dupuis wrote:
>> All, I managed to built my 3.5-based distribution just fine, but when
>> I use the update manager to install - lets say - Subclipse from
>> http://subclipse.tigris.org/update_1.6.x my config.ini changes and
>> Eclipse crashes on start.
>>
>> Here is my config.ini as produced by the package build:
>>
>> #This configuration file was written by:
>> org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxF wConfigFileParser
>>
>> #Wed Jun 24 14:28:40 CEST 2009
>> org.eclipse.update.reconcile=false
>> eclipse.p2.profile=com.springsource.sts.ide
>> osgi.instance.area.default=@user.home/Documents/workspace
>> osgi.framework=file\:plugins/org.eclipse.osgi_3.5.0.v2009052 0.jar
>> eclipse.buildId=I20090611-1540
>> osgi.bundles=reference\:file\: org.eclipse.equinox.simpleconfigurator_1.0.100.v20090520-190 5.jar @1\:start
>>
>> org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.e clipse.equinox.simpleconfigurator/bundles.info
>>
>> eclipse.product=com.springsource.sts.ide
>> osgi.splashPath=platform\:/base/plugins/com.springsource.sts
>> eclipse.application=org.eclipse.ui.ide.workbench
>> osgi.framework.extensions=reference\:file\:javax.transaction _1.1.1.v200906161300.jar,reference\:file\:org.eclipse.persis tence.jpa.equinox.weaving_1.1.2.v20090612-r4475.jar
>>
>> eclipse.p2.data.area=@config.dir/../p2/
>> osgi.bundles.defaultStartLevel=4
>>
>> When I install all the features from Subclipse I end up with the
>> following config.ini:
>>
>> #This configuration file was written by:
>> org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxF wConfigFileParser
>>
>> #Thu Jun 25 17:43:27 CEST 2009
>> org.eclipse.update.reconcile=false
>> eclipse.p2.profile=com.springsource.sts.ide
>> osgi.instance.area.default=@user.home/Documents/workspace
>> osgi.framework=file\:/Users/cdupuis/Development/Java/work/sp ring-tool-suite/temp/releng/com.springsource.sts.releng/epp/ 2.1.0.RC1-e3.5/springsource/sts-2.1.0.RC1/Eclipse.app/Conten ts/MacOS/plugins/org.eclipse.osgi_3.5.0.v20090520.jar
>>
>> eclipse.buildId=I20090611-1540
>> osgi.bundles=reference\:file\:/Users/cdupuis/Development/Jav a/work/spring-tool-suite/temp/releng/com.springsource.sts.re leng/epp/2.1.0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/com.collabnet.subversion.merge_1.9.0.4.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/com.sun.jna_3.0.9.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tigris.subversion.clientadapter_1.6.0.2.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tigris.subversion.clientadapter.javahl_1.6.3.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/sprin
g
>>
> so
>>
>> urce/sts-2.1.0.RC1/plugins/org.tigris.subversion.clientadapter.svnkit_1.6.2.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tigris.subversion.subclipse.core_1.6.2.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tigris.subversion.subclipse.doc_1.3.0.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tigris.subversion.subclipse.graph_1.0.7.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tigris.subversion.subclipse.mylyn_3.0.0.jar@4,reference\:file\:/Users/cdupuis/Development/
J
>>
> av
>>
>> a/work/spring-tool-suite/temp/releng/com.springsource.sts.re leng/epp/2.1.0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tigris.subversion.subclipse.ui_1.6.2.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tmatesoft.svnkit_1.3.0.5847.jar@4
>>
>> org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.e clipse.equinox.simpleconfigurator/bundles.info
>>
>> eclipse.product=com.springsource.sts.ide
>> osgi.splashPath=platform\:/base/plugins/com.springsource.sts
>> osgi.framework.extensions=
>> osgi.bundles.defaultStartLevel=4
>> eclipse.p2.data.area=@config.dir/../p2/
>> eclipse.application=org.eclipse.ui.ide.workbench
>>
>>
>> After this update I can't start Eclipse anymore. Quite obvious looking
>> at the bundles list above.
>>
>> This does not happen when I do it in the standard JEE package. I
>> compared the bundles.info and the config.ini but couldn't find any
>> differences that seemed relevant.
>>
>> What is missing here?
>>
>> Thanks for your help again.
>>
>> Christian
Re: [p2] config.ini files changes after installing plugins from the UI [message #67614 is a reply to message #66264] Thu, 09 July 2009 08:33 Go to previous message
Philippe Faes is currently offline Philippe FaesFriend
Messages: 3
Registered: July 2009
Junior Member
Same problem here.

We have an RCP, but after updating to the newly built RCP (based on
Eclipse 3.5) our application will not start.

Turns out the config.ini file is modified and contains this line:
org.eclipse.equinox.simpleconfigurator.configUrl=

When I change it to this:
org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.e clipse.equinox.simpleconfigurator/bundles.info
the RCP application works again.

Since the RCP is installed in the field, we need the update to be smooth
(we cannot ask our users to edit config.ini). Renaming the RCP to
"eclipse" is also not an option.

Any idea why config.ini is broken and how to avoid this?

Philippe
Re: [p2] config.ini files changes after installing plugins from the UI [message #598610 is a reply to message #65669] Thu, 25 June 2009 21:36 Go to previous message
Christian Dupuis is currently offline Christian DupuisFriend
Messages: 8
Registered: July 2009
Junior Member
This turned out to be a problem with renaming the Eclipse.app to
something different: when I rename my STS.app back to Eclipse.app
everything works fine.

What is the correct way of renaming the Eclipse.app then?

Christian

Christian Dupuis wrote:
> All, I managed to built my 3.5-based distribution just fine, but when I
> use the update manager to install - lets say - Subclipse from
> http://subclipse.tigris.org/update_1.6.x my config.ini changes and
> Eclipse crashes on start.
>
> Here is my config.ini as produced by the package build:
>
> #This configuration file was written by:
> org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxF wConfigFileParser
>
> #Wed Jun 24 14:28:40 CEST 2009
> org.eclipse.update.reconcile=false
> eclipse.p2.profile=com.springsource.sts.ide
> osgi.instance.area.default=@user.home/Documents/workspace
> osgi.framework=file\:plugins/org.eclipse.osgi_3.5.0.v2009052 0.jar
> eclipse.buildId=I20090611-1540
> osgi.bundles=reference\:file\: org.eclipse.equinox.simpleconfigurator_1.0.100.v20090520-190 5.jar @1\:start
>
> org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.e clipse.equinox.simpleconfigurator/bundles.info
>
> eclipse.product=com.springsource.sts.ide
> osgi.splashPath=platform\:/base/plugins/com.springsource.sts
> eclipse.application=org.eclipse.ui.ide.workbench
> osgi.framework.extensions=reference\:file\:javax.transaction _1.1.1.v200906161300.jar,reference\:file\:org.eclipse.persis tence.jpa.equinox.weaving_1.1.2.v20090612-r4475.jar
>
> eclipse.p2.data.area=@config.dir/../p2/
> osgi.bundles.defaultStartLevel=4
>
> When I install all the features from Subclipse I end up with the
> following config.ini:
>
> #This configuration file was written by:
> org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxF wConfigFileParser
>
> #Thu Jun 25 17:43:27 CEST 2009
> org.eclipse.update.reconcile=false
> eclipse.p2.profile=com.springsource.sts.ide
> osgi.instance.area.default=@user.home/Documents/workspace
> osgi.framework=file\:/Users/cdupuis/Development/Java/work/sp ring-tool-suite/temp/releng/com.springsource.sts.releng/epp/ 2.1.0.RC1-e3.5/springsource/sts-2.1.0.RC1/Eclipse.app/Conten ts/MacOS/plugins/org.eclipse.osgi_3.5.0.v20090520.jar
>
> eclipse.buildId=I20090611-1540
> osgi.bundles=reference\:file\:/Users/cdupuis/Development/Jav a/work/spring-tool-suite/temp/releng/com.springsource.sts.re leng/epp/2.1.0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/com.collabnet.subversion.merge_1.9.0.4.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/com.sun.jna_3.0.9.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tigris.subversion.clientadapter_1.6.0.2.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tigris.subversion.clientadapter.javahl_1.6.3.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/spring
so
>
> urce/sts-2.1.0.RC1/plugins/org.tigris.subversion.clientadapter.svnkit_1.6.2.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tigris.subversion.subclipse.core_1.6.2.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tigris.subversion.subclipse.doc_1.3.0.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tigris.subversion.subclipse.graph_1.0.7.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tigris.subversion.subclipse.mylyn_3.0.0.jar@4,reference\:file\:/Users/cdupuis/Development/J
av
>
> a/work/spring-tool-suite/temp/releng/com.springsource.sts.re leng/epp/2.1.0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tigris.subversion.subclipse.ui_1.6.2.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tmatesoft.svnkit_1.3.0.5847.jar@4
>
> org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.e clipse.equinox.simpleconfigurator/bundles.info
>
> eclipse.product=com.springsource.sts.ide
> osgi.splashPath=platform\:/base/plugins/com.springsource.sts
> osgi.framework.extensions=
> osgi.bundles.defaultStartLevel=4
> eclipse.p2.data.area=@config.dir/../p2/
> eclipse.application=org.eclipse.ui.ide.workbench
>
>
> After this update I can't start Eclipse anymore. Quite obvious looking
> at the bundles list above.
>
> This does not happen when I do it in the standard JEE package. I
> compared the bundles.info and the config.ini but couldn't find any
> differences that seemed relevant.
>
> What is missing here?
>
> Thanks for your help again.
>
> Christian
Re: [p2] config.ini files changes after installing plugins from the UI [message #598826 is a reply to message #65737] Tue, 30 June 2009 13:29 Go to previous message
Eclipse UserFriend
Originally posted by: luzi.anderegg.ergon.ch

I had similar problems after downloading the Modeling package and then
installing the PDE visualization from my old 3.4 eclipse via the profile.

Editing manually the config.ini let me restart my eclipse.
Is this a good approach or are there any problems with manually editing
config.ini?
When does p2 write additional info into bundles.info and when does it
directly write into config.ini?

Thanks,
Luzi

Christian Dupuis wrote:
> This turned out to be a problem with renaming the Eclipse.app to
> something different: when I rename my STS.app back to Eclipse.app
> everything works fine.
>
> What is the correct way of renaming the Eclipse.app then?
>
> Christian
>
> Christian Dupuis wrote:
>> All, I managed to built my 3.5-based distribution just fine, but when
>> I use the update manager to install - lets say - Subclipse from
>> http://subclipse.tigris.org/update_1.6.x my config.ini changes and
>> Eclipse crashes on start.
>>
>> Here is my config.ini as produced by the package build:
>>
>> #This configuration file was written by:
>> org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxF wConfigFileParser
>>
>> #Wed Jun 24 14:28:40 CEST 2009
>> org.eclipse.update.reconcile=false
>> eclipse.p2.profile=com.springsource.sts.ide
>> osgi.instance.area.default=@user.home/Documents/workspace
>> osgi.framework=file\:plugins/org.eclipse.osgi_3.5.0.v2009052 0.jar
>> eclipse.buildId=I20090611-1540
>> osgi.bundles=reference\:file\: org.eclipse.equinox.simpleconfigurator_1.0.100.v20090520-190 5.jar @1\:start
>>
>> org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.e clipse.equinox.simpleconfigurator/bundles.info
>>
>> eclipse.product=com.springsource.sts.ide
>> osgi.splashPath=platform\:/base/plugins/com.springsource.sts
>> eclipse.application=org.eclipse.ui.ide.workbench
>> osgi.framework.extensions=reference\:file\:javax.transaction _1.1.1.v200906161300.jar,reference\:file\:org.eclipse.persis tence.jpa.equinox.weaving_1.1.2.v20090612-r4475.jar
>>
>> eclipse.p2.data.area=@config.dir/../p2/
>> osgi.bundles.defaultStartLevel=4
>>
>> When I install all the features from Subclipse I end up with the
>> following config.ini:
>>
>> #This configuration file was written by:
>> org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxF wConfigFileParser
>>
>> #Thu Jun 25 17:43:27 CEST 2009
>> org.eclipse.update.reconcile=false
>> eclipse.p2.profile=com.springsource.sts.ide
>> osgi.instance.area.default=@user.home/Documents/workspace
>> osgi.framework=file\:/Users/cdupuis/Development/Java/work/sp ring-tool-suite/temp/releng/com.springsource.sts.releng/epp/ 2.1.0.RC1-e3.5/springsource/sts-2.1.0.RC1/Eclipse.app/Conten ts/MacOS/plugins/org.eclipse.osgi_3.5.0.v20090520.jar
>>
>> eclipse.buildId=I20090611-1540
>> osgi.bundles=reference\:file\:/Users/cdupuis/Development/Jav a/work/spring-tool-suite/temp/releng/com.springsource.sts.re leng/epp/2.1.0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/com.collabnet.subversion.merge_1.9.0.4.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/com.sun.jna_3.0.9.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tigris.subversion.clientadapter_1.6.0.2.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tigris.subversion.clientadapter.javahl_1.6.3.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/sprin
g
>>
> so
>>
>> urce/sts-2.1.0.RC1/plugins/org.tigris.subversion.clientadapter.svnkit_1.6.2.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tigris.subversion.subclipse.core_1.6.2.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tigris.subversion.subclipse.doc_1.3.0.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tigris.subversion.subclipse.graph_1.0.7.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tigris.subversion.subclipse.mylyn_3.0.0.jar@4,reference\:file\:/Users/cdupuis/Development/
J
>>
> av
>>
>> a/work/spring-tool-suite/temp/releng/com.springsource.sts.re leng/epp/2.1.0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tigris.subversion.subclipse.ui_1.6.2.jar@4 ,reference\:file\:/Users/cdupuis/Development/Java/work/sprin g-tool-suite/temp/releng/com.springsource.sts.releng/epp/2.1 .0.RC1-e3.5/springsource/sts-2.1.0.RC1/plugins/org.tmatesoft.svnkit_1.3.0.5847.jar@4
>>
>> org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.e clipse.equinox.simpleconfigurator/bundles.info
>>
>> eclipse.product=com.springsource.sts.ide
>> osgi.splashPath=platform\:/base/plugins/com.springsource.sts
>> osgi.framework.extensions=
>> osgi.bundles.defaultStartLevel=4
>> eclipse.p2.data.area=@config.dir/../p2/
>> eclipse.application=org.eclipse.ui.ide.workbench
>>
>>
>> After this update I can't start Eclipse anymore. Quite obvious looking
>> at the bundles list above.
>>
>> This does not happen when I do it in the standard JEE package. I
>> compared the bundles.info and the config.ini but couldn't find any
>> differences that seemed relevant.
>>
>> What is missing here?
>>
>> Thanks for your help again.
>>
>> Christian
Re: [p2] config.ini files changes after installing plugins from the UI [message #599146 is a reply to message #66264] Thu, 09 July 2009 08:33 Go to previous message
Philippe Faes is currently offline Philippe FaesFriend
Messages: 3
Registered: July 2009
Junior Member
Same problem here.

We have an RCP, but after updating to the newly built RCP (based on
Eclipse 3.5) our application will not start.

Turns out the config.ini file is modified and contains this line:
org.eclipse.equinox.simpleconfigurator.configUrl=

When I change it to this:
org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.e clipse.equinox.simpleconfigurator/bundles.info
the RCP application works again.

Since the RCP is installed in the field, we need the update to be smooth
(we cannot ask our users to edit config.ini). Renaming the RCP to
"eclipse" is also not an option.

Any idea why config.ini is broken and how to avoid this?

Philippe
Previous Topic:Simple Plugin
Next Topic:Feature based app is exporting fine but not starting with exit code -1
Goto Forum:
  


Current Time: Wed Jun 23 17:35:39 GMT 2021

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

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

Back to the top