Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Is there a "normal" p2 IU for a product in a repository
Is there a "normal" p2 IU for a product in a repository [message #692826] Tue, 05 July 2011 06:02 Go to previous message
Mickael Istria is currently offline Mickael Istria
Messages: 624
Registered: July 2009
Location: Grenoble, France
Senior Member
Hi all,

I'd like to add an explicit dependency to my product for my test
execution with Tycho. Howerver, I did not find any installation unit
that installs me the whole product.
Is there an installation unit for a product that I could consume with Tycho?


Here is what I currently do, it is a re-definition of the content of my
product in the pom,xml:
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<argLine>-Xms64m -Xmx1024m -XX:MaxPermSize=128M</argLine>
<useUIHarness>true</useUIHarness>
<useUIThread>false</useUIThread>
<product>com.ebmwebsourcing.petals.studio.product</product>
<application>org.eclipse.ui.ide.workbench</application>
<dependencies>
<dependency>
<type>p2-installable-unit</type>
<artifactId>
com.ebmwebsourcing.petals.studio.rcp.feature.feature.group
</artifactId>
<version>0.0.0</version>
</dependency>
<dependency>
<type>p2-installable-unit</type>
<artifactId>
com.ebmwebsourcing.petals.studio.sca.feature.feature.group
</artifactId>
<version>0.0.0</version>
</dependency>
<dependency>
<type>p2-installable-unit</type>
<artifactId>
com.ebmwebsourcing.petals.studio.bpel.feature.feature.group
</artifactId>
<version>0.0.0</version>
</dependency>
<dependency>
<type>p2-installable-unit</type>
<artifactId>
com.ebmwebsourcing.petals.studio.core.feature.feature.group
</artifactId>
<version>0.0.0</version>
</dependency>
</dependencies>
<configuration>
</plugin>
</plugins>
</build>

And I'd like to replace all the <dependencies.../> block by something like:
<dependencies>
<dependency>
<type>p2-installable-unit</type>
<artifactId>com.ebmwebsourcing.petals.studio.product
</artifactId>
<version>0.0.0</version>
</dependency>
</dependencies>

I gave some unseccessful tries. Is there a way to consume directly a
product with p2, that I could leverage in Tycho?

Regards
 
Read Message
Read Message
Previous Topic:p2 director problems without running the target application
Next Topic:Help for an Eclipse project update site
Goto Forum:
  


Current Time: Tue Jun 18 03:55:43 EDT 2013

Powered by FUDForum. Page generated in 0.01769 seconds