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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.4.2.Final
    • 1.4.1.Final
    • None
    • None

      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
      

              rhn-support-ggastald George Gastaldi
              agoncal Antonio Goncalves (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: