|
|
|
|
|
|
Re: Hybrid .target + targlet project [message #1779049 is a reply to message #1779047] |
Sun, 31 December 2017 04:46 |
Ed Merks Messages: 33264 Registered: July 2009 |
Senior Member |
|
|
It's pretty trivial like this on one of the Targlets of any Targlet Task:<?xml version="1.0" encoding="UTF-8"?>
<base:Annotation
xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:base="http://www.eclipse.org/oomph/base/1.0"
source="http:/www.eclipse.org/oomph/targlets/TargetDefinitionGenerator">
<detail key="location">
<value>${git.clone.oomph.location/releng/org.eclipse.oomph.parent/tp/org.eclipse.oomph.tp.target}</value>
</detail>
<detail key="extraUnits">
<value>org.eclipse.equinox.executable.feature.group</value>
</detail>
<detail key="singleLocation">
<value>true</value>
</detail>
<detail key="includeAllPlatforms">
<value>false</value>
</detail>
<detail key="includeSource">
<value>true</value>
</detail>
</base:Annotation>
Of course you have to modify this to use the location in your clone where the *.target is located, but that's it. It would also be possible to using the ${eclipse.target.platform} variable (or whatever variable you're using to choose the repository list) to generated different *.target files for different TP choices.
You can also drag and drop a *.target file onto a Targlet Task, so given that, it should be possible in principle to convert it on the fly.
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03957 seconds