Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-127

Rat build doesn't work on Windows

    XMLWordPrintableJSON

Details

    Description

      Looking at https://builds.apache.org/job/incubator-netbeans-windows/189 I see a failure in RatReportTask I assume it is a result of 162850d67436764aef5e5dd6016ca636d94921af

      BUILD FAILED
      f:\jenkins\jenkins-slave\workspace\incubator-netbeans-windows\nbbuild\build.xml:2179: java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence near index 3
      f:\jenkins\jenkins-slave\workspace\incubator-netbeans-windows\
      ^
      at java.util.regex.Pattern.error(Pattern.java:1955)
      at java.util.regex.Pattern.escape(Pattern.java:2471)
      at java.util.regex.Pattern.atom(Pattern.java:2198)
      at java.util.regex.Pattern.sequence(Pattern.java:2130)
      at java.util.regex.Pattern.expr(Pattern.java:1996)
      at java.util.regex.Pattern.compile(Pattern.java:1696)
      at java.util.regex.Pattern.<init>(Pattern.java:1351)
      at java.util.regex.Pattern.compile(Pattern.java:1028)
      at java.lang.String.replaceFirst(String.java:2178)
      at org.netbeans.nbbuild.RatReportTask.doPopulateUnapproved(RatReportTask.java:215)
      at org.netbeans.nbbuild.RatReportTask.execute(RatReportTask.java:163)
      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
      at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      at org.apache.tools.ant.Task.perform(Task.java:348)
      at org.apache.tools.ant.Target.execute(Target.java:435)
      at org.apache.tools.ant.Target.performTasks(Target.java:456)
      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
      at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
      at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
      at org.apache.tools.ant.Main.runBuild(Main.java:854)
      at org.apache.tools.ant.Main.startAnt(Main.java:236)
      at org.apache.tools.ant.launch.Launcher.run(Launcher.java:285)
      at org.apache.tools.ant.launch.Launcher.main(Launcher.java:112)

      Attachments

        Issue Links

          Activity

            People

              skygo Eric Barboni
              jtulach Jaroslav Tulach
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: