Skip to content

Generating a *.target #1903

Answered by laeubi
merks asked this question in Q&A
Dec 22, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

This is not really possible with the "classic" resolver (but could work with the enhanced one), but it would actually be more valuable to not generated it manually but let Tycho do handle it nativly:

The points one likely want to adjust are:

  • org.eclipse.tycho.targetplatform.TargetDefinitionFile.isTargetFile(File) so it accepts files with .tpd and .target extension
  • org.eclipse.tycho.targetplatform.TargetDefinitionFile.read(File) to first perform the conversion from tpd>target and then do a "normal" read or parse the tpd file in a way that produces a TargetDefinitionFile directly

The it should work to use either of both (probably there are some places that could still need adjustmen…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@merks
Comment options

merks Dec 23, 2022
Collaborator Author

Answer selected by merks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants