[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
[tycho-user] mirroring p2 repository from build to another location
|
- From: e92-330cd@xxxxxxxxx
- Date: Thu, 19 Jul 2012 10:16:00 +0200 (CEST)
- Delivered-to: tycho-user@eclipse.org
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=seznam.cz; h=To:Date:From:Received:Subject:Mime-Version:Message-Id:Content-Transfer-Encoding:Content-Type:X-Country:X-Abuse:X-Seznam-User:X-szn-is-bouncer:X-Virus-Info:X-Seznam-SPF:X-Seznam-DomainKeys; b=hVbIa55rMeSk6p+Z4FjQ4plbc0Hd7fBPVnygxSTQBACMNpwBZCM1WpIKpq95sAujU w/PzPpxDX0QGRdol+CGfAhNH6Lmr44rfXjeHy5GUuL47sHWIaPlrOf99d/BZ3p3IsAe xOwoRiai7r9ukGBD2WeqqD60rWUNhR/zqAz0fn4=
Hello I have the same issue as Nikolas:
http://www.eclipse.org/forums/index.php/t/156617/
but i dont see how , and where should i run the ant script.
I was trying something like this:
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<phase>install</phase>
<configuration>
<target>
<property name="p2.build.repo" value="/com.xxx.updatesite/target/repository" />
<property name="p2.repo.location" value="/test" />
<p2.mirror source="${p2.build.repo}">
<destination kind="metadata" location="${p2.repo.location}" compressed="false" name="metadata" />
<destination kind="artifact" location="${p2.repo.location}" compressed="false" name="artifacts.xml" />
<slicingoptions includeoptional="false" />
</p2.mirror>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
But the build fail....with this error:
Problem: failed to create task or type p2.mirror
Cause: The name is undefined.
This solution is useless for me, coz it only mirrors repositories to build repository:
http://wiki.eclipse.org/Tycho/Additional_Tools
any ideas, please?
David