Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] IllegalArgumentException: bundleLocation not found

Do you use P2 repositories, Maven ones or a mix of both ?
Did you declare your remote Maven repo as snapshots aware ?

Regards
Jeff



On Fri, Aug 30, 2013 at 9:27 AM, Andreas Sewe <andreas.sewe@xxxxxxxxxxxxxx> wrote:
Hi all,

when building against an empty local repository I get (using Tycho
0.18.1) the following IllegalArgumentException (bundleLocation not
found) despite the fact that each project POM declares a remote
repository [1] that as far as I can see contains all required bundles.

> Caused by: java.lang.IllegalArgumentException: bundleLocation not found: /Users/sewe/.m2/repository/org/eclipse/recommenders/org.eclipse.recommenders.rcp/1.100.0-SNAPSHOT/org.eclipse.recommenders.rcp-1.100.0-SNAPSHOT.jar
>       at org.eclipse.tycho.core.osgitools.EquinoxResolver.loadManifest(EquinoxResolver.java:244)
>       at org.eclipse.tycho.core.osgitools.EquinoxResolver.newState(EquinoxResolver.java:156)
>       at org.eclipse.tycho.core.osgitools.EquinoxResolver.newResolvedState(EquinoxResolver.java:64)
>       at org.eclipse.tycho.core.osgitools.OsgiBundleProject.getResolverState(OsgiBundleProject.java:250)
>       at org.eclipse.tycho.core.osgitools.OsgiBundleProject.resolveClassPath(OsgiBundleProject.java:158)
>       at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:122)
>       at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:82)
>       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:273)
>       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)

Maybe I am misunderstanding what the EquinoxResolver wants to tell me
here, but Tycho doesn't download the artifact in question
(org.eclipse.recommenders.rcp-1.100.0-SNAPSHOT.jar) even though it is
contained in the remote repo [2]. Only if I manually install the
artifact into the local repository does the build go through. Any idea
what the problem might be?

Regards,

Andreas

[1] <https://repo.eclipse.org/content/repositories/recommenders-snapshots/>
[2]
<https://repo.eclipse.org/content/repositories/recommenders-snapshots/org/eclipse/recommenders/org.eclipse.recommenders.rcp/1.100.0-SNAPSHOT/>

--
Codetrails UG (haftungsbeschränkt)
The knowledge transfer company

Robert-Bosch-Str. 7, 64293 Darmstadt
Mobile: +49-170-811-3791
http://www.codetrails.com/

Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user



--
Jeff MAURY


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury

Back to the top