Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-2729

Clover2 integration for Struts2

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Won't Do
    • None
    • None
    • Unit Tests
    • None

    Description

      Integrate maven-clover2-plugin to the struts2 build.

      the following targets must be run in order for Clover to work:

      mvn clean compile clover2:instrument clover2:clover

      Without running compile, core/target/classes/META-INF/struts-tags.tld fails to be found:

      Problem encountered during annotation processing; 
      see stacktrace below for more information.
      java.lang.RuntimeException: java.io.FileNotFoundException: /Users/niick/work/struts2/core/target/classes/META-INF/struts-tags.tld (No such file or directory)
      	at org.apache.struts.annotations.taglib.apt.TagAnnotationProcessor.saveAsXml(TagAnnotationProcessor.java:362)
      	at org.apache.struts.annotations.taglib.apt.TagAnnotationProcessor.process(TagAnnotationProcessor.java:182)
      	at com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.process(AnnotationProcessors.java:60)
       

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mrdon Donald J. Brown
            npellow Nick Pellow
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment