Hi Antonio,

I added a Gist in https://gist.github.com/gastaldi/9741889 showing how to start Furnace and creating a new project.

This should be in the documentation soon.

Best Regards,

George Gastaldi

On 24-03-2014 06:30, Antonio Goncalves wrote:
Guys, I'm also interested on that. 

At the moment I'm working for a customer who uses its "own" 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 "project-new --named myProj --type war --topPackage org.mycomp.myproj" ....

If it's doable, a bit of documentation would help ;o)

Antonio


2014-03-23 22:41 GMT+01:00 George Gastaldi <ggastald@redhat.com>:
Hello,

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 irc.freenode.net so we can aid you in this.

> Em 23/03/2014, às 16:21, forge-users@lists.jboss.org escreveu:
>
> 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's facets from a Java based custom tool. So I cannot make use of Forge shell. Appreciate any pointers.
>
> Posted by forums
> Original post: https://community.jboss.org/message/863713#863713
> _______________________________________________
> forge-users mailing list
> forge-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/forge-users

_______________________________________________
forge-users mailing list
forge-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-users



--
Antonio Goncalves 
Software architect and Java Champion

Web site | Twitter | LinkedIn | Paris JUG | Devoxx France


_______________________________________________
forge-users mailing list
forge-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-users