[equinox-dev] How to use p2.generator in PDE build
Hi all, I'm in the process of migrating our Eclipse based product to Ganymede and have a few issues with p2. Building the product as usual using the PDE build scripts works nicely but creates a product that cannot be updated as it states 'Cannot launch the Update UI. This installation has not been configured properly for Software Updates.' After quite a lot of digging I've found that the product must be p2-ized which seems like a good idea. I also found a reference to the p2.generator ANT task but absolutely no information on how to use it. Could someone please point me to the right direction here? I guess I must use this task somewhere in customCallbacks.xml or the new customAssembly.xml but I cannot figure out where and which attributes to set. -- Torkild Ulvøy Resheim Senior Design Engineer Atmel Norway AS ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev
Re: [equinox-dev] How to use p2.generator in PDE build
Torkild, In addition to any manual calls you may want to make to the p2.generator, there is some integration with PDE.Build. Unfortunately there is not yet any documentation here. If the org.eclipse.equinox.p2.metadata.generator bundle is present in the builder at script generation time, then there are potentially 4N + 1 generated calls to the p2.generator. For N configurations: 1) In the assemble.[feature].[config].xml scripts: a) Once on assembled features and plugins b) a second time on assembled rootfiles. 2) In the package.[feature].[config].xml scripts: a) Once of the packaged features and plugins b) again on rootfiles from packaging And one final call: 3) In the assemble.all.xml or package.all.xml : A final call to generate a root product IU These calls are all conditional on the generate.p2.metadata property being set. In the case of a product build, the final result at the end of these calls is a repo with an installable product IU. To get an actual p2ized install out of this, you then need to call the p2.director on the repo and install As an example, the SDK is built by first building a master zip containing everything. p2.generator is called on this in a custom step to generate IUs for all the plugins and features. Then the build runs the pde build packager with a .product file and metadata integration to assemble all the rootfiles and generate p2 data on them (steps 2 3 above). Then finally in custom steps it calls p2.director to install the SDK and zip up the results. -Andrew Some properties to define are: generate.p2.metadata=true p2.metadata.repo = file:${buildDirectory}/repo p2.artifact.repo = file:${buildDirectory}/repo p2.metadata.repo.name = Meta Repo Name p2.artifact.repo.name = Artifact Repo Name p2.flavor = tooling p2.publish.artifacts=true John Arthorne/Ottawa/[EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 05/20/2008 10:27 AM Please respond to Equinox development mailing list equinox-dev@eclipse.org To Equinox development mailing list equinox-dev@eclipse.org cc Subject Re: [equinox-dev] How to use p2.generator in PDE build Hi Torkild, Here is a document describing the metadata generator: http://wiki.eclipse.org/Equinox_p2_Metadata_Generator The ant task doesn't yet have documentation, but it takes the same arguments as the generator application. You just need to convert the command line syntax to Ant syntax. For an example, you could look at the Eclipse project scripts that p2-enable the platform itself. See /cvsroot/eclipse/org.eclipse.releng.eclipsebuilder/equinox/buildConfigs/equinox.prov/run.xml, particularly the run.generator target. Feel free to annotate the wiki page with any other details you find useful. John Torkild Ulvøy Resheim [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 05/20/2008 09:50 AM Please respond to Equinox development mailing list equinox-dev@eclipse.org To equinox-dev@eclipse.org cc Subject [equinox-dev] How to use p2.generator in PDE build Hi all, I'm in the process of migrating our Eclipse based product to Ganymede and have a few issues with p2. Building the product as usual using the PDE build scripts works nicely but creates a product that cannot be updated as it states 'Cannot launch the Update UI. This installation has not been configured properly for Software Updates.' After quite a lot of digging I've found that the product must be p2-ized which seems like a good idea. I also found a reference to the p2.generator ANT task but absolutely no information on how to use it. Could someone please point me to the right direction here? I guess I must use this task somewhere in customCallbacks.xml or the new customAssembly.xml but I cannot figure out where and which attributes to set. -- Torkild Ulvøy Resheim Senior Design Engineer Atmel Norway AS ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev
[equinox-dev] Commit rights for Saad Alam have been expired
eclipse.equinox Committers, Jeff McAffer has expired the commit rights for Saad Alam (salam). The reason for this change is: Saad has long since left the Equinox community and is no longer reachable at his last known email address. ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev
[equinox-dev] Commit rights for Vincent Mo have been expired
eclipse.equinox Committers, Jeff McAffer has expired the commit rights for Vincent Mo (vmo). The reason for this change is: Vincent has long since left the Equinox community and is no longer reachable at his last known email address. ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev
[equinox-dev] Commit rights for John Wiegand have been expired
eclipse.equinox Committers, Jeff McAffer has expired the commit rights for John Wiegand (johnw). The reason for this change is: John was added as an Equinox committer in the days when he was on the Eclipse PMC and that is how things were managed. He is not participating in further Equinox issues and is no longer on the PMC. ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev
[equinox-dev] Commit rights for Simon Burns have been expired
eclipse.equinox Committers, Jeff McAffer has expired the commit rights for Simon Burns (seb). The reason for this change is: Unfortunately, after talking with Simon it turns out that he is no longer able to contribute to Equinox. In recognition of his various contributions he is being added to the Committer Emeritus list. Thanks! To honor Simon Burns's contributions to the project, Jeff McAffer has nominated Simon Burns for Committer Emeritus status. ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev
[equinox-dev] Commit rights for Rafael Chaves have been expired
eclipse.equinox Committers, Jeff McAffer has expired the commit rights for Rafael Chaves (rchaves). The reason for this change is: Unfortunately, after talking with Rafael it turns out that he is no longer able to contribute to Equinox. In recognition of his various contributions he is being added to the Committer Emeritus list. Thanks! To honor Rafael Chaves's contributions to the project, Jeff McAffer has nominated Rafael Chaves for Committer Emeritus status. ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev
[equinox-dev] Commit rights for Jennifer Fogell have been expired
eclipse.equinox Committers, Jeff McAffer has expired the commit rights for Jennifer Fogell (jfogell). The reason for this change is: Unfortunately, after talking with Jennifer it turns out that she is no longer able to contribute to Equinox. In recognition of her various contributions she is being added to the Committer Emeritus list. Thanks! To honor Jennifer Fogell's contributions to the project, Jeff McAffer has nominated Jennifer Fogell for Committer Emeritus status. ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev
[equinox-dev] Commit rights for Keith Kimball have been expired
eclipse.equinox Committers, Jeff McAffer has expired the commit rights for Keith Kimball (kkimball). The reason for this change is: Unfortunately, after talking with Keith it turns out that he is no longer able to contribute to Equinox. In recognition of his various contributions he is being added to the Committer Emeritus list. Thanks! To honor Keith Kimball's contributions to the project, Jeff McAffer has nominated Keith Kimball for Committer Emeritus status. ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev
[equinox-dev] Commit rights for Steve Poole have been expired
eclipse.equinox Committers, Jeff McAffer has expired the commit rights for Steve Poole (spoole). The reason for this change is: Unfortunately, after talking with Steve it turns out that he is no longer able to contribute to Equinox. In recognition of his various contributions he is being added to the Committer Emeritus list. Thanks! To honor Steve Poole's contributions to the project, Jeff McAffer has nominated Steve Poole for Committer Emeritus status. ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev
[equinox-dev] Commit rights for Glyn Normington have been expired
eclipse.equinox Committers, Jeff McAffer has expired the commit rights for Glyn Normington (glyn). The reason for this change is: Unfortunately, after talking with Glyn it turns out that he is no longer able to contribute to Equinox. In recognition of his various contributions he is being added to the Committer Emeritus list. Thanks! To honor Glyn Normington's contributions to the project, Jeff McAffer has nominated Glyn Normington for Committer Emeritus status. ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev
[equinox-dev] Commit rights for Pam Tobias have been expired
eclipse.equinox Committers, Jeff McAffer has expired the commit rights for Pam Tobias (ptobias). The reason for this change is: Unfortunately, after talking with Pam it turns out that she is no longer able to contribute to Equinox. In recognition of her various contributions she is being added to the Committer Emeritus list. Thanks! To honor Pam Tobias's contributions to the project, Jeff McAffer has nominated Pam Tobias for Committer Emeritus status. ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev
[equinox-dev] Commit rights for Matthew Webster have been expired
eclipse.equinox Committers, Jeff McAffer has expired the commit rights for Matthew Webster (mwebster). The reason for this change is: Unfortunately, after talking with Matthew it turns out that he is no longer able to contribute to Equinox. In recognition of his various contributions he is being added to the Committer Emeritus list. Thanks! To honor Matthew Webster's contributions to the project, Jeff McAffer has nominated Matthew Webster for Committer Emeritus status. ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev
[equinox-dev] Commit rights for Richard Wilson have been expired
eclipse.equinox Committers, Jeff McAffer has expired the commit rights for Richard Wilson (rwilson). The reason for this change is: Unfortunately, after talking with Richard it turns out that he is no longer able to contribute to Equinox. In recognition of his various contributions he is being added to the Committer Emeritus list. Thanks! To honor Richard Wilson's contributions to the project, Jeff McAffer has nominated Richard Wilson for Committer Emeritus status. ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev
Re: [equinox-dev] Commit rights for Rafael Chaves have been expired
Just out of curiosity, what does Committer Emeritus mean? Does this give them discounts at EclipseCon or anything? I haven't seen this term before... (but I think it's a cool idea to honour ex-committers who made significant contributions) [EMAIL PROTECTED] (portal on behalf of emo) Sent by: [EMAIL PROTECTED] 05/20/2008 04:18 PM Please respond to Equinox development mailing list equinox-dev@eclipse.org To equinox-dev@eclipse.org cc Subject [equinox-dev] Commit rights for Rafael Chaves have been expired eclipse.equinox Committers, Jeff McAffer has expired the commit rights for Rafael Chaves (rchaves). The reason for this change is: Unfortunately, after talking with Rafael it turns out that he is no longer able to contribute to Equinox. In recognition of his various contributions he is being added to the Committer Emeritus list. Thanks! To honor Rafael Chaves's contributions to the project, Jeff McAffer has nominated Rafael Chaves for Committer Emeritus status. ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev
[equinox-dev] Commit rights for Bogdan Gheorghe have been expired
eclipse.equinox Committers, Jeff McAffer has expired the commit rights for Bogdan Gheorghe (gheorghe). The reason for this change is: After consulting with Bogdan we are not sure how he got commit rights in Equinox. In any event, he is not intending to contribute to Equinox in the near future. ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev
RE: [equinox-dev] Commit rights for Rafael Chaves have been expired
AFAIK there are no special rights or priveleges associated with Emeritus status. It is more a recognition of the contributions made. Otherwise former committers would just drop off the face of the project. The concept is new. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=222350. Jeff From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Arthorne Sent: Tuesday, May 20, 2008 4:29 PM To: Equinox development mailing list Subject: Re: [equinox-dev] Commit rights for Rafael Chaves have been expired Just out of curiosity, what does Committer Emeritus mean? Does this give them discounts at EclipseCon or anything? I haven't seen this term before... (but I think it's a cool idea to honour ex-committers who made significant contributions) [EMAIL PROTECTED] (portal on behalf of emo) Sent by: [EMAIL PROTECTED] 05/20/2008 04:18 PM Please respond to Equinox development mailing list equinox-dev@eclipse.org To equinox-dev@eclipse.org cc Subject [equinox-dev] Commit rights for Rafael Chaves have been expired eclipse.equinox Committers, Jeff McAffer has expired the commit rights for Rafael Chaves (rchaves). The reason for this change is: Unfortunately, after talking with Rafael it turns out that he is no longer able to contribute to Equinox. In recognition of his various contributions he is being added to the Committer Emeritus list. Thanks! To honor Rafael Chaves's contributions to the project, Jeff McAffer has nominated Rafael Chaves for Committer Emeritus status. ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev
[equinox-dev] Tagged p2 bundles for build
The map file has been updated for the following Bug changes: + Bug 204209. [prov] Generated repo directory names don't match what colocated repo UI assumes (FIXED) + Bug 217001. [prov] [ui] [metadata] can IU license and copyright properties be URLs? (FIXED) + Bug 232209. [repo] [ui] Refresh makes all available software disappear (FIXED) + Bug 232366. Update site URLs in feature.xml are ignored (FIXED) The following projects have changed: org.eclipse.equinox.p2.metadata.generator org.eclipse.equinox.p2.updatesite org.eclipse.equinox.p2.artifact.repository org.eclipse.equinox.p2.ui.admin.rcp org.eclipse.equinox.p2.tests org.eclipse.equinox.p2.metadata.repository org.eclipse.equinox.p2.director.app___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev
[equinox-dev] Equinox contribution
The map file has been updated for the following Bug changes: + Bug 232636. Locale.setDefault(Locale.ROOT) crashes the framework startup (FIXED) + Bug 232736. Secure storage preference page should use dialog font (FIXED) + Bug 232861. Authorization engine filter incorrectly uses trust.engine service property (FIXED) + Bug 232866. Activator uses Security.getProperty for osgi.signedcontent.* service props? (FIXED) The following projects have changed: org.eclipse.equinox.security.ui org.eclipse.osgi Tom ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev
Re: [equinox-dev] Tagged p2 bundles for build
There's been a long standing bug in the releng tools involving the analysis of what bugs got fixed. I've never tried to track it down, but I've seen it happen where certain changes are always picked up and bugs are listed in the build notes when no work was done. Has anyone else noticed that these two keep appearing in the list? + Bug 204209. [prov] Generated repo directory names don't match what colocated repo UI assumes (FIXED) + Bug 217001. [prov] [ui] [metadata] can IU license and copyright properties be URLs? (FIXED) |-+--- | | John Arthorne | | | [EMAIL PROTECTED]| | | m.com | | | Sent by:| | | equinox-dev-bounces@| | | eclipse.org | | | | | | | | | 05/20/2008 03:24 PM | | | Please respond to | | | Equinox development | | | mailing list| |-+--- ---| | | | To: equinox-dev@eclipse.org | | cc: | | Subject: [equinox-dev] Tagged p2 bundles for build | ---| The map file has been updated for the following Bug changes: + Bug 204209. [prov] Generated repo directory names don't match what colocated repo UI assumes (FIXED) + Bug 217001. [prov] [ui] [metadata] can IU license and copyright properties be URLs? (FIXED) + Bug 232209. [repo] [ui] Refresh makes all available software disappear (FIXED) + Bug 232366. Update site URLs in feature.xml are ignored (FIXED) The following projects have changed: org.eclipse.equinox.p2.metadata.generator org.eclipse.equinox.p2.updatesite org.eclipse.equinox.p2.artifact.repository org.eclipse.equinox.p2.ui.admin.rcp org.eclipse.equinox.p2.tests org.eclipse.equinox.p2.metadata.repository org.eclipse.equinox.p2.director.app ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev inline: graycol.gifinline: ecblank.gifinline: pic20007.gif___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev
RE: [equinox-dev] Is the P2 installer supposed to work?
Dunno Alex. This works fine for me on windows but I see your point on the Mac. I had a look at the p2installer.ini: -showsplash org.eclipse.platform -vmargs -Xdock:icon=../Resources/Eclipse.icns -XstartOnFirstThread -Xms40m -Xmx256m -XX:MaxPermSize=256m -Dorg.eclipse.swt.internal.carbon.smallFonts No mention of the org.eclipse.equinox.p2.installDescription that the page suggests it looks for. I try adding it, and get a new message saying the error is invalid. That's maybe because the URL that that page points to is invalid: http://update.eclipse.org/eclipse/testUpdates/sdk- installer.properties - 404 not found The doc is wrong. The correct URL is http://download.eclipse.org/eclipse/testUpdates/sdk-installer.properties * When finished, you can delete the installer I deleted it. At least that worked ... Cute. Not really... Jeff ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev
RE: [equinox-dev] Is the P2 installer supposed to work?
I should have mentioned... - Please enter a bug for this with your good steps. Thanks! - We have been running the installer on windows and the Mac quite regularly and even via JNLP. This must be a quirk in the build as the product definition file looks fine. Jeff -Original Message- From: [EMAIL PROTECTED] [mailto:equinox-dev- [EMAIL PROTECTED] On Behalf Of Jeff McAffer Sent: Wednesday, May 21, 2008 12:18 AM To: 'Equinox development mailing list' Subject: RE: [equinox-dev] Is the P2 installer supposed to work? Dunno Alex. This works fine for me on windows but I see your point on the Mac. I had a look at the p2installer.ini: -showsplash org.eclipse.platform -vmargs -Xdock:icon=../Resources/Eclipse.icns -XstartOnFirstThread -Xms40m -Xmx256m -XX:MaxPermSize=256m -Dorg.eclipse.swt.internal.carbon.smallFonts No mention of the org.eclipse.equinox.p2.installDescription that the page suggests it looks for. I try adding it, and get a new message saying the error is invalid. That's maybe because the URL that that page points to is invalid: http://update.eclipse.org/eclipse/testUpdates/sdk- installer.properties - 404 not found The doc is wrong. The correct URL is http://download.eclipse.org/eclipse/testUpdates/sdk- installer.properties * When finished, you can delete the installer I deleted it. At least that worked ... Cute. Not really... Jeff ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev ___ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev