<html><body bgcolor="#FFFFFF"><div>Paul</div><div><br></div><div>This is a great way to achieve plugin combos.</div><div><br></div><div>Especially as it provides a way to create a superset plugin definition that could define plugins for Seam3, JavaEE6, etc.</div><div><br></div><div>What would be cool is if there was an option to install all the plugins that are defined</div><div><br></div><div>Ken<br><br>Sent from my iPhone</div><div><br>On Jun 4, 2011, at 4:54, Paul Bakker &lt;<a href="mailto:paul.bakker.nl@gmail.com">paul.bakker.nl@gmail.com</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div>I think I've got a very simple solution for this working, have a look at this branch:&nbsp;<a href="https://github.com/paulbakker/core/commits/plugin-repo"><a href="https://github.com/paulbakker/core/commits/plugin-repo">https://github.com/paulbakker/core/commits/plugin-repo</a></a><div>It's a new plugin, I added it to the core for now, and believe it belongs there. The plugin does nothing else than parse a remote xml file. The xml file looks as follows:</div>
<div><br></div><div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;plugin&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>&lt;name&gt;Arquillian&lt;/name&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>&lt;url&gt;git://<a href="http://github.com/forge/plugin-arquillian.git"><a href="http://github.com/forge/plugin-arquillian.git">github.com/forge/plugin-arquillian.git</a></a>&lt;/url&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;/plugin&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;plugin&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>&lt;name&gt;OSGI&lt;/name&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>&lt;url&gt;git://<a href="http://github.com/forge/plugin-osgi.git"><a href="http://github.com/forge/plugin-osgi.git">github.com/forge/plugin-osgi.git</a></a>&lt;/url&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;/plugin&gt;</div>
<div><br></div><div>It will than prompt the user: Which plugin do you want to install:&nbsp;</div><div><div>&nbsp;&nbsp;1 - [OSGI]</div><div>&nbsp;&nbsp;2 - [Arquillian]</div><div>&nbsp;&nbsp;3 - [Seam Persistence]</div></div><div><br></div><div>After the user chooses a plugin it will install the plugin by executing "forge git-plugin [url]"</div>
<div><br></div><div>If we add this to the core and keep the xml external a user is always able to install known plugins easily. New plugnis can be added to the xml file without rebuilding the source.</div><div><br></div><div>
If we go forward with this idea we can also add things like automatic updates for example.</div><div><br></div><div>Thoughs?</div><div><br></div><div>Paul</div><div><br><div class="gmail_quote">On Sat, Jun 4, 2011 at 7:46 AM, Lincoln Baxter, III <span dir="ltr">&lt;<a href="mailto:lincolnbaxter@gmail.com"><a href="mailto:lincolnbaxter@gmail.com">lincolnbaxter@gmail.com</a></a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">+1, let's see how it goes :) definitely open to options.<br><br><div class="gmail_quote"><div><div></div><div class="h5">
On Tue, May 31, 2011 at 5:02 PM, Brian Leathem <span dir="ltr">&lt;<a href="mailto:bleathem@gmail.com" target="_blank"><a href="mailto:bleathem@gmail.com">bleathem@gmail.com</a></a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">+1<br>
<div><br>
On 05/31/2011 01:54 PM, Paul Bakker wrote:<br>
&gt; I would like to prototype a PluginPackage (one of the names we<br>
&gt; discussed) and see how that works out. If we like that way we can keep<br>
&gt; the plugins separated, otherwise we can re-consider. Shall I assign<br>
&gt; the JIRA issue to myself?<br>
&gt;<br>
&gt; Paul<br>
<br>
</div></div></div><div class="im"><div><div></div><div>_______________________________________________<br>
forge-dev mailing list<br>
<a href="mailto:forge-dev@lists.jboss.org" target="_blank"><a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a></a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank"><a href="https://lists.jboss.org/mailman/listinfo/forge-dev">https://lists.jboss.org/mailman/listinfo/forge-dev</a></a><br>
</div></div></div></blockquote></div><div><div></div><div class="h5"><br><br clear="all"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.com" target="_blank"><a href="http://ocpsoft.com">http://ocpsoft.com</a></a><br><a href="http://scrumshark.com" target="_blank"><a href="http://scrumshark.com">http://scrumshark.com</a></a><br>
"Keep it Simple"<br>

</div></div><br>_______________________________________________<br>
forge-dev mailing list<br>
<a href="mailto:forge-dev@lists.jboss.org"><a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a></a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank"><a href="https://lists.jboss.org/mailman/listinfo/forge-dev">https://lists.jboss.org/mailman/listinfo/forge-dev</a></a><br>
<br></blockquote></div><br></div></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>forge-dev mailing list</span><br><span><a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a></span><br><span><a href="https://lists.jboss.org/mailman/listinfo/forge-dev">https://lists.jboss.org/mailman/listinfo/forge-dev</a></span><br></div></blockquote></body></html>