Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Absolute URLs in the config.ini generated by p2
Absolute URLs in the config.ini generated by p2 [message #37030] Thu, 11 December 2008 14:08 Go to next message
Ketan Padegaonkar is currently offline Ketan PadegaonkarFriend
Messages: 873
Registered: July 2009
Senior Member
Hi,

We're building our p2 product using the following command line, and the
generated config.ini contains absolute paths for the
org.eclipse.equinox.simpleconfigurator.configUrl property. I've turned
on the roaming flag.

I'm not sure whether it's p2 at fault or me. Could someone point me to
workarounds for this ?

--- begin command line args ---

-nosplash --launcher.suppressErrors
-application org.eclipse.equinox.p2.director.app.application
-metadataRepository file:${build_directory}/repo
-artifactRepository file:${build_directory}/repo
-installIU com.thoughtworks.twist.eclipse.ui.product
-version 1.0.0.qualifier
-profile TwistProfile
-profileProperties org.eclipse.update.install.features=true
-p2.os ${os} -p2.ws ${ws} -p2.arch ${arch}
-roaming
-destination ${twist-home}
-bundlepool ${twist-home}

--- end command line args ---



--- begin the config.ini file ---

#This configuration file was written by:
org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxF wConfigFileParser
#Thu Dec 11 19:10:15 IST 2008
eclipse.p2.profile=TwistProfile
osgi.framework=file\:plugins/org.eclipse.osgi_3.4.0.v2008060 5-1900.jar
osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.0.v20080604.jar@1\:start
org.eclipse.equinox.simpleconfigurator.configUrl=file\:../.. /../tmp/eclipse/macosx.carbon.x86/eclipse/configuration/org. eclipse.equinox.simpleconfigurator/bundles.info
eclipse.product=com.thoughtworks.twist.eclipse.ui.product
osgi.splashPath=platform\:/base/plugins/com.thoughtworks.twi st.eclipse.ui
eclipse.p2.data.area=@config.dir/../p2
osgi.bundles.defaultStartLevel=4
eclipse.application=com.thoughtworks.twist.application

--- end the config.ini file ---

-- Ketan
Re: Absolute URLs in the config.ini generated by p2 [message #37444 is a reply to message #37030] Fri, 12 December 2008 16:09 Go to previous messageGo to next message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
There was a bunch or work done in 3.5M4 around paths and problems like
this.
M4 is due to be declared in the next day or so. Get it here:
http://download.eclipse.org/eclipse/downloads/
The current M4 candidate build is I20081211-1908

-Andrew


Ketan Padegaonkar wrote:
> Hi,
>
> We're building our p2 product using the following command line, and the
> generated config.ini contains absolute paths for the
> org.eclipse.equinox.simpleconfigurator.configUrl property. I've turned
> on the roaming flag.
>
> I'm not sure whether it's p2 at fault or me. Could someone point me to
> workarounds for this ?
>
> --- begin command line args ---
>
> -nosplash --launcher.suppressErrors
> -application org.eclipse.equinox.p2.director.app.application
> -metadataRepository file:${build_directory}/repo
> -artifactRepository file:${build_directory}/repo
> -installIU com.thoughtworks.twist.eclipse.ui.product
> -version 1.0.0.qualifier
> -profile TwistProfile
> -profileProperties org.eclipse.update.install.features=true
> -p2.os ${os} -p2.ws ${ws} -p2.arch ${arch}
> -roaming
> -destination ${twist-home}
> -bundlepool ${twist-home}
>
> --- end command line args ---
>
>
>
> --- begin the config.ini file ---
>
> #This configuration file was written by:
> org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxF wConfigFileParser
>
> #Thu Dec 11 19:10:15 IST 2008
> eclipse.p2.profile=TwistProfile
> osgi.framework=file\:plugins/org.eclipse.osgi_3.4.0.v2008060 5-1900.jar
> osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.0.v20080604.jar@1\:start
>
> org.eclipse.equinox.simpleconfigurator.configUrl=file\:../.. /../tmp/eclipse/macosx.carbon.x86/eclipse/configuration/org. eclipse.equinox.simpleconfigurator/bundles.info
>
> eclipse.product=com.thoughtworks.twist.eclipse.ui.product
> osgi.splashPath=platform\:/base/plugins/com.thoughtworks.twi st.eclipse.ui
> eclipse.p2.data.area=@config.dir/../p2
> osgi.bundles.defaultStartLevel=4
> eclipse.application=com.thoughtworks.twist.application
>
> --- end the config.ini file ---
>
> -- Ketan
>
>
>
Re: Absolute URLs in the config.ini generated by p2 [message #37956 is a reply to message #37444] Wed, 17 December 2008 02:27 Go to previous message
Ketan Padegaonkar is currently offline Ketan PadegaonkarFriend
Messages: 873
Registered: July 2009
Senior Member
Hi Andrew,

This is too bad but we're still on 3.4 :( Is there a workaround to this
problem.

-- Ketan

On 12/12/08 21:39, Andrew Niefer wrote:
> There was a bunch or work done in 3.5M4 around paths and problems like
> this.
> M4 is due to be declared in the next day or so. Get it here:
> http://download.eclipse.org/eclipse/downloads/
> The current M4 candidate build is I20081211-1908
>
> -Andrew
>
>
> Ketan Padegaonkar wrote:
>> Hi,
>>
>> We're building our p2 product using the following command line, and
>> the generated config.ini contains absolute paths for the
>> org.eclipse.equinox.simpleconfigurator.configUrl property. I've turned
>> on the roaming flag.
>>
>> I'm not sure whether it's p2 at fault or me. Could someone point me to
>> workarounds for this ?
>>
>> --- begin command line args ---
>>
>> -nosplash --launcher.suppressErrors
>> -application org.eclipse.equinox.p2.director.app.application
>> -metadataRepository file:${build_directory}/repo
>> -artifactRepository file:${build_directory}/repo
>> -installIU com.thoughtworks.twist.eclipse.ui.product
>> -version 1.0.0.qualifier
>> -profile TwistProfile
>> -profileProperties org.eclipse.update.install.features=true
>> -p2.os ${os} -p2.ws ${ws} -p2.arch ${arch}
>> -roaming
>> -destination ${twist-home}
>> -bundlepool ${twist-home}
>>
>> --- end command line args ---
>>
>>
>>
>> --- begin the config.ini file ---
>>
>> #This configuration file was written by:
>> org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxF wConfigFileParser
>>
>> #Thu Dec 11 19:10:15 IST 2008
>> eclipse.p2.profile=TwistProfile
>> osgi.framework=file\:plugins/org.eclipse.osgi_3.4.0.v2008060 5-1900.jar
>> osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.0.v20080604.jar@1\:start
>>
>> org.eclipse.equinox.simpleconfigurator.configUrl=file\:../.. /../tmp/eclipse/macosx.carbon.x86/eclipse/configuration/org. eclipse.equinox.simpleconfigurator/bundles.info
>>
>> eclipse.product=com.thoughtworks.twist.eclipse.ui.product
>> osgi.splashPath=platform\:/base/plugins/com.thoughtworks.twi st.eclipse.ui
>> eclipse.p2.data.area=@config.dir/../p2
>> osgi.bundles.defaultStartLevel=4
>> eclipse.application=com.thoughtworks.twist.application
>>
>> --- end the config.ini file ---
>>
>> -- Ketan
>>
>>
>>
Re: Absolute URLs in the config.ini generated by p2 [message #587083 is a reply to message #37030] Fri, 12 December 2008 16:09 Go to previous message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
There was a bunch or work done in 3.5M4 around paths and problems like
this.
M4 is due to be declared in the next day or so. Get it here:
http://download.eclipse.org/eclipse/downloads/
The current M4 candidate build is I20081211-1908

-Andrew


Ketan Padegaonkar wrote:
> Hi,
>
> We're building our p2 product using the following command line, and the
> generated config.ini contains absolute paths for the
> org.eclipse.equinox.simpleconfigurator.configUrl property. I've turned
> on the roaming flag.
>
> I'm not sure whether it's p2 at fault or me. Could someone point me to
> workarounds for this ?
>
> --- begin command line args ---
>
> -nosplash --launcher.suppressErrors
> -application org.eclipse.equinox.p2.director.app.application
> -metadataRepository file:${build_directory}/repo
> -artifactRepository file:${build_directory}/repo
> -installIU com.thoughtworks.twist.eclipse.ui.product
> -version 1.0.0.qualifier
> -profile TwistProfile
> -profileProperties org.eclipse.update.install.features=true
> -p2.os ${os} -p2.ws ${ws} -p2.arch ${arch}
> -roaming
> -destination ${twist-home}
> -bundlepool ${twist-home}
>
> --- end command line args ---
>
>
>
> --- begin the config.ini file ---
>
> #This configuration file was written by:
> org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxF wConfigFileParser
>
> #Thu Dec 11 19:10:15 IST 2008
> eclipse.p2.profile=TwistProfile
> osgi.framework=file\:plugins/org.eclipse.osgi_3.4.0.v2008060 5-1900.jar
> osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.0.v20080604.jar@1\:start
>
> org.eclipse.equinox.simpleconfigurator.configUrl=file\:../.. /../tmp/eclipse/macosx.carbon.x86/eclipse/configuration/org. eclipse.equinox.simpleconfigurator/bundles.info
>
> eclipse.product=com.thoughtworks.twist.eclipse.ui.product
> osgi.splashPath=platform\:/base/plugins/com.thoughtworks.twi st.eclipse.ui
> eclipse.p2.data.area=@config.dir/../p2
> osgi.bundles.defaultStartLevel=4
> eclipse.application=com.thoughtworks.twist.application
>
> --- end the config.ini file ---
>
> -- Ketan
>
>
>
Re: Absolute URLs in the config.ini generated by p2 [message #587272 is a reply to message #37444] Wed, 17 December 2008 02:27 Go to previous message
Ketan Padegaonkar is currently offline Ketan PadegaonkarFriend
Messages: 873
Registered: July 2009
Senior Member
Hi Andrew,

This is too bad but we're still on 3.4 :( Is there a workaround to this
problem.

-- Ketan

On 12/12/08 21:39, Andrew Niefer wrote:
> There was a bunch or work done in 3.5M4 around paths and problems like
> this.
> M4 is due to be declared in the next day or so. Get it here:
> http://download.eclipse.org/eclipse/downloads/
> The current M4 candidate build is I20081211-1908
>
> -Andrew
>
>
> Ketan Padegaonkar wrote:
>> Hi,
>>
>> We're building our p2 product using the following command line, and
>> the generated config.ini contains absolute paths for the
>> org.eclipse.equinox.simpleconfigurator.configUrl property. I've turned
>> on the roaming flag.
>>
>> I'm not sure whether it's p2 at fault or me. Could someone point me to
>> workarounds for this ?
>>
>> --- begin command line args ---
>>
>> -nosplash --launcher.suppressErrors
>> -application org.eclipse.equinox.p2.director.app.application
>> -metadataRepository file:${build_directory}/repo
>> -artifactRepository file:${build_directory}/repo
>> -installIU com.thoughtworks.twist.eclipse.ui.product
>> -version 1.0.0.qualifier
>> -profile TwistProfile
>> -profileProperties org.eclipse.update.install.features=true
>> -p2.os ${os} -p2.ws ${ws} -p2.arch ${arch}
>> -roaming
>> -destination ${twist-home}
>> -bundlepool ${twist-home}
>>
>> --- end command line args ---
>>
>>
>>
>> --- begin the config.ini file ---
>>
>> #This configuration file was written by:
>> org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxF wConfigFileParser
>>
>> #Thu Dec 11 19:10:15 IST 2008
>> eclipse.p2.profile=TwistProfile
>> osgi.framework=file\:plugins/org.eclipse.osgi_3.4.0.v2008060 5-1900.jar
>> osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.0.v20080604.jar@1\:start
>>
>> org.eclipse.equinox.simpleconfigurator.configUrl=file\:../.. /../tmp/eclipse/macosx.carbon.x86/eclipse/configuration/org. eclipse.equinox.simpleconfigurator/bundles.info
>>
>> eclipse.product=com.thoughtworks.twist.eclipse.ui.product
>> osgi.splashPath=platform\:/base/plugins/com.thoughtworks.twi st.eclipse.ui
>> eclipse.p2.data.area=@config.dir/../p2
>> osgi.bundles.defaultStartLevel=4
>> eclipse.application=com.thoughtworks.twist.application
>>
>> --- end the config.ini file ---
>>
>> -- Ketan
>>
>>
>>
Previous Topic:Any way to insert SCM revision # as qualifier per plugin/feature not globally?
Next Topic:p2 director issue - "binary" and "ini" are missing
Goto Forum:
  


Current Time: Thu Sep 16 18:36:49 GMT 2021

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

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

Back to the top