Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Can't get product-export to work

check the sample product build
http://wiki.eclipse.org/Tycho/Demo_Projects/RCP_Application

Jan


From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Rodriguez, José
Sent: Donnerstag, 9. August 2012 11:52
To: tycho-user@xxxxxxxxxxx
Subject: [tycho-user] Can't get product-export to work

Hello,

We work on  an e4 application and we want to create the exe distribution with Tycho (Tycho : 0.15.0, Version: Juno Release Build id: 20120614-1722).

We have created a p2 repository  from our eclipse distribution with the equinox launcher jar. When we run our mvn commands we have the following exception :

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:0.14.1:product-export (default) on project metatool-ui: Execution default of goal org.eclipse.tycho:tycho-packaging-plugin:0.14.1:product-export failed: Could not resolve feature org.eclipse.e4.rcp_1.1.0.v20120521-2329-8yFTIGF3GGduEYqkQB9M3DKn; Path to dependency: -> [Help 1]

But, we have this feature in our p2.


Here is our main pom file:

.
<properties>
             <tycho-version>0.15.0</tycho-version>
             <java.version>1.6</java.version>
       </properties>


       <repositories>
             <repository>
                    <id>rcp</id>
                    <layout>p2</layout>
                    <url>http://localhost/p2/</url>
             </repository>       
       </repositories>


       <modules>
             <module>metatool-ui</module>
             <module>metatool-feature</module>
       </modules>
       <build>
             <plugins>
             <plugin>
                    <groupId>org.eclipse.tycho</groupId>
                    <artifactId>target-platform-configuration</artifactId>
                    <version>${tycho-version}</version>
                    <configuration>
                           <environments>
                                  <environment>
                                        <os>win32</os>
                                        <ws>win32</ws>
                                        <arch>x86_64</arch>
                                  </environment>
                           </environments>
                    </configuration>
             </plugin>
                    <plugin>
                           <groupId>org.eclipse.tycho</groupId>
                          <artifactId>tycho-maven-plugin</artifactId>
                           <version>${tycho-version}</version>
                           <extensions>true</extensions>
                    </plugin>
             </plugins>
       </build>
.


Product pom:
.
                <packaging>eclipse-plugin</packaging>
  
       <build>
             <plugins>
                    <plugin>
                           <groupId>org.eclipse.tycho</groupId>
                           <artifactId>tycho-packaging-plugin</artifactId>
                           <version>${tycho-version}</version>
                           <executions>
                                  <execution>
                                        <phase>package</phase>
                                        <goals>
                                               <goal>product-export</goal>
                                        </goals>
                                  </execution>
                           </executions>
                    </plugin>    
             </plugins>          
       </build>
.


Any ideas why we have this error?


Regards,
J.R.



Back to the top