It isn't documented yet as it is still pretty new (I just wrote it last week). You can find the code and definition for the ant task here:<br><br><a href="http://fisheye.jboss.com/browse/JBoss/jbosside/releng/org.jboss.ide.eclipse.releng/src/org/jboss/ide/eclipse/releng">
http://fisheye.jboss.com/browse/JBoss/jbosside/releng/org.jboss.ide.eclipse.releng/src/org/jboss/ide/eclipse/releng</a><br><br>You'll basically want to look at CalculateFeatureDependenciesTask. This task by itself only figures out which features and plugins a given feature "depends on" to run within eclipse based on it's <requires> and <include> xml tags. There is a macro definition in the common/bundleDependencies.xml script that wraps this task and does the actual bundling which you can find here:
<br><br><a href="http://fisheye.jboss.com/browse/JBoss/jbosside/releng/org.jboss.ide.eclipse.releng/builders/common/bundleDependencies.xml?r=1.1">http://fisheye.jboss.com/browse/JBoss/jbosside/releng/org.jboss.ide.eclipse.releng/builders/common/bundleDependencies.xml?r=1.1
</a><br><br>You can see the bundleDependencies macro in use in hibernate tools' customTargets.xml here:<br><br><a href="http://fisheye.jboss.com/browse/JBoss/jbosside/releng/org.jboss.ide.eclipse.releng/builders/hibernate-tools/customTargets.xml?r=1.7">
http://fisheye.jboss.com/browse/JBoss/jbosside/releng/org.jboss.ide.eclipse.releng/builders/hibernate-tools/customTargets.xml?r=1.7</a><br><br>It basically looks like:<br><br><span class="annLine" title="1.7 mculpepper"><span class="hl_starttag">
<bundleDependencies <span class="hl_attrib">feature</span>=<span class="hl_string">"org.hibernate.eclipse.feature"</span> <span class="hl_attrib">buildDirectory</span>=<span class="hl_string">"${buildDirectory}"
<br></span></span></span><span class="annLine" title="1.4 mculpepper"><span class="hl_starttag"><span class="hl_attrib">archivePath</span>=<span class="hl_string">"${buildDirectory}/${buildLabel}/HibernateTools-${hibernate.tools.release
}.${versionTag}.zip"</span> /></span></span><br><br>Keep in mind this will only bundle dependencies which are explicitly declared under the "Dependencies" tab in the feature.xml or in the "include features" tab (it will also bundle dependencies of dependencies, etc). I don't see a reason why you wouldn't be able to use this outside of releng if you want to use this in your own customTargets.. the code is eclipse independent.
<br><br><div><span class="gmail_quote">On 9/12/06, <b class="gmail_sendername">Koen Aers</b> <<a href="mailto:koen.aers@jboss.com">koen.aers@jboss.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div>
<div dir="ltr" align="left">
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Ok now I have finally read this email thread<span> about the feature.xml</span> and I am a bit more
up to date. But what exactly is the ant task you are talking about
Marshall? <span>Is this documented somewhere? And
d</span>o you mean I have to include <span>some
other </span>dependency to make the jBPM plug-in build work outside of JBoss
IDE? I am not quite sure <span>that</span> this
would simplify things for me... </font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><span><font color="#0000ff" face="Arial" size="2">Regards,</font></span></span></div>
<div dir="ltr" align="left"><span><span><font color="#0000ff" face="Arial" size="2">Koen</font></span></span></div></div><br>
<blockquote style="border-left: 2px solid rgb(0, 0, 255); padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div dir="ltr" align="left" lang="en-us">
<hr>
<font face="Tahoma" size="2"><b>From:</b> <a href="mailto:marshall.jboss@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">marshall.jboss@gmail.com</a>
[mailto:<a href="mailto:marshall.jboss@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">marshall.jboss@gmail.com</a>] <b>On Behalf Of </b>Marshall
Culpepper<br><b>Sent:</b> maandag 11 september 2006 21:43<br><b>To:</b> Koen
Aers; <a href="mailto:jbosside-dev@lists.jboss.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">jbosside-dev@lists.jboss.org</a><br><b>Subject:</b> jBPM Designer
feature.xml needs to be updated<br></font><br></div></blockquote></div><div><span class="e" id="q_10da3f84f243c5ed_1">
<div></div>Hey Koen..<br><br>When going through builds trying to iron
everything out for the new bundling task, I noticed that
org.jbpm.gd.jpdl.feature still includes eclipse plugins listed as
<plugin> in the feature.xml. As per our meeting, could you remove all of
these entries and move them to the "Dependencies" tab, or
"<requires><import>" ? <br clear="all"><br>-- <br>Marshall
Culpepper<br><a href="mailto:marshall.culpepper@jboss.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">marshall.culpepper@jboss.com</a><br>JBossIDE
Team Lead<br>JBoss, a division of Red Hat </span></div><div></div>
</div></blockquote></div><br><br clear="all"><br>-- <br>Marshall Culpepper<br><a href="mailto:marshall.culpepper@jboss.com">marshall.culpepper@jboss.com</a><br>JBossIDE Team Lead<br>JBoss, a division of Red Hat