ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Basil Crow ...@basilcrow.com>
Subject p2.mirrorsURL and p2-mirrors--xml.cgi causing problems on update site
Date Sat, 22 Sep 2018 00:23:06 GMT
Hi all,

I have a custom Eclipse IDE build using Ant which fetches the Ivy
feature group using a P2 mirror Ant task:

<p2.mirror>
    <repository
location="file:downloads/org.apache.ivy.feature.feature.group-2.4.0.final_20141213170938"/>
    <source>
        <repository location="http://www.apache.org/dist/ant/ivyde/updatesite"/>
    </source>
    <iu id="org.apache.ivy.feature.feature.group"
version="2.4.0.final_20141213170938"/>
    <slicingoptions followStrict="true"/>
</p2.mirror>

Unfortunately, this task started failing with the following error:

[p2.mirror] [Fatal Error]
p2-mirrors--xml.cgi?path=ivy-2.4.0.final_20141213170938&countryCode=&timeZone=0&format=xml:39:3:
The element type "link" must be terminated by the matching end-tag
"</link>".
[p2.mirror] [Fatal Error]
p2-mirrors--xml.cgi?path=ivy-2.4.0.final_20141213170938&countryCode=&timeZone=0&format=xml:39:3:
The element type "link" must be terminated by the matching end-tag
"</link>".
[p2.mirror] Messages while mirroring artifact descriptors.

I tried setting the Java property eclipse.p2.mirrors=false, but this
did not help.

Looking at "artifacts.xml" [1], there is a property named
"p2.mirrorsURL" that points to "p2-mirrors--xml.cgi" [2], which is the
same URL from the error message above. Visiting that URL in my browser
says: "The requested file or directory is not on the mirrors."

Can the update site please be fixed so that I can mirror the P2
repository with Ant?

Thanks,
Basil

[1] http://www.apache.org/dist/ant/ivyde/updatesite/ivy-2.4.0.final_20141213170938/artifacts.xml
[2] http://ant.apache.org/ivy/ivyde/updatesite/p2-mirrors--xml.cgi?path=ivy-2.4.0.final_20141213170938

Mime
View raw message