Pradeep Simha
Pradeep Simha

Reputation: 18123

Eclipse Tycho change default source location

I am trying to build eclipse plugin using Tycho, eventhough we are using maven, our project structure is bit different than standard tycho/maven structure. (because due to company standards)

Project structure is as shown below:

com.test.plugin
|
------ build
-------|
-------------plugin-artifacts
-------------|classes  //compiled classes
-------------|META-INF

//here folder structure is bit different, pom.xml inside build directory
will take care of generating plugin-artifacts.

So my question is , is it possible to specify tycho to take build/plugin-artifacts as root directory to generate plugin jar file, instead of taking com.test.plugin as root?

I am following Lars Vogel's tutorial to learn tycho plugin.

Upvotes: 1

Views: 467

Answers (1)

oberlies
oberlies

Reputation: 11723

Tycho doesn't allow to configure where the OSGi manifest is located. It always has to be at META-INF/MANIFEST.MF relative to the pom.xml file.

Most other input and output folders are configurable though, so you could simply put the pom.xml at com.test.plugin/build/plugin-artifacts, and configure the paths in the build.properties (located in the same folder as the pom.xml) and POM.

Upvotes: 2

Related Questions