Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] p2 and installation directories

Hi Paul

Thanks for your reply. I tried with custom profile and now also with SDKProfile and I have the same result.
Please see the content of my pom:

<packaging>eclipse-repository</packaging>
<properties>
<distributive.prefix>${project.build.directory}/products/${project.groupId}</distributive.prefix>
</properties>

<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<configuration>
<resolver>p2</resolver>
<pomDependencies>consider</pomDependencies>
<environments>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86</arch>
</environment>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86</arch>
</environment>
<!--
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>macosx</os>
<ws>cocoa</ws>
<arch>x86_64</arch>
</environment>
-->
</environments>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-director-plugin</artifactId>
<version>${tycho-version}</version>
<executions>
<execution>
<id>materialize-products</id>
<goals>
<goal>materialize-products</goal>
</goals>
</execution>
<!-- archive-products has been replaced with maven-antrun-plugin -->
<!--
<execution>
 <id>archive-products</id>
<goals>
 <goal>archive-products</goal>
</goals>
</execution>
-->
</executions>
<configuration>
<!-- global optional parameters (with default values) -->
<installFeatures>true</installFeatures>
<profile>migration.profile</profile>
</configuration>
</plugin>



From: Paul Webster <pwebster@xxxxxxxxxxxxxxxxxxx>
To: Tycho user list <tycho-user@xxxxxxxxxxx>
Sent: Friday, September 7, 2012 3:39 PM
Subject: Re: [tycho-user] p2 and installation directories

On Fri, Sep 7, 2012 at 3:28 AM, Pascu Ciprian <ciprianpascu@xxxxxxxxx> wrote


Question:
Is there any property I could set during build, to correctly install new features?

Is your product p2 enabled?  Do you set the profile in the product pom.xml?  our materiralize-products goal has his in its configuration element:
<profile>SDKProfile</profile>

Later,
PW

--
Paul Webster
Hi floor.  Make me a sammich! - GIR

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user



Back to the top