On Fri, Dec 4, 2009 at 8:26 PM, Nick Boldt <
nickboldt@xxxxxxxxx <mailto:
nickboldt@xxxxxxxxx>> wrote:
You mean the *tests* fail with that error? That's because that
feature is installed into the test runtime in order to be able to
run the tests.
To support what you want to do, we'd have to add another property
into build.properties or testing.properties to allow a list of IUs
to be installed for the test runtime.
Or maybe setting "mainFeatureToBuildID" to something else in
testing.properties will override the value used to build with some
other feature for running the tests? Try it and let me know if that
works.
Why exactly do you not want this all-in-one feature on your update site?
(Also, have you tried using a custom site.xml or categories.xml to
generate the update site?)
N
Nicolas Bros wrote:
Thanks for your help. I have removed the "bin.includes" from the
feature, and added a "p2.inf" file with the 2 lines you gave,
but the build now fails with this error:
The installable unit org.eclipse.gmt.modisco.all.feature.group
has not been found.
On Thu, Dec 3, 2009 at 5:12 PM, Andrew Niefer
<
aniefer@xxxxxxxxxx <mailto:
aniefer@xxxxxxxxxx>
<mailto:
aniefer@xxxxxxxxxx <mailto:
aniefer@xxxxxxxxxx>>> wrote:
This will depend on how Athena does its integration with p2.
Nick
should be able to clarify.
- if using "generate.p2.metadata=true", this is generating p2
metadata based on the binary results of the build. In this case,
simply not having a binary jar for this top level feature will do
what you want. This is done by making sure that the
build.properties for the feature does not have a "bin.includes"
property
- if using "p2.gathering=true", this is generating p2 metadata
directly from the source, in this case you will end up with a
metadata group (but no artifact if you don't define
bin.includes).
In this case you will want to turn off the "group" property, do
this by providing a p2.inf beside the feature.xml and adding the
following:
properties.1.name <
http://properties.1.name>
<
http://properties.1.name>=org.eclipse.equinox.p2.type.group
properties.1.value=false
-Andrew
From: Nicolas Bros <
nbros@xxxxxxxxxxxxxxxx
<mailto:
nbros@xxxxxxxxxxxxxxxx>
<mailto:
<mailto: