[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Set root directory for p2 repository

Thanks,

but the goal is to build an update site for an eclipse plug-in, so the
repository must be visible for the eclipse update manager.

regards
Hannes

On Wed, Jun 8, 2011 at 9:43 AM, motes motes <mort.motes@xxxxxxxxx> wrote:
> 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.
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user
>