Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] eclipse feature build

There is an example project that builds an update site/p2 repository: http://wiki.eclipse.org/Tycho/Demo_Projects/RCP_Application

Regards
Tobias

> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-
> bounces@xxxxxxxxxxx] On Behalf Of Nouha DAHI
> Sent: Dienstag, 10. Januar 2012 08:33
> To: Tycho user list
> Subject: Re: [tycho-user] eclipse feature build
> 
> Hi,
> I cannot see any difference even when I add this configuration to the
> pom.xml
> I cannot find the plugin jar.
> 
> For the update-site could you please explain more?
> 
> Thanks a lot,
> Nouha
> 
> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-
> bounces@xxxxxxxxxxx] On Behalf Of Igor Fedorenko
> Sent: Tuesday, January 03, 2012 2:07 AM
> To: tycho-user@xxxxxxxxxxx
> Subject: Re: [tycho-user] eclipse feature build
> 
> Eclipse features reference plugins, they do not physically "contain"
> them. In order to install the feature, you most likely need to create a
> p2 repository that contains the feature and all plugins references by
> the feature.
> 
> You can instruct Tycho to do this as part of feature build using this
> pom.xml configuration snippet (I assume you have tycho-version property
> defined in parent pom).
> 
>    <build>
>      <plugins>
>        <plugin>
>          <groupId>org.eclipse.tycho</groupId>
>          <artifactId>tycho-packaging-plugin</artifactId>
>          <version>${tycho-version}</version>
>          <configuration>
>            <deployableFeature>true</deployableFeature>
>          </configuration>
>        </plugin>
>       </plugins>
>    </build>
> 
> Alternatively, you can setup separate project with
> packaging=eclipse-repository or packaging=eclipse-update-site to build
> the p2 repository.
> 
> 
> --
> Regards,
> Igor
> 
> On 12-01-02 10:32 AM, Nouha DAHI wrote:
> > Hi,
> >
> > I am trying to build a simple eclipse feature containing a simple
> plugin.
> >
> > After pom.xml generation and 'mvn clean install 'call,
> >
> > The feature .jar is well created, but it does not contain the
> plugin.jar.
> >
> > I am wondering where is it created?
> >
> > Because to use this built feature and install it I will need the plugin
> > .jar too.
> >
> > Thanks,
> >
> > Nouha
> >
> >
> >
> > _______________________________________________
> > tycho-user mailing list
> > tycho-user@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/tycho-user
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top