-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
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"
[JENKINS-884] 1.144 feature requires java 6
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JNJira [ 130957 ] | New: JNJira + In-Review [ 200255 ] |