|
|
Re: Omit artifact.reference on mirroring p2 repositories [message #1592925 is a reply to message #1403979] |
Fri, 30 January 2015 05:01  |
Eclipse User |
|
|
|
Hi Pascal,
now I had have time to test the mirroring with the new reference flag.
But it doesn't works for me.
What do I use:
- Eclipse Luna SR1
- Mirror.xml
<?xml version="1.0" encoding="UTF-8"?>
<project name="Mirror" default="mirrorRepos">
<target name="mirrorRepos">
<p2.mirror ignoreerrors="true" references="false">
<repository compressed="true" name="Eclipse Addons"
location="file:/${baseDir}/repositories/eclipse.org/tools/addons/"
append="true"/>
<source location="http://jautodoc.sourceforge.net/update/" />
<slicingoptions latestVersionOnly="true" />
</p2.mirror>
</target>
</project>
-Run Command:
"D:\Programme\eclipse\eclipse.exe" -noSplash -application
org.eclipse.ant.core.antRunner -DbaseDir=D:\P2-Repo -buildfile
D:\P2-RepoConfig\Mirror.xml
Inside the artifacsja/xml I gotas Result:
<artifact classifier='osgi.bundle' id='net.sf.jautodoc' version='1.12.0'>
<properties size='1'>
<property name='download.size' value='1106421'/>
</properties>
<repositoryProperties size='1'>
<property name='artifact.reference'
value='http://sourceforge.net/projects/jautodoc/files/updatesite/1.12.0/net.sf.jautodoc_1.12.0.jar/download'/>
</repositoryProperties>
</artifact>
My problem with this is that inside our development environment
(complete separated from the internet) eclipse dosnet found these side
and can't install the feature/plugin.
Am 28.07.2014 um 23:41 schrieb Pascal Rapicault:
> The mirror ant task supports a flag called "references" that can be set
> to false. You can see the code underlying this taks in the class
> MirrorApplication.
|
|
|
Powered by
FUDForum. Page generated in 0.08218 seconds