Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] why does tycho fail with this?

i now converted to use my target file as the target also in tycho

(https://wiki.eclipse.org/Tycho/Packaging_Types#eclipse-target-definition)

this has one drawback and that is that of the 10 or so plugin repo's that we use,
if one is not really up and running it will fail 
Besides being slow for many of them 
I would still rather have 1 big aggregated site that we place on our own S3 bucket.. (close to where we use it)

one other question, how does that target def work exactly?
Does it really use also the things that you select? Or does it just use the url (like the repo urls if you use <repositories>

I asked this because is this now stable? If something is updated on 1 of the urls it doesn't suddenly get that new on?  (just like the target usage in eclipse)

johan


On Mon, 6 Apr 2020 at 15:13, Johan Compagner <jcompagner@xxxxxxxxxx> wrote:
Hi,

now that i am creating 1 big mirrored p2 site from the eclipse target editor (for our 3 architectures)
i have suddenly a problem when i now moved to Eclipse 4.15 (i am updating from 4.14)

i generate the same kind of target again but with updated stuff
And point my pom files to that new target

but now i get:

[INFO] Fetching org.eclipse.jdt.core.manipulation_1.13.100.v20200224-2108.jar from http://developer.servoy.com/p2_repository/2020.06/plugins/ (1,5MB)
[ERROR] An error occurred while transferring artifact canonical: osgi.bundle,org.eclipse.jdt.debug,3.15.0.v20200224-0604 from repository http://developer.servoy.com/p2_repository/2020.06:
[ERROR]    Artifact osgi.bundle,org.eclipse.jdt.debug,3.15.0.v20200224-0604 is a folder but the repository is an archive or remote location.
[ERROR] Internal error: org.eclipse.tycho.repository.local.MirroringArtifactProvider$MirroringFailedException: Could not mirror artifact osgi.bundle,org.eclipse.jdt.debug,3.15.0.v20200224-0604 into the local Maven repository.See log output for details. -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: org.eclipse.tycho.repository.local.MirroringArtifactProvider$MirroringFailedException: Could not mirror artifact osgi.bundle,org.eclipse.jdt.debug,3.15.0.v20200224-0604 into the local Maven repository.See log output for details.
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:120)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.eclipse.tycho.repository.local.MirroringArtifactProvider$MirroringFailedException: Could not mirror artifact osgi.bundle,org.eclipse.jdt.debug,3.15.0.v20200224-0604 into the local Maven repository.See log output for details.
    at org.eclipse.tycho.repository.local.MirroringArtifactProvider.downloadArtifact (MirroringArtifactProvider.java:226)
    at org.eclipse.tycho.repository.local.MirroringArtifactProvider.makeOneFormatLocallyAvailable (MirroringArtifactProvider.java:211)
    at org.eclipse.tycho.repository.local.PackedFormatMirroringArtifactProvider.makeOneFormatLocallyAvailable (PackedFormatMirroringArtifactProvider.java:43)
    at org.eclipse.tycho.repository.local.MirroringArtifactProvider.makeLocallyAvailable (MirroringArtifactProvider.java:182)
    at org.eclipse.tycho.repository.local.MirroringArtifactProvider.getArtifactFile (MirroringArtifactProvider.java:121)
    at org.eclipse.tycho.repository.p2base.artifact.provider.CompositeArtifactProvider.getArtifactFile (CompositeArtifactProvider.java:85)
    at org.eclipse.tycho.p2.target.TargetPlatformBaseImpl.getLocalArtifactFile (TargetPlatformBaseImpl.java:128)
    at org.eclipse.tycho.p2.resolver.P2ResolverImpl.addUnit (P2ResolverImpl.java:297)
    at org.eclipse.tycho.p2.resolver.P2ResolverImpl.toResolutionResult (P2ResolverImpl.java:260)
    at org.eclipse.tycho.p2.resolver.P2ResolverImpl.resolveDependencies (P2ResolverImpl.java:251)
    at org.eclipse.tycho.p2.resolver.P2ResolverImpl.resolveTargetDependencies (P2ResolverImpl.java:124)
    at org.eclipse.tycho.p2.resolver.P2DependencyResolver.doResolveDependencies (P2DependencyResolver.java:368)
    at org.eclipse.tycho.p2.resolver.P2DependencyResolver.resolveDependencies (P2DependencyResolver.java:336)
    at org.eclipse.tycho.core.resolver.DefaultTychoResolver.resolveProject (DefaultTychoResolver.java:126)
    at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead (TychoMavenLifecycleParticipant.java:95)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:264)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)


Why is that?
If i look at my older 4.14 target that is working fine.. But suddenly the new target is not working
As far as i can see the org.eclipse.jdt.debug_3.15.0.v20200224-0604 plugin is the same kind (its a dir not a jar)
But my previous that has: org.eclipse.jdt.debug_3.14.0.v20191105-0758
also has that samething, so that plugin as dir.

So why would that suddenly fail?

johan



--
Johan Compagner
Servoy


--
Johan Compagner
Servoy

Back to the top