Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-4731

MSBuild parser fails to pick up SharePoint packaging warnings

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: warnings-plugin
    • Labels:
      None
    • Environment:
      Platform: PC, OS: Windows XP
    • Similar Issues:

      Description

      Started to notice that when I ran MSBuild at the command prompt it gathered and
      reported 36 Warnings, but my Hudson CI machine was reporting only 16. Further
      investigation found that the MSBuild waring parser was not picking up
      SharePoint project validation warnings. I hand to change a few names here but
      here are the sample warnings that were missed. Please update parser to catch
      SharePoint packaging warnings.

      "C:\Users\davegraham\playpens\x\y\src\Project.Web\Project.Web.csproj" (Package
      target) (15:11) ->
      (PerformPackageValidation target) ->
      C:\Users\davegraham\playpens\x\y\src\Project.Web\Package\Package.package :
      warning SPT6: Microsoft.VisualStudio.SharePoint.ListDefinition ListDef is
      included in the following features: TypesAndLists, ListBrowser
      [C:\Users\davegraham\playpens\x\y\src\Project.Web\
      Project.Web.csproj]
      C:\Users\davegraham\playpens\x\y\src\Project.Web\Package\Package.package :
      warning SPT6: Microsoft.VisualStudio.SharePoint.WebPart ListWebPart is included
      in the following features: ProjectWebParts, ListBrowser
      [C:\Users\davegraham\playpens\x\y\src\Project.Web\
      Project.Web.csproj]

        Attachments

          Activity

          Hide
          drulli Ulli Hafner added a comment -

          How many warnings are in the example (2 or 3?)? Can you please attach the
          example in a text file (without manual line breaks) so I can see the start and
          end of a single warning. I think the issue tracker introduced some line breaks
          in your comment.

          Show
          drulli Ulli Hafner added a comment - How many warnings are in the example (2 or 3?)? Can you please attach the example in a text file (without manual line breaks) so I can see the start and end of a single warning. I think the issue tracker introduced some line breaks in your comment.
          Hide
          davegrahamptc davegrahamptc added a comment -

          Dear Drulli:

          The attached file is a full output from our MSBuild script. At the end you will see the SharePoint warnings. Thanks for takeing the time to look at this.

          Dave Graham

          Show
          davegrahamptc davegrahamptc added a comment - Dear Drulli: The attached file is a full output from our MSBuild script. At the end you will see the SharePoint warnings. Thanks for takeing the time to look at this. Dave Graham
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : drulli
          Path:
          trunk/hudson/plugins/analysis-core/checkstyle-configuration.xml
          trunk/hudson/plugins/analysis-test/checkstyle-configuration.xml
          trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/parser/AntJavacParser.java
          trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/parser/MsBuildParser.java
          trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/AntJavacParserTest.java
          trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/GccParserTest.java
          trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/JavaDocParserTest.java
          trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/MsBuildParserTest.java
          trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/ParserRegistryTest.java
          trunk/hudson/plugins/warnings/src/test/resources/hudson/plugins/warnings/parser/all.txt
          trunk/hudson/plugins/warnings/src/test/resources/hudson/plugins/warnings/parser/issue4731.txt
          http://fisheye4.cenqua.com/changelog/hudson/?cs=24951
          Log:
          [FIXED JENKINS-4731] Added support for sharepoint warnings.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : drulli Path: trunk/hudson/plugins/analysis-core/checkstyle-configuration.xml trunk/hudson/plugins/analysis-test/checkstyle-configuration.xml trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/parser/AntJavacParser.java trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/parser/MsBuildParser.java trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/AntJavacParserTest.java trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/GccParserTest.java trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/JavaDocParserTest.java trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/MsBuildParserTest.java trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/ParserRegistryTest.java trunk/hudson/plugins/warnings/src/test/resources/hudson/plugins/warnings/parser/all.txt trunk/hudson/plugins/warnings/src/test/resources/hudson/plugins/warnings/parser/issue4731.txt http://fisheye4.cenqua.com/changelog/hudson/?cs=24951 Log: [FIXED JENKINS-4731] Added support for sharepoint warnings.

            People

            • Assignee:
              drulli Ulli Hafner
              Reporter:
              davegrahamptc davegrahamptc
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: