Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "EclipseCon 2010 p2 tutorial"

m
m
Line 22: Line 22:
 
**add a new feature to your app, rebuild it, put it in the repo and show the self-update working  
 
**add a new feature to your app, rebuild it, put it in the repo and show the self-update working  
 
*Something similar for OSGi developers. (Obviously things are very similar, but we would have to pick an example and focus on it during the tutorial).
 
*Something similar for OSGi developers. (Obviously things are very similar, but we would have to pick an example and focus on it during the tutorial).
 
  
  
Line 30: Line 29:
  
 
kmoir> This seems similar to what [https://www.eclipsecon.org/submissions/2010/view_talk.php?id=1505 Sonatype's Nexus talk] is discussing.  
 
kmoir> This seems similar to what [https://www.eclipsecon.org/submissions/2010/view_talk.php?id=1505 Sonatype's Nexus talk] is discussing.  
 +
 +
Notes from Ian and Kim's talk regarding the tutorial.
 +
 +
30 minute introduction to p2
 +
-Kim will ask PC if other p2 talks can be scheduled before our tutorial so people have a better background.  (Susan's update and extensions, Pascal's p2 api)
 +
-Ian will send Kim the latest Hyperbola code to take a look the examples
 +
 +
15 minutes
 +
1) First exercise - exporting from IDE and creating a repo
 +
-describe p2 properties that you can set in your build properties - for example for generating, compressing, and naming repos
 +
 +
2) Second exercise - create a builder so the the build is reproducible
 +
-go into a small tangent about how reproducible builds are important and why
 +
-need to have install location with same content as repo
 +
-provide product source
 +
 +
3) Provision SDK as a target.
 +
-Add new bundles - for install something to add a toolbar item
 +
-Export or build repository
 +
-install new add on into Hyperbola
 +
 +
3) Mylyn UI - Ian will ping Susan to see when it will be integrated
 +
 +
 +
Other issues
 +
-download content from Yoxos - not sure if Eclipsecon will have sufficient bandwidth.  Maybe will have a mirror like other EclipseCons, perhaps we could piggyback on that.
 +
Kim will followup with Denis.
 +
-explain p2 specific properties in the builder
 +
 +
 +
  
 
[[Category:Equinox_p2|Equinox p2]]
 
[[Category:Equinox_p2|Equinox p2]]

Revision as of 17:11, 15 January 2010

Build specific suggestions

  • Product based builds with p2
  • Using repository tools such as the slicer, repo2runnable and mirror to build smaller components from existing repositories
  • process.p2.repo
  • comparator
  • remove.iu
  • Building composite repositories
  • Repository management
  • Using the publisher
  • Assembling product out of pre-existing components (no compiling)
  • Overview of pde build process to create metadata for product builds
    • setting start levels
    • specifying launchers
    • configuration properties


P2 focus

  • p2 for RCP developers (everything you need to know to make use of p2 in RCP -- including at build + packaging time, at run-time, to provide self updating apps, etc...).
  • self updating - headless and non-headless. See also the RCP update long talk . I am thinking something along the lines of Equinox/p2/Adding Self-Update to an RCP Application (which will be updated before EclipseCon to cover the current state of the world). It would be really helpful to include adding self-update support as part of a sequence:
    • build your first app and include self-update support
    • add a new feature to your app, rebuild it, put it in the repo and show the self-update working
  • Something similar for OSGi developers. (Obviously things are very similar, but we would have to pick an example and focus on it during the tutorial).


Grumpy has left a new comment on your post "p2 tutorial RFC":

I'd really like to see someone explore using P2 for mass (as in pushing/pulling bundles to around 180 global branches) deployment scenarios. It seems to me there would be lots of tooling above and beyond P2 to handle. It would be nice to have someone explore various paths. Another challenging area is the intersection of bundle distribution and role based access (governing who can get what bundles).

kmoir> This seems similar to what Sonatype's Nexus talk is discussing.

Notes from Ian and Kim's talk regarding the tutorial.

30 minute introduction to p2 -Kim will ask PC if other p2 talks can be scheduled before our tutorial so people have a better background. (Susan's update and extensions, Pascal's p2 api) -Ian will send Kim the latest Hyperbola code to take a look the examples

15 minutes 1) First exercise - exporting from IDE and creating a repo -describe p2 properties that you can set in your build properties - for example for generating, compressing, and naming repos

2) Second exercise - create a builder so the the build is reproducible -go into a small tangent about how reproducible builds are important and why -need to have install location with same content as repo -provide product source

3) Provision SDK as a target. -Add new bundles - for install something to add a toolbar item -Export or build repository -install new add on into Hyperbola

3) Mylyn UI - Ian will ping Susan to see when it will be integrated


Other issues -download content from Yoxos - not sure if Eclipsecon will have sufficient bandwidth. Maybe will have a mirror like other EclipseCons, perhaps we could piggyback on that. Kim will followup with Denis. -explain p2 specific properties in the builder

Back to the top