Anyone know where 'artifact.reference' property usually comes from in
metadata?
And is it really possible that it caused p2.director to download using that
link?


I looked at svn repository artifacts.jar, but it looks very usual. I also
looked into one of plugin jars, hoping that there's some p2.inf file, but
didn't found anything like this. I believe that my environment wasn't
changing recently, and only part that has changed was their repo...


2010/12/3 Jacek Pospychała <[email protected]>

> hi,
> I'm mirroring some repository using ant mirror task. But recently, instead
> of a local copy, I started getting "artifact.reference" entries in my mirror
> metadata. Like this:
>
>     <artifact classifier='osgi.bundle' id='org.eclipse.team.svn.help'
> version='0.7.9.I20101203-1700'>
>       <properties size='1'>
>         <property name='download.size' value='2974696'/>
>       </properties>
>       <repositoryProperties size='1'>
>         <property name='artifact.reference' value='
> http://download.eclipse.org/technology/subversive/0.7/update-site/plugins/org.eclipse.team.svn.help_0.7.9.I20101203-1700.jar'/
> >
>       </repositoryProperties>
>     </artifact>
>
> My local mirror is required to speedup the builds, but due to the
> references in metadata, artifacts are downloaded from orig. repository.
>
> My ant task call looks like this:
>
> <p2.mirror>
>
> <repository location="${localRepo}" append="true" />
>
> <source>
>
> <repository location="
> http://download.eclipse.org/technology/subversive/0.7/update-site/"; />
>
> <repository location="
> http://community.polarion.com/projects/subversive/download/eclipse/2.0/update-site/
> " />
>
> </source>
>
> <iu id="org.eclipse.team.svn.feature.group" version=""/>
>
> <iu id="org.eclipse.team.svn.mylyn.feature.group" version=""/>
>
> <iu id="org.polarion.eclipse.team.svn.connector.feature.group" version=""
> />
>
> <iu id="org.polarion.eclipse.team.svn.connector.svnkit15.feature.group"
> version=""/>
>
> <iu id="org.polarion.eclipse.team.svn.connector.svnkit16.feature.group"
> version=""/>
>
> </p2.mirror>
>
>
> This happens only for the SVN repo (
> http://download.eclipse.org/technology/subversive/0.7/update-site). Using
> the same process several other repos are being mirrored, but with no such
> "artifact.reference" things.
>
>
> Could someone explain where does this "artifact.reference" come from and
> how to get rid of it?
>
>
>
> Jacek
>
>
_______________________________________________
p2-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/p2-dev

Reply via email to