Hey there, <br><br>You're not crazy. There were actually a few bugs in Beta5 that caused this issue:<br><br><blockquote style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
<a href="https://issues.jboss.org/browse/FORGE-423">https://issues.jboss.org/browse/FORGE-423</a><br></blockquote><div><br>So until CR1 comes out, you can just get a SNAPSHOT of forge and it should work from the HEAD of plugins.<br>
<br>Does this answer your question?<br>~Lincoln <br></div><br><br><br><div class="gmail_quote">On Tue, Jan 17, 2012 at 5:42 PM, Thomas Frühbeck <span dir="ltr"><<a href="mailto:fruehbeck@aon.at">fruehbeck@aon.at</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<font size="+1"><font face="Courier New, Courier, monospace">Hi,<br>
<br>
when I tried to load plugins I downloaded from github and
compiled by "forge source-plugin" I could not load them.<br>
I found that the API-version string of the plugins did not
contain "SNAPSHOT" and a ConcurrentModificationException was
thrown in Bootstrap class.<br>
<br>
So I (pragmatically though) changed the lines starting from 174+
to:<br>
<br>
</font></font>
thomas@happy:~/java/git/forge> git difftool -y -t ctxdiff
shell/src/main/java/org/jboss/forge/shell/Bootstrap.java<br>
26a27<br>
> import java.util.Iterator;<br>
173,179c174,181<br>
< for (PluginEntry pluginEntry : incompatible) {<br>
< if
(pluginEntry.getApiVersion().contains("SNAPSHOT"))<br>
< {<br>
< toLoad.add(pluginEntry);<br>
< incompatible.remove(pluginEntry);<br>
< }<br>
< }<br>
---<br>
> Iterator<PluginEntry> incompIter =
incompatible.iterator();<br>
> while (incompIter.hasNext()) {<br>
> PluginEntry pluginEntry = incompIter.next();<br>
> if
(pluginEntry.getApiVersion().contains("SNAPSHOT") ||
pluginEntry.getSlot().contains("SNAPSHOT")) {<br>
> toLoad.add(pluginEntry);<br>
> incompIter.remove();<br>
> }<br>
> }<br>
<br>
<big>Silly?<br>
How should "forge source-plugin" work with plugins coming from
HEAD?</big><br>
<br>
Comments appreciated,<br>
Thomas<br>
</div>
<br>_______________________________________________<br>
forge-users mailing list<br>
<a href="mailto:forge-users@lists.jboss.org">forge-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-users" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.com">http://ocpsoft.com</a><br><a href="http://scrumshark.com">http://scrumshark.com</a><br>"Keep it Simple"<br>