<div dir="ltr">Guys, I&#39;m also interested on that. <div><br></div><div>At the moment I&#39;m working for a customer who uses its &quot;own&quot; tools to generate code. They have an API to do it from simple Main classes for example. So it would be great to be able to generate code with Forge. A perfect use case is : how do I create a new project ? Or how do I do a &quot;project-new --named myProj --type war --topPackage org.mycomp.myproj&quot; ....</div>
<div><br></div><div>If it&#39;s doable, a bit of documentation would help ;o)</div><div><br></div><div>Antonio</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-23 22:41 GMT+01:00 George Gastaldi <span dir="ltr">&lt;<a href="mailto:ggastald@redhat.com" target="_blank">ggastald@redhat.com</a>&gt;</span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
You can start Forge 2 with your application and use its APIs to do what you want, without requiring the shell. Join us on #forge in <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> so we can aid you in this.<br>

<br>
&gt; Em 23/03/2014, ās 16:21, <a href="mailto:forge-users@lists.jboss.org">forge-users@lists.jboss.org</a> escreveu:<br>
<div class="HOEnZb"><div class="h5">&gt;<br>
&gt; Can Forge be invoked programmatically from a Java program? Or can it be only called from Forge shell or Eclipse Plugin? I am trying to generate code (projects) with the help Forge and it&#39;s facets from a Java based custom tool. So I cannot make use of Forge shell. Appreciate any pointers.<br>

&gt;<br>
&gt; Posted by forums<br>
&gt; Original post: <a href="https://community.jboss.org/message/863713#863713" target="_blank">https://community.jboss.org/message/863713#863713</a><br>
&gt; _______________________________________________<br>
&gt; forge-users mailing list<br>
&gt; <a href="mailto:forge-users@lists.jboss.org">forge-users@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/forge-users" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-users</a><br>
<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></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Antonio Goncalves <br>
Software architect and Java Champion<br><br><a href="http://www.antoniogoncalves.org/" target="_blank">Web site</a> | <a href="http://twitter.com/agoncal" target="_blank">Twitter</a> | <a href="http://www.linkedin.com/in/agoncal" target="_blank">LinkedIn</a> | <a href="http://www.parisjug.org/" target="_blank">Paris JUG</a> | <a href="http://www.devoxx.fr/" target="_blank">Devoxx France</a>
</div>