TargetDefinitionGenerator generates incomplete .target file [message #1728446] |
Mon, 04 April 2016 08:13  |
Eclipse User |
|
|
|
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 07:52  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.03732 seconds