If you have a composite repo, you can add/remove repos to/from the composite.
The metadata for compositing multiple repos is dead simple to create (either with a tool or by hand); there is tooling to add/remove from an existing repo too. So... instead of creating a single repo which overlaps the product, you could create two (or more) repos which contain complimentary sets of IUs. This is what we do for JBoss Developer Studio: we have one repo that contains the stuff from Eclipse.org we need (Web Tools, etc.), a second one with JBoss Tools' features, a third with third-party items (SpringIDE and TestNG) and a fourth with some experimental stuff. Then these sites can be combined into a single site from which to provide updates. We also composite sites together to make testing easier and be able to build aggregate update sites more easily. Here's a sample of the metadata files: http://download.jboss.org/jbosstools/builds/staging/_composite_/trunk/compositeArtifacts.xml http://download.jboss.org/jbosstools/builds/staging/_composite_/trunk/compositeContent.xml For more (and some discussion of the tooling available), see: http://wiki.eclipse.org/Equinox/p2/Composite_Repositories_%28new%29 http://wiki.eclipse.org/Equinox/p2/Ant_Tasks#Composite_Repository_Task HTH, Nick 2010/12/27 Jacek Pospychała <jace...@zend.com> > thanks Paul, > ah I overlooked p2.remove.ui on this page! > It doesn't perfectly suit my needs because I have to list exact IUs to > remove, whereas I have a whole repo. > But maybe there's an easy way to turn a repo into list of IUs and then turn > that list into p2.remove.ui calls... :-) > > > ________________________________________ > From: dash-dev-boun...@eclipse.org [dash-dev-boun...@eclipse.org] on > behalf of Paul Webster [pwebs...@alumni.uwaterloo.ca] > Sent: 27 December 2010 20:40 > To: Tools for Committer Community > Subject: Re: [dash-dev] tool to delete one repo from other repo > > 2010/12/27 Jacek Pospychała <jace...@zend.com<mailto:jace...@zend.com>> > hi Relengs, > > I have a repo that will always be installed on top of some product, but > content of repo and this product overlaps a bit. > Because repo will be distributed in some old fashioned way (like a floppy > drive:-) ), I want it to be as small as possible. > So I want all IUs that are in the product to be removed from repo. > > > You can do it as part of PDE build, there's a p2.remove.iu task. We were > using it in the e4 build (commented out in the postSetup task ATM): > > > http://dev.eclipse.org/viewcvs/viewvc.cgi/e4/releng/org.eclipse.e4.builder/builder/general/customTargets.xml?view=co&revision=1.90.2.4&content-type=text%2Fplain > > See > http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/p2_repositorytasks.htmfor > full syntax. > > Later, > PW > > -- > Paul Webster > Hi floor. Make me a sammich! - GIR > _______________________________________________ > dash-dev mailing list > dash-dev@eclipse.org > https://dev.eclipse.org/mailman/listinfo/dash-dev > -- Nick Boldt :: JBoss by Red Hat Productization Lead :: JBoss Tools & Dev Studio Release Engineer :: Dash Athena http://nick.divbyzero.com
_______________________________________________ dash-dev mailing list dash-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/dash-dev