Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » What does `eclipse-target-definition` packaging type in Tycho do?
What does `eclipse-target-definition` packaging type in Tycho do? [message #1222579] Fri, 20 December 2013 20:23
Suzan Cioc is currently offline Suzan CiocFriend
Messages: 2
Registered: December 2013
Junior Member
I was thinking that is will create target platform directory structure, but it doesn't. Actually it does absolutely nothing.

It is said in manual (http://wiki.eclipse.org/Tycho/Packaging_Types#eclipse-target-definition) that it "represent a PDE target definition". Represent to whom? To Galaxy Confederation? Since when Maven obtained representative functions? Smile

My `pom.xml` is follows:

    <project ...>
      <modelVersion>4.0.0</modelVersion>
      <groupId>target.sample</groupId>
      <artifactId>target.sample</artifactId>
      <version>0.0.1-SNAPSHOT</version>
      <packaging>eclipse-target-definition</packaging>
      
      <properties>
    		<tycho.version>0.19.0</tycho.version>
    		<kepler-repo.url>http://download.eclipse.org/releases/kepler</kepler-repo.url>
    	</properties>
    
    	<repositories>
    		<repository>
    			<id>kepler</id>
    			<url>${kepler-repo.url}</url>
    			<layout>p2</layout>
    		</repository>
    
    	</repositories>
    
    	<build>
    		<plugins>
    			<plugin>
    				<groupId>org.eclipse.tycho</groupId>
    				<artifactId>tycho-maven-plugin</artifactId>
    				<version>${tycho-version}</version>
    				<extensions>true</extensions>
    			</plugin>
    
    			<plugin>
    				<groupId>org.eclipse.tycho</groupId>
    				<artifactId>target-platform-configuration</artifactId>
    				<version>${tycho-version}</version>
    			</plugin>
    		</plugins>
    	</build>
    	
    </project>


Also there is a file named `target.sample.target` in project directory. I was trying to name this file other way, but Maven was not finding it, despite the documentation. So, I removed nested `<configuration>` element.


Previous Topic:Delete key is not working in Navigator view of RCP plugin of eclipse.
Next Topic:How to file a RFC for RCP?
Goto Forum:
  


Current Time: Fri Dec 19 21:17:11 GMT 2014

Powered by FUDForum. Page generated in 0.02367 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software