[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] Fwd: Re: tycho 0.18.0 re-staged
|
> But if I add a LOCAL repo using file:///, the build's fine.
This seems to be some magic hidden deeply within p2's org.eclipse.equinox.internal.p2.updatesite.artifact.UpdateSiteArtifactRepositoryFactory (bundle org.eclipse.equinox.p2.updatesite). I don't know if anyone really wants to understand this...
For the most common case, an old-style update site at an http location, I added an example how to convert that site into a proper p2 repository [1].
Regards
Tobias
P.S.: p2 doesn't have a distinction between snapshots and releases, so the <snapshots> and <releases> tags are ignored for layout p2 repositories. Better delete obsolete configuration as soon as possible (before it is copied to a bazillion other places...).
[1] http://wiki.eclipse.org/Tycho/Additional_Tools#publish-features-and-bundles_goal
> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-
> bounces@xxxxxxxxxxx] On Behalf Of Nick Boldt
> Sent: Mittwoch, 29. Mai 2013 06:00
> To: Tycho user list
> Subject: [tycho-user] Fwd: Re: tycho 0.18.0 re-staged
>
>
> Worthy of note, if I add a mirror of the latest PMD 4.0 site to my pom
> to have it added to the target platform...
>
> <repository>
> <id>PMD</id>
>
> <url>http://download.jboss.org/jbosstools/updates/requirements/pmd/4.0.0.v
> 20130510-1000/</url>
> <layout>p2</layout>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> <releases>
> <enabled>true</enabled>
> </releases>
> </repository>
>
> ... the build fails with this error:
>
> "The p2 repository at
> http://download.jboss.org/jbosstools/updates/requirements/pmd/4.0.0.v20130
> 510-1000
>
> contains units from an old style update site which cannot be used for
> dependency resolution"
>
> But if I add a LOCAL repo using file:///, the build's fine.
>
> <repository>
> <id>PMD</id>
>
> <url>file:///home/nboldt/tru/download.jboss.org/jbosstools/updates/require
> ments/pmd/4.0.0.v20130510-1000/</url>
> <layout>p2</layout>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> <releases>
> <enabled>true</enabled>
> </releases>
> </repository>
>
> Why is file:/// acceptable, but http:// is not?
>
> To generate this PMD mirror locally, run this script [1],[2]:
>
> [1]
> https://github.com/jbosstools/jbosstools-
> download.jboss.org/blob/master/jbosstools/updates/requirements/pmd/build.x
> ml
> [2]
> https://github.com/jbosstools/jbosstools-
> download.jboss.org/blob/master/jbosstools/updates/requirements/generic/bui
> ld.xml
>
> N
>
> On 05/28/2013 10:18 AM, Mickael Istria wrote:
> > This 0.18.0 build of Tycho worked perfectly on SWTBot and JBoss Tools
> > builds. No regression was noticed, however I did not try the new
> > features yet.
> > Also, we've encountered a case where partial IUs prevent the build from
> > continuing, but that's an issue we'll probably solve on our side.
> > --
> > Mickael Istria
> > Eclipse developer at JBoss, by Red Hat <http://www.jboss.org/tools>
> > My blog <http://mickaelistria.wordpress.com> - My Tweets
> > <http://twitter.com/mickaelistria>
> >
> >
> > _______________________________________________
> > tycho-user mailing list
> > tycho-user@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/tycho-user
> >
>
> --
> Nick Boldt :: JBoss by Red Hat
> Productization Lead :: JBoss Tools & Dev Studio
> http://nick.divbyzero.com
>
>
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user