Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Tycho + SonaType Nexus: Create Eclipse Target Platform

Hi Tobias
We had the same issue and apparently there is no way to resolved this problem with tycho alone.

There is a bug reported, that may be help
https://bugs.eclipse.org/bugs/show_bug.cgi?id=343152 

The example shown in the bug description can be found here
http://git.eclipse.org/c/gmf-tooling/org.eclipse.gmf-tooling.git/tree/tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests

The method Utils.setTargetPlatform() sets the target platform with your loaded bundles

I hope it helps
Malu

-----Urspr√ľngliche Nachricht-----
Von: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] Im Auftrag von Tobias Placht
Gesendet: Donnerstag, 23. Mai 2013 13:50
An: Tycho user list
Betreff: [tycho-user] Tycho + SonaType Nexus: Create Eclipse Target Platform

Hello Guys,

we are developing an OSGi Application with a RAP UI deployed into 
Eclipse Virgo.

The Application contains two components:

1. A core unit which is plain OSGi

2. A Eclipse RAP UI

For the first component we are using maven to build the bundles, for the 
second Part (the RAP UI ) we are using maven tycho.

With the help of Sonatype Nexus i was able to build tycho without pom 
dependencies (using only p2 repository's).

We deploy our SNAPSHOTS/RELEASES  and a handfull of 3rd partie librarys 
which are not available in an existing p2 repository to nexus and the p2 
aggregator/repository plugin automatically creates a p2 repository.

We have proxied Eclipse Orbit,RAP the RAP Incubator and  STS (for spring 
libraries) and grouped it together.

Now when i point tycho to the URL of our nexus instance the build is 
successful.

In the next step we want to create a Target Platform for this and 
future, similar projects.

When i point eclipse to the URL of our p2 group (the same which works 
fine for tycho) eclipse can not satisfy the dependencies for the Spring 
libraries, and does not recognize our uploaded jars.

Is it possible to create an Target Platform with tycho which contains 
the bundles/plugins collect during build time and share it with other 
developers?

RIght now we have collected all jars from the various sources stated 
above and placed them into a local directory

If not maybe someone can point me into the right direction?

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

*****************************************************
This e-mail may contain confidential material. It is intended only for the person or entity which it is addressed to. In case you should not be supposed to get this e-mail we ask you to delete it without taking notice of its content. Any views or opinions expressed in this e-mail are those of the sender and do not necessarily coincide with those of The Swiss Raiffeisen Group. Therefore this e-mail does not represent a binding agreement nor an offer to deal. E-Mail transmission can be insecure and can contain errors. Information could be intercepted, corrupted, lost, destroyed, incomplete or may contain viruses. Neither The Swiss Raiffeisen Group nor the sender can accept any liability for any kind of damage as the result of viruses or transmission errors.
*****************************************************


Back to the top