Programmatically set target platform to manage external libraries [message #1821497] |
Thu, 13 February 2020 15:44 |
Niels Heltner Messages: 6 Registered: March 2019 |
Junior Member |
|
|
Hello,
I have added a p2 repository in my Xtext project's ".target" project to be able to use an external library. However, for Eclipse to resolve this dependency I have to change the target platform manually in "Window" -> "Preferences" -> "Plug-in Development" -> "Target Platform" from "Running Platform" (which just points at my eclipse installation folder) to the ".target" project of my Xtext project. Is there a way to programmatically get Eclipse to recognize the ".target" project as the default target platform?
(if this is not possible, is there another way to depend on external libraries with a Tycho/Maven build?)
[Updated on: Thu, 13 February 2020 16:02] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03039 seconds