Uploaded image for project: 'Chukwa'
  1. Chukwa
  2. CHUKWA-653

Pre-compile JSP code in mvn compile phase

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.6.0
    • Component/s: Build and Test Code
    • Labels:
      None

      Description

      We need to check those compiling errors in jsp files during the compile phase in maven. It can avoid some obvious errors in advance.

        Activity

        Hide
        grace.huang Jie Huang added a comment -

        Add the jsp-compile plugin in the jspc profile. If the user defines -Djspc, the maven attempts to compile the existing jsp code into target/web folder.

        It somehow helps to identify any potential bugs in jsp code. However, this maven plugin lacks of some detailed compiling error messages. If any tool is better than it, please let me know. Thanks.

        Show
        grace.huang Jie Huang added a comment - Add the jsp-compile plugin in the jspc profile . If the user defines -Djspc , the maven attempts to compile the existing jsp code into target/web folder. It somehow helps to identify any potential bugs in jsp code. However, this maven plugin lacks of some detailed compiling error messages. If any tool is better than it, please let me know. Thanks.
        Hide
        eyang Eric Yang added a comment -

        +1 looks good.

        Show
        eyang Eric Yang added a comment - +1 looks good.
        Hide
        eyang Eric Yang added a comment -

        I just committed this, thanks Grace.

        Show
        eyang Eric Yang added a comment - I just committed this, thanks Grace.
        Hide
        hudson Hudson added a comment -

        Integrated in Chukwa-trunk #460 (See https://builds.apache.org/job/Chukwa-trunk/460/)
        CHUKWA-653. Added pre-compile JSP code profile for build process. (Jie Huang via Eric Yang) (Revision 1411815)

        Result = SUCCESS
        eyang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1411815
        Files :

        • /incubator/chukwa/trunk/CHANGES.txt
        • /incubator/chukwa/trunk/pom.xml
        Show
        hudson Hudson added a comment - Integrated in Chukwa-trunk #460 (See https://builds.apache.org/job/Chukwa-trunk/460/ ) CHUKWA-653 . Added pre-compile JSP code profile for build process. (Jie Huang via Eric Yang) (Revision 1411815) Result = SUCCESS eyang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1411815 Files : /incubator/chukwa/trunk/CHANGES.txt /incubator/chukwa/trunk/pom.xml

          People

          • Assignee:
            grace.huang Jie Huang
            Reporter:
            grace.huang Jie Huang
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development