Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [iam-dev] Branch for maven-embedder-2.1.0.659801c

While you can set the "sites to visit" for Eclipse 3.3, this will not have the desired end result that you are looking for while using P2.

The urls present in the site.xml will be added to the p2 metadata repository (content.xml), but they will not be enabled, and consequently not searched for extra content.

Your url points to 127.0.0.1
Here's the corrected url - http://tinyurl.com/5j3uo6

- Joakim

2008/12/3 Abel Muiño Vizcaino <amuino@xxxxxxxxx>
Wouldn't the "sites to visit" page of the feature editor do the same thing -and work on 3.3-? Haven't tried it, but with some luck the p2 metadata generator would add the references too...



El 04/12/2008, a las 1:24, Joakim Erdfelt escribió:

For the past few weeks I've been using a modified maven-embedder to allow for AJDT & Modelling use within Eclipse Ganymede.

I've created a branch at q4e to show what I've done

https://q4e.googlecode.com/svn/branches/maven-embedder-2.1.0.659801c

One thing we need to address is how do we create an eclipse.org update site that references the q4e update site for content, so that we don't include the maven-embedder into the /features/ and /plugins/ on the eclipse.org update site.

I have a solution for that too. :-)
(But only for Eclipse Ganymede users, I rely on P2.)

This is how it's set up.

1) Generate the q4e side update site with the maven-embedder update within it.
2) Generate the p2 metadata on the q4e side.
3) Generate the IAM side update site.
4) Generate the p2 metadata on the IAM side.
5) Manually Update the IAM update site's content.xml to include the following lines ...

  <references size='2'>
    <repository url="" href="http://dev.eclipse.org/svnroot/technology/org.eclipse.iam/trunk/updatesite" target="_blank">http://dev.eclipse.org/svnroot/technology/org.eclipse.iam/trunk/updatesite' type='0' options='0'/>
    <repository url="" href="http://dev.eclipse.org/svnroot/technology/org.eclipse.iam/trunk/updatesite" target="_blank">http://dev.eclipse.org/svnroot/technology/org.eclipse.iam/trunk/updatesite' type='1' options='0'/>
    <repository url="" href="http://q4e.googlecode.com/svn/trunk/updatesite-dev/" target="_blank">http://q4e.googlecode.com/svn/trunk/updatesite-dev/' type='0' options='1'/>
    <repository url="" href="http://q4e.googlecode.com/svn/trunk/updatesite-dev/" target="_blank">http://q4e.googlecode.com/svn/trunk/updatesite-dev/' type='1' options='1'/>
  </references>

What this does, is add a reference to the metadata repository and artifact repository on the q4e side, and also specify in the options that it is enabled.  This will in turn cause P2 to add all 4 repositories listed and search them for dependencies.

- Joakim Erdfelt
_______________________________________________
iam-dev mailing list
iam-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/iam-dev


_______________________________________________
iam-dev mailing list
iam-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/iam-dev



Back to the top