<p>If you want to more rapidly test the plugin, I recommend writing a test case with the forge test harness :)</p>
<p>--<br>
Lincoln Baxter&#39;s Droid<br>
<a href="http://ocpsoft.com">http://ocpsoft.com</a><br>
&quot;Keep it Simple&quot;</p>
<div class="gmail_quote">On Sep 23, 2011 10:03 AM, &quot;Lincoln Baxter, III&quot; &lt;<a href="mailto:lincolnbaxter@gmail.com">lincolnbaxter@gmail.com</a>&gt; wrote:<br type="attribution">&gt; You need to actually close forge and restart it at the moment. We changed<br>
&gt; how plains are loaded and haven&#39;t gotten hot-loading back yet :/ its coming<br>&gt; though. Never fear :)<br>&gt; <br>&gt; --<br>&gt; Lincoln Baxter&#39;s Droid<br>&gt; <a href="http://ocpsoft.com">http://ocpsoft.com</a><br>
&gt; &quot;Keep it Simple&quot;<br>&gt; On Sep 23, 2011 4:02 AM, &quot;Cordenier Christophe&quot; &lt;<br>&gt; <a href="mailto:Christophe.Cordenier@atos.net">Christophe.Cordenier@atos.net</a>&gt; wrote:<br>&gt;&gt; Hi<br>
&gt;&gt;<br>&gt;&gt; I am currently testing seam forge 1.0.0-beta2 and especially trying to<br>&gt; create custom plugins. But after following the documentation and installing<br>&gt; the plugin successfully, seam forge still does not recognize my new<br>
&gt; commands...<br>&gt;&gt;<br>&gt;&gt; After setting the @Alias and @Named of my plugin to &quot;forgest&quot;,<br>&gt; implementing a default command and let the sample one &#39;run&#39; as is. i<br>&gt; installed my new plugin as follows :<br>
&gt;&gt;<br>&gt;&gt; [no project] Temp $ forge source-plugin d:\Temp\forgest<br>&gt;&gt; ***INFO*** Invoking build with underlying build system.<br>&gt;&gt; [INFO] Scanning for projects...<br>&gt;&gt; [INFO]<br>&gt;&gt; [INFO]<br>
&gt; ------------------------------------------------------------------------<br>&gt;&gt; [INFO] Building forgest 1.0.0-SNAPSHOT<br>&gt;&gt; [INFO]<br>&gt; ------------------------------------------------------------------------<br>
&gt;&gt; [INFO]<br>&gt;&gt; [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ forgest ---<br>&gt;&gt; [INFO] Deleting d:\Temp\forgest\target<br>&gt;&gt; [INFO]<br>&gt;&gt; [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @<br>
&gt; forgest<br>&gt;&gt; ---<br>&gt;&gt; [WARNING] Using platform encoding (Cp1252 actually) to copy filtered<br>&gt; resources,<br>&gt;&gt; i.e. build is platform dependent!<br>&gt;&gt; [INFO] Copying 2 resources<br>&gt;&gt; [INFO]<br>
&gt;&gt; [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ forgest<br>&gt; ---<br>&gt;&gt; [WARNING] File encoding has not been set, using platform encoding Cp1252,<br>&gt; i.e. b<br>&gt;&gt; uild is platform dependent!<br>
&gt;&gt; [INFO] Compiling 1 source file to d:\Temp\forgest\target\classes<br>&gt;&gt; [INFO]<br>&gt;&gt; [INFO] --- maven-resources-plugin:2.4.3:testResources<br>&gt; (default-testResources) @<br>&gt;&gt; forgest ---<br>&gt;&gt; [WARNING] Using platform encoding (Cp1252 actually) to copy filtered<br>
&gt; resources,<br>&gt;&gt; i.e. build is platform dependent!<br>&gt;&gt; [INFO] Copying 0 resource<br>&gt;&gt; [INFO]<br>&gt;&gt; [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @<br>&gt; forge<br>
&gt;&gt; st ---<br>&gt;&gt; [INFO] Nothing to compile - all classes are up to date<br>&gt;&gt; [INFO]<br>&gt;&gt; [INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @ forgest ---<br>&gt;&gt; [INFO] Surefire report directory: d:\Temp\forgest\target\surefire-reports<br>
&gt;&gt;<br>&gt;&gt; -------------------------------------------------------<br>&gt;&gt; T E S T S<br>&gt;&gt; -------------------------------------------------------<br>&gt;&gt; There are no tests to run.<br>&gt;&gt;<br>
&gt;&gt; Results :<br>&gt;&gt;<br>&gt;&gt; Tests run: 0, Failures: 0, Errors: 0, Skipped: 0<br>&gt;&gt;<br>&gt;&gt; [INFO]<br>&gt;&gt; [INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ forgest ---<br>&gt;&gt; [INFO] Building jar: d:\Temp\forgest\target\forgest.jar<br>
&gt;&gt; [INFO]<br>&gt; ------------------------------------------------------------------------<br>&gt;&gt; [INFO] BUILD SUCCESS<br>&gt;&gt; [INFO]<br>&gt; ------------------------------------------------------------------------<br>
&gt;&gt; [INFO] Total time: 5.141s<br>&gt;&gt; [INFO] Finished at: Fri Sep 23 09:48:00 CEST 2011<br>&gt;&gt; [INFO] Final Memory: 9M/22M<br>&gt;&gt; [INFO]<br>&gt; ------------------------------------------------------------------------<br>
&gt;&gt; ***SUCCESS*** Build successful.<br>&gt;&gt; ***INFO*** Installing plugin artifact.<br>&gt;&gt; ? An existing installation for version [1.0.0-SNAPSHOT] of this plugin was<br>&gt; foun<br>&gt;&gt; d. Replace it? [Y/n] Y<br>
&gt;&gt; Warning: The encoding &#39;UTF-8&#39; is not supported by the Java runtime.<br>&gt;&gt; Warning: The encoding &#39;UTF-8&#39; is not supported by the Java runtime.<br>&gt;&gt; Warning: The encoding &#39;UTF-8&#39; is not supported by the Java runtime.<br>
&gt;&gt; ***SUCCESS*** Installed from [forgest] successfully.<br>&gt;&gt; ***INFO*** Please restart Forge to complete plugin installation.<br>&gt;&gt; Wrote D:\/Documents and<br>&gt; Settings/a136316/.forge/plugins/net/atos/test/forgest/1.<br>
&gt;&gt; 0.0-SNAPSHOT/forgest.jar<br>&gt;&gt; Wrote D:\/Documents and<br>&gt; Settings/a136316/.forge/plugins/net/atos/test/forgest/1.<br>&gt;&gt; 0.0-SNAPSHOT/module.xml<br>&gt;&gt; Wrote D:\/Documents and<br>&gt; Settings/a136316/.forge/plugins/net/atos/test/forgest/de<br>
&gt;&gt; pendencies/1.0.0-SNAPSHOT/javax.inject-1.jar<br>&gt;&gt; Wrote D:\/Documents and<br>&gt; Settings/a136316/.forge/plugins/net/atos/test/forgest/de<br>&gt;&gt; pendencies/1.0.0-SNAPSHOT/module.xml<br>&gt;&gt; Wrote D:\/Documents and<br>
&gt; Settings/a136316/.forge/plugins/org/jboss/forge/plugins/<br>&gt;&gt; main/module.xml<br>&gt;&gt; [no project] Temp $ forge restart<br>&gt;&gt; Windows? Really? Okay...<br>&gt;&gt;<br>&gt;&gt; [no project] Temp $ forgest<br>
&gt;&gt; ***ERROR*** No such command: forgest<br>&gt;&gt;<br>&gt;&gt; Any clue ?<br>&gt;&gt;<br>&gt;&gt; Christophe Cordenier<br>&gt;&gt;<br>&gt;&gt; ________________________________<br>&gt;&gt;<br>&gt;&gt; Ce message et les pi?ces jointes sont confidentiels et r?serv?s ? l&#39;usage<br>
&gt; exclusif de ses destinataires. Il peut ?galement ?tre prot?g? par le secret<br>&gt; professionnel. Si vous recevez ce message par erreur, merci d&#39;en avertir<br>&gt; imm?diatement l&#39;exp?diteur et de le d?truire. L&#39;int?grit? du message ne<br>
&gt; pouvant ?tre assur?e sur Internet, la responsabilit? d&#39;Atos ne pourra ?tre<br>&gt; recherch?e quant au contenu de ce message. Bien que les meilleurs efforts<br>&gt; soient faits pour maintenir cette transmission exempte de tout virus,<br>
&gt; l&#39;exp?diteur ne donne aucune garantie ? cet ?gard et sa responsabilit? ne<br>&gt; saurait ?tre recherch?e pour tout dommage r?sultant d&#39;un virus transmis.<br>&gt;&gt;<br>&gt;&gt; This e-mail and the documents attached are confidential and intended<br>
&gt; solely for the addressee; it may also be privileged. If you receive this<br>&gt; e-mail in error, please notify the sender immediately and destroy it. As its<br>&gt; integrity cannot be secured on the Internet, the Atos liability cannot be<br>
&gt; triggered for the message content. Although the sender endeavours to<br>&gt; maintain a computer virus-free network, the sender does not warrant that<br>&gt; this transmission is virus-free and will not be liable for any damages<br>
&gt; resulting from any virus transmitted.<br></div>