[forge-issues] [JBoss JIRA] (FORGE-1219) --createMain doesn't work with --type war

Lincoln Baxter III (JIRA) jira-events at lists.jboss.org
Thu Sep 19 15:26:03 EDT 2013


    [ https://issues.jboss.org/browse/FORGE-1219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12805928#comment-12805928 ] 

Lincoln Baxter III commented on FORGE-1219:
-------------------------------------------

Odd... this probably shouldn't even be a feature for --war project types. What would a main class in a WAR be used for? What do you want it to do? :)
                
> --createMain doesn't work with --type war
> -----------------------------------------
>
>                 Key: FORGE-1219
>                 URL: https://issues.jboss.org/browse/FORGE-1219
>             Project: Forge
>          Issue Type: Bug
>    Affects Versions: 1.4.1.Final
>            Reporter: Antonio Goncalves
>
> Hi,
> I'm creating a web app and I would like to have a {{Main}} class. If I do this, the {{Main}} class is not generated
> {code}
> new-project --named test --topLevelPackage org.javaone.javaee7 --type war --createMain --finalName javaone2013
> {code}
> If I take the {{--type war}} out, the {{Main}} class is generated
> {code}
> new-project --named test --topLevelPackage org.javaone.javaee7 --createMain --finalName javaone2013
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the forge-issues mailing list