Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Target vs repository

Hi,

On Thu, Mar 1, 2018 at 1:28 PM, Daniel Burrell <daniel.burrell@xxxxxxxxx> wrote:
So why would do both? 

In my opinion, you should avoid doing both a stick to .target as much as possible.

How should third party bundle artefacts be referenced and where should they be located and why?
- should it be made available by adding a reference to the p2 repository containing the artefact to the target platform?

Eclipse Orbit or JBoss Tools for examples do have a dedicated build to "osgi-ify" and "p2-ify" 3rd party libs which aren't already usable by p2. With this approach, the advantage is that everything becomes regular p2 artifacts that you can put in the .target file; and the drawback is that you have to build a separate "3rd-party" repository containing all such libs prior to build your own code.

HTH
--
Mickael Istria
Eclipse IDE developer, at Red Hat Developers community
Elected Committer Representative at the Eclipse Foundation board of directors

Back to the top