<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
As eclipse defines it in feature manifest description:<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<span style="color: rgb(0, 0, 0); font-family: Arial, Helvetica,
sans-serif; font-size: 13px; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal; line-height:
normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); display: inline !important; float: none; "><includes>
- optional reference to a nested<span
class="Apple-converted-space"> </span></span><span
name="resultofMatch" style="color: rgb(0, 0, 0); font-family:
Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: normal; orphans: 2; text-align: -webkit-auto;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
102); background-image: initial; background-attachment: initial;
background-origin: initial; background-clip: initial;
background-position: initial initial; background-repeat: initial
initial; "><span><span name="resultofMatch" style="color: rgb(0,
0, 0); background-image: initial; background-attachment:
initial; background-origin: initial; background-clip: initial;
background-color: rgb(255, 255, 102); background-position:
initial initial; background-repeat: initial initial; ">featur</span>e</span></span><span
style="color: rgb(0, 0, 0); font-family: Arial, Helvetica,
sans-serif; font-size: 13px; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal; line-height:
normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); display: inline !important; float: none; "><span
class="Apple-converted-space"> </span>that is considered to be
part of this<span class="Apple-converted-space"> </span></span><span
name="resultofMatch" style="color: rgb(0, 0, 0); font-family:
Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: normal; orphans: 2; text-align: -webkit-auto;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
102); background-image: initial; background-attachment: initial;
background-origin: initial; background-clip: initial;
background-position: initial initial; background-repeat: initial
initial; "><span><span name="resultofMatch" style="color: rgb(0,
0, 0); background-image: initial; background-attachment:
initial; background-origin: initial; background-clip: initial;
background-color: rgb(255, 255, 102); background-position:
initial initial; background-repeat: initial initial; ">featur</span>e</span></span><span
style="color: rgb(0, 0, 0); font-family: Arial, Helvetica,
sans-serif; font-size: 13px; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal; line-height:
normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); display: inline !important; float: none; ">. Nested</span><span
name="resultofMatch" style="color: rgb(0, 0, 0); font-family:
Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: normal; orphans: 2; text-align: -webkit-auto;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
102); background-image: initial; background-attachment: initial;
background-origin: initial; background-clip: initial;
background-position: initial initial; background-repeat: initial
initial; "><span><span name="resultofMatch" style="color: rgb(0,
0, 0); background-image: initial; background-attachment:
initial; background-origin: initial; background-clip: initial;
background-color: rgb(255, 255, 102); background-position:
initial initial; background-repeat: initial initial; "> featur</span>e</span></span><span
style="color: rgb(0, 0, 0); font-family: Arial, Helvetica,
sans-serif; font-size: 13px; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal; line-height:
normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); display: inline !important; float: none; ">s must be located
on the same update site as this<span class="Apple-converted-space"> </span></span><span
name="resultofMatch" style="color: rgb(0, 0, 0); font-family:
Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: normal; orphans: 2; text-align: -webkit-auto;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
102); background-image: initial; background-attachment: initial;
background-origin: initial; background-clip: initial;
background-position: initial initial; background-repeat: initial
initial; "><span><span name="resultofMatch" style="color: rgb(0,
0, 0); background-image: initial; background-attachment:
initial; background-origin: initial; background-clip: initial;
background-color: rgb(255, 255, 102); background-position:
initial initial; background-repeat: initial initial; ">featur</span>e</span></span><br>
<br>
Parent and nested features are must be built together, as I remember
PDE does it exactly this way or fails if there is no sources for
nested features available at time of building. In this case
mentioned issue is not a bug, but inclusion used in wrong way<br>
<br>
There are included features in org.jboss.ide.eclipse.as.feature,
they are really should be declared as dependencies. I don't think we
really have features that would be god candidates for inclusion.<br>
<br>
Denis<br>
<br>
On 03/19/2012 09:59 AM, Mickael Istria wrote:
<blockquote cite="mid:4F6765F7.3060404@redhat.com" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Hi all,<br>
<br>
As I am working on <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="https://issues.jboss.org/browse/JBIDE-8838">https://issues.jboss.org/browse/JBIDE-8838</a>
(add source features to build), I noticed this bug in the
mechanics we want to use: <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=374663">https://bugs.eclipse.org/bugs/show_bug.cgi?id=374663</a>
(tycho-source-feature-plugin does not resolve remote source
features). But I also noticed that some of you (namely AS, BPEL,
jBPM & JSF) do use included features in your features.<br>
Included features are a kind of anti-pattern for us. The
"inclusion" is a very strict relationship that is resolved at
build-time and that locks version for features. Included features
have static versions when it comes to installing and this can be a
source of p2 screed. I think you can always replace this
"inclusion" relationship by a "dependency" relationship in your
feature.xml. Dependencies are resolved at install-time, and it
allow people to perform updates without pain.<br>
<br>
I'm totally in favor of replacing inclusions by dependencies. I
will do it for the components listed above. However, I may miss a
point that could justify the inclusion over the dependency. If
yes, please tell me quickly why you did made that choice and why
it wouldn't work with dependencies.<br>
I'm looking for concrete and current issues you have met with
dependencies that are solved by inclusion.<br>
<br>
Cheers<br>
<div class="moz-signature">-- <br>
Mickael Istria<br>
Eclipse developer at <a moz-do-not-send="true"
href="http://www.jboss.org/tools">JBoss, by Red Hat</a><br>
<a moz-do-not-send="true"
href="http://mickaelistria.wordpress.com">My blog</a> - <a
moz-do-not-send="true" href="http://twitter.com/mickaelistria">My
Tweets</a></div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
jbosstools-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:jbosstools-dev@lists.jboss.org">jbosstools-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/jbosstools-dev">https://lists.jboss.org/mailman/listinfo/jbosstools-dev</a></pre>
</blockquote>
<br>
</body>
</html>