git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: p2.mirrorsURL and p2-mirrors--xml.cgi causing problems on update site


Hello Basil,

Sorry about the delayed response. I did notice your other mail in the
user mailing list. Unfortunately I'm not an expert in this area, so
haven't been able to respond sooner. I don't yet have an answer/fix for
you, but I'm now looking into this and will seek some help from others.

-Jaikiran


On 29/09/18 1:28 AM, Basil Crow wrote:
> Hi all,
>
> Please forgive the cross-post from ivy-user, but I didn't get a reply
> there after waiting for a week. If there is some other forum I should
> be using to report this issue, please let me know.
>
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@xxxxxxxxxxxxxx
> For additional commands, e-mail: dev-help@xxxxxxxxxxxxxx
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xxxxxxxxxxxxxx
For additional commands, e-mail: dev-help@xxxxxxxxxxxxxx