Alexander Baier
2014-01-14 17:13:56 UTC
Hello,
I am currently trying to get my little project to compile with tycho. I
have no clue, what I have done wrong--I configured everything as in the
example project given here: (At least I think so)
http://git.eclipse.org/c/tycho/org.eclipse.tycho-demo.git/tree/itp01
I have attached a listing of my project directory layout and this are
the two pom.xml files used in the project:
This is the parent pom:
----------------------------------------------------------------
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>edu.teco.tacet</groupId>
<artifactId>parent</artifactId>
<version>0.0.1</version>
<packaging>pom</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<tycho-version>0.19.0</tycho-version>
</properties>
<modules>
<module>edu.teco.tacet.meta</module>
</modules>
<repositories>
<repository>
<id>eclipse-kepler</id>
<layout>p2</layout>
<url>http://download.eclipse.org/releases/kepler</url>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tycho-version}</version>
<extensions>true</extensions>
</plugin>
</plugins>
</build>
</project>
----------------------------------------------------------------
And this the child pom:
----------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>parent</artifactId>
<groupId>edu.teco.tacet</groupId>
<version>0.0.1</version>
</parent>
<artifactId>meta</artifactId>
<version>0.0.1</version>
<packaging>eclipse-plugin</packaging>
</project>
----------------------------------------------------------------
And the MANIFEST.MF in the child project:
----------------------------------------------------------------
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Meta
Bundle-SymbolicName: meta;singleton:=true
Bundle-Version: 0.0.1
Bundle-ClassPath: .
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.emf.ecore
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
Export-Package: edu.teco.tacet.meta,
edu.teco.tacet.meta.impl,
edu.teco.tacet.meta.util
Bundle-ActivationPolicy: lazy
Eclipse-LazyStart: true
----------------------------------------------------------------
I am currently trying to get my little project to compile with tycho. I
have no clue, what I have done wrong--I configured everything as in the
example project given here: (At least I think so)
http://git.eclipse.org/c/tycho/org.eclipse.tycho-demo.git/tree/itp01
I have attached a listing of my project directory layout and this are
the two pom.xml files used in the project:
This is the parent pom:
----------------------------------------------------------------
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>edu.teco.tacet</groupId>
<artifactId>parent</artifactId>
<version>0.0.1</version>
<packaging>pom</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<tycho-version>0.19.0</tycho-version>
</properties>
<modules>
<module>edu.teco.tacet.meta</module>
</modules>
<repositories>
<repository>
<id>eclipse-kepler</id>
<layout>p2</layout>
<url>http://download.eclipse.org/releases/kepler</url>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tycho-version}</version>
<extensions>true</extensions>
</plugin>
</plugins>
</build>
</project>
----------------------------------------------------------------
And this the child pom:
----------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>parent</artifactId>
<groupId>edu.teco.tacet</groupId>
<version>0.0.1</version>
</parent>
<artifactId>meta</artifactId>
<version>0.0.1</version>
<packaging>eclipse-plugin</packaging>
</project>
----------------------------------------------------------------
And the MANIFEST.MF in the child project:
----------------------------------------------------------------
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Meta
Bundle-SymbolicName: meta;singleton:=true
Bundle-Version: 0.0.1
Bundle-ClassPath: .
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.emf.ecore
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
Export-Package: edu.teco.tacet.meta,
edu.teco.tacet.meta.impl,
edu.teco.tacet.meta.util
Bundle-ActivationPolicy: lazy
Eclipse-LazyStart: true
----------------------------------------------------------------