Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Building a p2 repository from multiple projects

Hi Cristiano,

creating a separate p2 repo with a parent pom that references the other projects seems to work fine.

thanks!

regards

-robert



On Tue, Mar 13, 2012 at 5:55 PM, Cristiano Gavião <cvgaviao@xxxxxxxxx> wrote:
Hi,

If the two project runs in different reactors, one possibility could be:

- mvn install both com.example.a.feature and com.example.b.feature

- create one p2 project that references the installed features above as dependency in the pom and in the category.xml;

Another possibility is to create a target definition file pointing to the already built features and than configure the p2 project to be built using this target file.

regards,

Cristiano


On 13/03/12 13:34, Robert Gründler wrote:
Hi all,

i'm currently maintaining a couple of eclipse plugins. Each of these plugins
has it's own tycho project:

Project A

- pom.xml <-- master pom of project a
   - com.example.a.feature <- pom.xml
   - com.example.a.plugin <-- pom.xml

Project B

- pom.xml <-- master pom of project b
  - com.example.b.feature <-- pom.xml
  - com.example.b.plugin <-- pom.xml

Now i'd like to create a p2 repository that contains both features from project A and project B.

I've found this demo project: https://github.com/jsievers/tycho-demo where basically the project
contains already the p2 repository - but in the case of multiple projects this would need to look different.

Has anyone a hint how to create such a tycho project?

regards

-robert




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


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




--
phone +43 676 64 57 240

Zieglergasse 65/6
1070 Vienna
Austria

follow me:
http://twitter.com/pulse00
https://github.com/pulse00


Back to the top