Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » TargetDefinitionGenerator generates incomplete .target file
TargetDefinitionGenerator generates incomplete .target file [message #1728446] Mon, 04 April 2016 12:13 Go to next message
Jesper Eskilson is currently offline Jesper EskilsonFriend
Messages: 134
Registered: July 2009
Senior Member
I'm trying to use the TargetDefinitionGenerator to generate by .target file so that tycho can consume it. When I run my maven build, it complains that com.google.gson cannot be found:

[ERROR] Missing requirement: com.iar.ide.common 3.1.0.qualifier requires 'bundle com.google.gson 2.2.4' but it could not be found

And the generated .target file does not make a mention of com.google.gson, despite it being included in the targlet definition:

<?xml version="1.0" encoding="UTF-8"?>
<p2:Requirement
xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:p2="http://www.eclipse.org/oomph/p2/1.0"
name="com.google.gson"
filter=""/>

There are other bundles in the targlet definition which aren't mentioned either in the .target file, so one theory is that the TargetDefinitionGenerator for some reason does not include bundles in the .target file, but that is just a wild guess.

Can anyone shed some light on this?
Re: TargetDefinitionGenerator generates incomplete .target file [message #1728677 is a reply to message #1728446] Wed, 06 April 2016 11:52 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33136
Registered: July 2009
Senior Member
Jesper,

Comments below.

On 04.04.2016 14:13, Jesper Eskilson wrote:
> I'm trying to use the TargetDefinitionGenerator to generate by .target
> file so that tycho can consume it. When I run my maven build, it
> complains that com.google.gson cannot be found:
>
> [ERROR] Missing requirement: com.iar.ide.common 3.1.0.qualifier
> requires 'bundle com.google.gson 2.2.4' but it could not be found
>
> And the generated .target file does not make a mention of
> com.google.gson, despite it being included in the targlet definition:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <p2:Requirement
> xmi:version="2.0"
> xmlns:xmi="http://www.omg.org/XMI"
> xmlns:p2="http://www.eclipse.org/oomph/p2/1.0"
> name="com.google.gson"
> filter=""/>
>
> There are other bundles in the targlet definition which aren't
> mentioned either in the .target file, so one theory is that the
> TargetDefinitionGenerator for some reason does not include bundles in
> the .target file, but that is just a wild guess.
I think it generally only mentions root bundles, but I'm really not sure...
>
> Can anyone shed some light on this?
If you think there is a bug, we'd need to be able to reproduce it to fix
it, so please open a Bugzilla with all the setups needed to reproduce
the problem.


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:How to use the existing *.target file in oomph setup file
Next Topic:clone private git
Goto Forum:
  


Current Time: Fri Apr 19 04:10:08 GMT 2024

Powered by FUDForum. Page generated in 0.22891 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top