1.144 feature requires java 6

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Critical
    • Component/s: ant-plugin
    • None
    • Environment:
      Platform: All, OS: All

      The improving ant support patch

      http://www.nabble.com/Improving-Ant-Support-tf4504289.html

      released under 1.144 uses a java 6 feature.

      Using the separate text field for entering ant properties causes build to fail
      under java 5.

      ATAL: java.util.Properties.load(Ljava/io/Reader;)V
      java.lang.NoSuchMethodError: java.util.Properties.load(Ljava/io/Reader;)V
      at hudson.tasks.Ant.perform(Ant.java:130)
      at hudson.model.Build$RunnerImpl.build(Build.java:143)
      at hudson.model.Build$RunnerImpl.doRun(Build.java:123)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:181)
      at hudson.model.Run.run(Run.java:577)
      at hudson.model.Build.run(Build.java:103)
      at hudson.model.ResourceController.execute(ResourceController.java:66)
      at hudson.model.Executor.run(Executor.java:62)

      Properties.load(Reader) was added in java 6.

      I got my hudson tests running again by placing the properties back in the
      original location prefixed with "-D"

            Assignee:
            Unassigned
            Reporter:
            brucechapman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: