Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1219

--createMain doesn't work with --type war

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.4.1.Final
    • Fix Version/s: 1.4.2.Final
    • Component/s: None
    • Labels:
      None

      Description

      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

      new-project --named test --topLevelPackage org.javaone.javaee7 --type war --createMain --finalName javaone2013
      

      If I take the --type war out, the Main class is generated

      new-project --named test --topLevelPackage org.javaone.javaee7 --createMain --finalName javaone2013
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  gastaldi George Gastaldi
                  Reporter:
                  agoncal Antonio Goncalves
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: