[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [tycho-user] Set root directory for p2 repository
|
- From: Hannes Niederhausen <h.niederhausen@xxxxxxxxxxxxxx>
- Date: Wed, 8 Jun 2011 11:54:42 +0200
- Delivered-to: tycho-user@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=GN6X6whFzSIGbXRVUBH4T86cA5//7CYCEEvPN9L4UXQ=; b=dxQrgvsr3f4aYZxmjFSgh8DSXp1sfcDJLL28J6uwwd6SgcRRYtON+EFLrnlYO/V7Bm 8eJJSQekzhoAEVn724Q/vpO6RO4BVO4ULrg0WOhwby9ewYPzhnAZQ+Yy2TqUo8iDfDJ/ PqmLZfji0sO8tlwPUTmnj+TNsBHQ+969u1/pk=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=FbG6wwIKeWx1Qin+dBHWHvI1Eq1r6oddM03BUlaI2Z9ut+intJ9fYbancnNX9EsAsO XsQMolENDCcZbMVYFJbGB+nnOGHJ/nehoKAN3OfyEiUZaeO3cTSo+KPXTCOGAH9zh6tM 5G8KRTi92yxfoua2bWr+BQTaJkiALVeQMA8zs=
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
>