Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Tycho Book: Repository in pom.ml or .target file (or both)

The trick is to pick the right root installable unit. Judging by missing
dependencies you seem to develop some sort of IDE plugin, so
org.eclipse.sdk.ide may work better for you.

You can use my p2 browser [1] to see what is included in
org.eclipse.sdk.ide and other features.


[1] https://github.com/ifedorenko/p2-browser

--
Regards,
Igor

On 12-07-03 1:07 AM, Barrie Treloar wrote:
 From https://github.com/etesla/book-tycho/blob/master/en/01-introduction/01-chapter1.md#the-source-of-dependencies
I'm reading that section and wondering what my options are.

I currently have both.
* a number of repository definitions in my pom.xml hierarchy
* a .target file to constrain what is available.
and everything works fine.

As an experiment, I thought I would try to remove the repository
definition from the pom.xml.
My build starts to fail because of "Unable to satisfy dependency " errors.

I think this is because my .target file doesn't include everything,

I'm pulling in features groups via
* <unit id="org.eclipse.rcp.feature.group" version="0.0.0"/>
* <unit id="org.eclipse.equinox.executable.feature.group" version="0.0.0"/>

But the errors are
["Unable to satisfy dependency from
my.product.feature.feature.group 2.0.11.qualifier to
org.eclipse.core.runtime.compatibility 0.0.0.", "Unable to satisfy
dependency from my.product.feature.feature.group 2.0.11.qualifier to
org.eclipse.ui.workbench.compatibility 0.0.0.", "Unable to satisfy
dependency from my.product.feature.feature.group 2.0.11.qualifier to
org.eclipse.help.ui 0.0.0.", "Unable to satisfy dependency from
my.product.feature.feature.group 2.0.11.qualifier to
org.apache.lucene 0.0.0.", "Unable to satisfy dependency from
my.product.feature.feature.group 2.0.11.qualifier to
org.eclipse.help.appserver 0.0.0.", "Unable to satisfy dependency from
my.product.feature.feature.group 2.0.11.qualifier to
org.eclipse.help.base 0.0.0.", "Unable to satisfy dependency from
my.product.feature.feature.group 2.0.11.qualifier to
org.eclipse.help.webapp 0.0.0.", "Unable to satisfy dependency from
my.product.feature.feature.group 2.0.11.qualifier to
org.eclipse.core.resources 0.0.0.", "Unable to satisfy dependency from
my.product.feature.feature.group 2.0.11.qualifier to
org.eclipse.ui.forms 0.0.0.",

So I started adding in these to the target runtime manually.
Which seems like a lot work.

So before I bother, I think some expert advice would be useful, which
should also feed back into that section of the book.
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user




Back to the top