Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Tycho and bundle name

Take a look at this tutorial:
http://www.vogella.com/articles/EclipseRCP/article.html 

Your problem is in the manifest, the bundle name displayed in the Eclipse IDE is not the same as the symbolic-name (ie. the name used at build/run time).

JD

On Wed, Jul 11, 2012 at 8:49 AM, Paul-Emmanuel <src182@xxxxxxxxx> wrote:

Hello,

I recently tried to build my Eclipse plugins with Tycho, following the Vogella's tutorial (http://www.vogella.com/articles/EclipseTycho/article.html) and here is the error raised :

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:0.15.0:v
alidate-id (default-validate-id) on project builder
: The Maven artifactId (currently: "builder") must
be the same as the bundle symbolic name (currently: "null") -> [Help 1]

And my project files are :

for the "parent" POM : exactly as in vogella tutorial, with modules path customized

for the "builder" project POM :

<project>

<modelVersion>4.0.0</modelVersion>

<parent>

<relativePath>../master/pom.xml</relativePath>

<groupId>perso</groupId>

<artifactId>master</artifactId>

<version>0.0.1-SNAPSHOT</version>

</parent>

<artifactId>builder</artifactId>

<packaging>eclipse-plugin</packaging>

</project>

The manifest file of my plugin is :

...

Manifest-Version: 1.0

Bundle-ManifestVersion: 2

Bundle-Name: Builder

Bundle-SymbolicName: builder;singleton:=true

...

So, does anyone have an idea of the error's source?

Thanks


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



Back to the top