Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-2557

Bind the gwt:compile goal to the compile phase

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.1.4.RELEASE
    • Fix Version/s: 1.1.5.RELEASE
    • Component/s: GWT
    • Labels:
      None

      Description

      In the POM of a Roo-generated GWT project, the GWT plugin's "compile" goal is bound to Maven's "prepare-package" lifecycle phase.

      It would be more appropriate to bind the GWT compiler to Maven's "compile" phase (where it will run after the Java compiler). For example, this will ensure that if you invoke the jetty:run or tomcat:run goal, the GWT compiler will first be run (whereas with the current "prepare-package" binding, it will not). Other plugins besides Jetty may likewise expect the entire project to have been compiled by the time the compile phase completes; making this change will increase the likelihood of them working properly.

        Attachments

          Activity

            People

            Assignee:
            aswan Andrew Swan
            Reporter:
            aswan Andrew Swan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: