[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] Set root directory for p2 repository
|
On Mon, Jun 6, 2011 at 11:39 AM, Hannes Niederhausen
<h.niederhausen@xxxxxxxxxxxxxx> wrote:
> Hi,
>
> I want to create a p2 repository with maven, which contains the older versions.
>
> Right now my update site structure is:
>
> project
> -- plugins
> -- features
> site.xml
> artifacts.jar
> content.jar
> category.xml
>
> When I update the site xml with a new version PDE just adds the new
> version to the update site.
>
> Using maven/tycho, the update site is created in the target directory.
> Is there a way to convigure tycho, to store the files into the root
> directory and only add the new features to the repository.
>
> The only idea I have is moving the files in some sort of
> post-processing but this would overwrite content.jar and
> artifacts.jar.
>
> Thanks in advance
> Hannes
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user
>
Why not look into the FeaturesAndBundlesPublisher which can be
executed from tycho:
https://docs.sonatype.org/display/TYCHO/Tycho-extras+-+FeaturesAndBundlesPublisher
Its possible to specify the append option:
<configuration>
<compress>false</compress>
<append>true</append>
<!-- additional arguments example
<additionalArgs>-configs win32.win32.x86</additionalArgs>
-->
</configuration>
which adds the bundles/features to the existing repo - without wiping
existing bundles/features. Notice that the generated repo cannot be
seen from eclipse update manager (no categories are published). But
its a valid p2 repo when building with tycho.