[forge-issues] [JBoss JIRA] (FORGE-2232) Documenting how to create and test a command that creates Java code
Antonio Goncalves (JIRA)
issues at jboss.org
Tue Mar 17 11:10:20 EDT 2015
[ https://issues.jboss.org/browse/FORGE-2232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13051042#comment-13051042 ]
Antonio Goncalves commented on FORGE-2232:
------------------------------------------
The doc has been reviewed, now it's time to :
1) convert the doc to asciidoc
2) host that doc on github at https://github.com/forge/docs
3) create an entry in https://github.com/forge/website-data/blob/master/docs-tutorials.yaml
> Documenting how to create and test a command that creates Java code
> -------------------------------------------------------------------
>
> Key: FORGE-2232
> URL: https://issues.jboss.org/browse/FORGE-2232
> Project: Forge
> Issue Type: Sub-task
> Components: Documentation
> Affects Versions: 2.14.0.Final
> Reporter: Antonio Goncalves
> Assignee: George Gastaldi
> Fix For: 2.x Future
>
>
> The idea is to document commands that create new code ({{new}} commands). There are several level of complexity and we should go step by step :
> 1. A command to create a [new constraint payload|FORGE-1620] is quite simple. It only generates Java code to a specific directory
> 2. A command to create a [new package info|FORGE-2071] is a bit tricker because the generate Java code is not a class per-se
> 3. A command to create a [new constraint validator|FORGE-1618] have several parameters that can be used ({{type}} and {{targetConstraint}}). The case of the [JPA Listener|FORGE-2093] is also important because the command taks a choice of parameters ({{POST_UPDATE}}, {{PRE_PERSIST}}...)
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the forge-issues
mailing list