Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] unable to fetch eclipse plugins from their P2 repository

Thanks Igor,

I've added that property, and that helped me uncover one issue.

I am using a .target file to define update sites to use in order to
build my target environment, and the reference I had to the subclipse
update site was returning at 502 server error.

Once I removed the reference to the subclipse update site at
http://subclipse.tigris.org/update_1.6.x  I ran into a brand new
problem.

Part of the console output looked like this...

org.apache.maven.InternalErrorException: Internal error:
java.lang.RuntimeException: "Messages while trying children
repositories.": ["Messages while trying children repositories.":
["Messages while trying children repositories.": ["": ["Multiple
problems occurred while downloading.": ["Problems downloading
artifact: osgi.bundle,org.eclipse.ui.workbench.compatibility,3.2.100.I20110413-1600.":
["File has invalid
content:C:\Users\twindham\AppData\Local\Temp\signatureFile8069917827078021219.jar":
["Invalid content:compatibility.jar"]], "Could not create artifact
file"]]]]]

So, I ran into that late Friday evening, and decided to tackle the
problem after the weekend, today, Monday.

Long story short, I ran the exact same build command this morning, and
miraculously, it just worked.

I'm not sure why it worked this morning, but I'm not complaining.

Thanks for the tip,
Trace Windham




> Date: Fri, 09 Dec 2011 16:01:28 -0500
> From: Igor Fedorenko <igor@xxxxxxxxxxxxxx>
> To: tycho-user@xxxxxxxxxxx
> Subject: Re: [tycho-user] unable to fetch eclipse plugins from their
>        P2      repository
> Message-ID: <4EE27728.40407@xxxxxxxxxxxxxx>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Try to disable use of p2 mirrors by setting -Declipse.p2.mirrors=false
> parameter
>
> http://dev.eclipse.org/mhonarc/lists/p2-dev/msg02962.html
>
> --
> Regards,
> Igor
>
> On 11-12-09 3:40 PM, Trace Windham wrote:
>> I've been using Tycho for since May, and I love it.
>>
>> Yesterday I ran into an issue that I don't comprehend.  I don't even
>> know if this is the correct forum to help me, but I'm hopeful.
>>
>> I have deleted my .m2 directory.  This might have been a mistake, but I
>> read that it's a good practice to occasionally do this in order to
>> ensure that my builds will work on a clean machine.
>>
>> Yesterday evening, I started a build using
>>  >mvn clean install
>> and left it running when I left for home yesterday at 5pm... when I
>> returned to work this morning, it was still running.
>>
>> The output repeated a message like this over and over again.
>>
>> [INFO] 1 operation remaining.
>> [INFO] Fetching
>> org.eclipse.core.resources_3.7.100.v20110510-0712.jar.pack.gz (4kB of
>> 272.68kB at 0B/s) from
>> http://mirrors.xmission.com/eclipse/eclipse/updates/3.7/R-3.7.1-201109091335/plugins/
>> [INFO] Fetching
>> org.eclipse.core.resources_3.7.100.v20110510-0712.jar.pack.gz (0B of
>> 272.68kB at 0B/s) from
>> http://mirror.cc.vt.edu/pub/eclipse/eclipse/updates/3.7/R-3.7.1-201109091335/plugins/
>> [INFO] 1 operation remaining.
>> [INFO] Fetching
>> org.eclipse.core.resources_3.7.100.v20110510-0712.jar.pack.gz (4kB of
>> 272.68kB at 0B/s) from
>> http://mirror.cc.vt.edu/pub/eclipse/eclipse/updates/3.7/R-3.7.1-201109091335/plugins/
>> [INFO] Fetching
>> org.eclipse.core.resources_3.7.100.v20110510-0712.jar.pack.gz (0B of
>> 272.68kB at 0B/s) from
>> http://mirror.cc.vt.edu/pub/eclipse/eclipse/updates/3.7/R-3.7.1-201109091335/plugins/
>> [INFO] 1 operation remaining.
>> [INFO] Fetching
>> org.eclipse.core.resources_3.7.100.v20110510-0712.jar.pack.gz (4kB of
>> 272.68kB at 0B/s) from
>> http://mirror.cc.vt.edu/pub/eclipse/eclipse/updates/3.7/R-3.7.1-201109091335/plugins/
>> [INFO] Fetching
>> org.eclipse.core.resources_3.7.100.v20110510-0712.jar.pack.gz (0B of
>> 272.68kB at 0B/s) from
>> http://mirror.cc.vt.edu/pub/eclipse/eclipse/updates/3.7/R-3.7.1-201109091335/plugins/
>> [INFO] 1 operation remaining.
>> [INFO] Fetching
>> org.eclipse.core.resources_3.7.100.v20110510-0712.jar.pack.gz (4kB of
>> 272.68kB at 0B/s) from
>> http://mirror.cc.vt.edu/pub/eclipse/eclipse/updates/3.7/R-3.7.1-201109091335/plugins/
>> [INFO] Fetching
>> org.eclipse.core.resources_3.7.100.v20110510-0712.jar.pack.gz (0B of
>> 272.68kB at 0B/s) from
>> http://mirrors.xmission.com/eclipse/eclipse/updates/3.7/R-3.7.1-201109091335/plugins/
>> [INFO] 1 operation remaining.
>> [INFO] Fetching
>> org.eclipse.core.resources_3.7.100.v20110510-0712.jar.pack.gz (4kB of
>> 272.68kB at 0B/s) from
>> http://mirrors.xmission.com/eclipse/eclipse/updates/3.7/R-3.7.1-201109091335/plugins/
>> [INFO] Fetching
>> org.eclipse.core.resources_3.7.100.v20110510-0712.jar.pack.gz (0B of
>> 272.68kB at 0B/s) from
>> http://ftp.osuosl.org/pub/eclipse/eclipse/updates/3.7/R-3.7.1-201109091335/plugins/
>> [INFO] 1 operation remaining.
>> [INFO] Fetching
>> org.eclipse.core.resources_3.7.100.v20110510-0712.jar.pack.gz (4kB of
>> 272.68kB at 0B/s) from
>> http://ftp.osuosl.org/pub/eclipse/eclipse/updates/3.7/R-3.7.1-201109091335/plugins/
>> [INFO] Fetching
>> org.eclipse.core.resources_3.7.100.v20110510-0712.jar.pack.gz (0B of
>> 272.68kB at 0B/s) from
>> http://mirror.cc.vt.edu/pub/eclipse/eclipse/updates/3.7/R-3.7.1-201109091335/plugins/
>> [INFO] 1 operation remaining.
>> [INFO] Fetching
>> org.eclipse.core.resources_3.7.100.v20110510-0712.jar.pack.gz (4kB of
>> 272.68kB at 0B/s) from
>> http://mirror.cc.vt.edu/pub/eclipse/eclipse/updates/3.7/R-3.7.1-201109091335/plugins/
>> [INFO] Fetching
>> org.eclipse.core.resources_3.7.100.v20110510-0712.jar.pack.gz (0B of
>> 272.68kB at 0B/s) from
>> http://carroll.aset.psu.edu/pub/eclipse/eclipse/updates/3.7/R-3.7.1-201109091335/plugins/
>> [INFO] 1 operation remaining.
>> [INFO] Fetching
>> org.eclipse.core.resources_3.7.100.v20110510-0712.jar.pack.gz (4kB of
>> 272.68kB at 0B/s) from
>> http://carroll.aset.psu.edu/pub/eclipse/eclipse/updates/3.7/R-3.7.1-201109091335/plugins/
>> [INFO] Fetching
>> org.eclipse.core.resources_3.7.100.v20110510-0712.jar.pack.gz (0B of
>> 272.68kB at 0B/s) from
>> http://mirrors.xmission.com/eclipse/eclipse/updates/3.7/R-3.7.1-201109091335/plugins/
>> [INFO] 1 operation remaining.
>> [INFO] Fetching
>> org.eclipse.core.resources_3.7.100.v20110510-0712.jar.pack.gz (4kB of
>> 272.68kB at 0B/s) from
>> http://mirrors.xmission.com/eclipse/eclipse/updates/3.7/R-3.7.1-201109091335/plugins/
>> [INFO] Fetching
>> org.eclipse.core.resources_3.7.100.v20110510-0712.jar.pack.gz (0B of
>> 272.68kB at 0B/s) from
>> http://mirrors.xmission.com/eclipse/eclipse/updates/3.7/R-3.7.1-201109091335/plugins/
>> [INFO] 1 operation remaining.
>> [INFO] Fetching
>> org.eclipse.core.resources_3.7.100.v20110510-0712.jar.pack.gz (4kB of
>> 272.68kB at 0B/s) from
>> http://mirrors.xmission.com/eclipse/eclipse/updates/3.7/R-3.7.1-201109091335/plugins/
>> [INFO] Fetching
>> org.eclipse.core.resources_3.7.100.v20110510-0712.jar.pack.gz (0B of
>> 272.68kB at 0B/s) from
>> http://mirror.cc.vt.edu/pub/eclipse/eclipse/updates/3.7/R-3.7.1-201109091335/plugins/
>> [INFO] 1 operation remaining.
>> [INFO] Fetching
>> org.eclipse.core.resources_3.7.100.v20110510-0712.jar.pack.gz (4kB of
>> 272.68kB at 0B/s) from
>> http://mirror.cc.vt.edu/pub/eclipse/eclipse/updates/3.7/R-3.7.1-201109091335/plugins/
>> [INFO] Fetching
>> org.eclipse.core.resources_3.7.100.v20110510-0712.jar.pack.gz (0B of
>> 272.68kB at 0B/s) from
>> http://mirror.cc.vt.edu/pub/eclipse/eclipse/updates/3.7/R-3.7.1-201109091335/plugins/
>> [INFO] 1 operation remaining.
>> [INFO] Fetching
>> org.eclipse.core.resources_3.7.100.v20110510-0712.jar.pack.gz (4kB of
>> 272.68kB at 0B/s) from
>> http://mirror.cc.vt.edu/pub/eclipse/eclipse/updates/3.7/R-3.7.1-201109091335/plugins/
>> [INFO] Fetching
>> org.eclipse.core.resources_3.7.100.v20110510-0712.jar.pack.gz (0B of
>> 272.68kB at 0B/s) from
>> http://mirror.cc.vt.edu/pub/eclipse/eclipse/updates/3.7/R-3.7.1-201109091335/plugins/
>> [INFO] 1 operation remaining.
>> [INFO] Fetching
>> org.eclipse.core.resources_3.7.100.v20110510-0712.jar.pack.gz (4kB of
>> 272.68kB at 0B/s) from
>> http://mirror.cc.vt.edu/pub/eclipse/eclipse/updates/3.7/R-3.7.1-201109091335/plugins/
>> ....
>>
>> and so on.
>>
>> I have the repository defined like this in my pom.xml
>>
>> <repositories>
>> <repository>
>> <id>indigo</id>
>> <layout>p2</layout>
>> <url>http://download.eclipse.org/releases/indigo</url>
>> </repository>
>> </repositories>
>>
>> I'm using Tycho 0.13.0 on Windows 7 and Maven 3.0.3
>>
>> I really don't know what could be causing this.
>>
>> I have a build server (Jenkins) that runs the build with the exact same
>> project successfully.  The only difference is that I didn't recently
>> delete the .m2 directory on the build server.
>>
>> Thanks for any help,
>> Trace Windham
>>
>>
>>
>> _______________________________________________
>> tycho-user mailing list
>> tycho-user@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/tycho-user
>
>
> ------------------------------
>


Back to the top