[forge-users] Scaffold strategies

Charles Moulliard cmoullia at redhat.com
Thu Mar 9 12:59:08 EST 2017


Hi,

As there are different strategies to scaffold code of a project, I would
like to get your opinion about the idea to use the template approach (ex.
Rest.ftl) using freemarker [1] or to create the files using JavaFacet, ....
for a Spring project

Can we create easily a Java Class with @Annotations ?
What do you suggest to do to by example setup
src/main/resources/application.yaml file

[1]
https://github.com/obsidian-toaster/obsidian-addon/blob/master/src/main/java/org/obsidiantoaster/generator/ui/starter/PerformExtraTasksStep.java
[2] :
https://github.com/forge/wildfly-swarm-addon/blob/master/src/main/java/org/jboss/forge/addon/swarm/ui/CreateRestEndpointStep.java#L47-L60

Regards,

Charles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/forge-users/attachments/20170309/6cf2d2df/attachment.html 


More information about the forge-users mailing list