Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Resource p2 repository not found with 0.13.0

Hi,

I've run into the issue again, and am pretty confident of the replication steps, but am uncertain whether the cause is a bug,  'user error' on my part, or something else.

Basically:
- I have a parent project that builds several plugins (same reactor).
- The plugins depend on each other:
   c->b->a, d->b->a, e->a, f->e->a
   Where build order goes a, b,c,d,e,...
   All are "manifest first"
-  They also have a few dependencies from eclipse, orbit, and a third p2 repos I've setup with other "OSGi-ified" third-party jars.
This was all working using 0.11.1.

I changed to 0.13.0 (built fine).  I ran into issues where my local cache appeared corrupted, so I deleted it and tried to build again. Got errors that dependencies couldn't be satisfied. I then switched back  to 0.11.1 and it built successfully. As an experiment I switched back to 0.13.0, tried build again... success.

My guess is the problem is either with Tycho 0.13.0 not downloading some plugin it needs (unlikely), or 0.11.1 is downloading and locally caching dependencies that for some reason 0.13.0 cannot resolve (something to do with the changes for "target platform"?).

I do not do much WRT setting up a target platform (that may be the problem) I don't know.
Snippets from the pom are below:
        ...
<plugins>
             ...
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho.version}</version>
<configuration>
<resolver>p2</resolver>
<!-- ....  -->
</configuration>
</plugin>
            ....
</plugins>
        ...
<repositories>
<repository>
<id>Eclipse</id>
<layout>p2</layout>
<url>http://download.eclipse.org/releases/${eclipse.drop}</url>
</repository>
<repository>
<id>Orbit</id>
<layout>p2</layout>
<url>http://download.eclipse.org/tools/orbit/downloads/drops/${orbit.drop}/repository</url>
</repository>
<repository>
<id>EL_CompDeps</id>
<layout>p2</layout>
<url>http://archive.eclipse.org/rt/eclipselink/compdep-update</url>
</repository>
</repositories>

Any idea if it is a known 'configuration issue' on my part for 0.13.0, or if there is the possibility of a bug here.

Thanks.

-Eric


On 29/11/2011 3:15 PM, Eric Gwin wrote:
While eminently reproducible yesterday and this morning, after running in Debug (-X) and clearing the local repository I cannot get the issue to reproduce. I'm chalking it up to a corrupt local cache.

-Eric

On 29/11/2011 11:37 AM, Eric Gwin wrote:
Oliver,

I'm seeing a similar issue. Has this been reported as a bug, or were you able to resolve it?

I've had to create a p2 repo for compile-time dependencies that aren't in Orbit. 0.12.0 sees the artifacts, but 0.13.0 doesn't appear to.

-Eric

On 28/10/2011 7:16 AM, Oberlies, Tobias wrote:
In Tycho 0.13.0, the target file interpretation changed. Repositories with layout p2 should not be affected.

If you can reproduce the problem in a minimal, standalone project, you may open a bug report. Otherwise you could provide some more details (e.g. a complete build log) to give the people here on the list a chance to help you.

Regards
Tobias

-----Original Message-----
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-
bounces@xxxxxxxxxxx] On Behalf Of Oliver Pfau
Sent: Freitag, 28. Oktober 2011 08:22
To: Tycho user list (tycho-user@xxxxxxxxxxx)
Subject: [tycho-user] Resource p2 repository not found with 0.13.0

Hi,

switched from tycho 0.12.0 (my build works fine with this version) to
0.13.0. With 0.13.0 tycho can not find a bundle in my created p2
repository. I create the p2 repository with the eclipse.exe. It is added
like this:

<repository>
<releases>
<enabled>true</enabled>
<updatePolicy>interval:60</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>local-bundles</id>
<layout>p2</layout>
<name>Locale bundle for tycho</name>
<url>file:///D:/p2testrepo</url>
</repository>

A bug or do I have to migrate something?

Regards,
Oliver
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user


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



Back to the top