Jenkins build is back to stable : Ant-Build-Matrix-master-Windows » JDK 10 b46 (Windows Only),Windows #770

2018-08-26 Thread Apache Jenkins Server
See 




Jenkins build is back to normal : Ant-Build-Matrix-1.9.x-Linux » xenial,JDK 1.6 (latest) #277

2018-08-26 Thread Apache Jenkins Server
See 




Jenkins build is back to stable : Ant-Build-Matrix-1.9.x-Windows » Windows,JDK 1.8.0_121 (unlimited security) 64-bit Windows only #540

2018-08-26 Thread Apache Jenkins Server
See 




Build failed in Jenkins: Ant-Build-Matrix-1.9.x-Linux » xenial,JDK 1.6 (latest) #276

2018-08-26 Thread Apache Jenkins Server
See 


Changes:

[jaikiran] bz-62655 throw a BuildException from augment task if the id attribute

--
[...truncated 126.19 KB...]
 [exec] 7f980800-7f980a003000 rwxp  00:00 0 
 [exec] 7f980a003000-7f980c00 ---p  00:00 0 
 [exec] 7f980c00-7f980c021000 rwxp  00:00 0 
 [exec] 7f980c021000-7f981000 ---p  00:00 0 
 [exec] 7f981000-7f9810021000 rwxp  00:00 0 
 [exec] 7f9810021000-7f981400 ---p  00:00 0 
 [exec] 7f981400-7f9814021000 rwxp  00:00 0 
 [exec] 7f9814021000-7f981800 ---p  00:00 0 
 [exec] 7f981800-7f9818021000 rwxp  00:00 0 
 [exec] 7f9818021000-7f981c00 ---p  00:00 0 
 [exec] 7f981d339000-7f981d34f000 r-xp  08:01 262209
 /lib/x86_64-linux-gnu/libgcc_s.so.1
 [exec] 7f981d34f000-7f981d54e000 ---p 00016000 08:01 262209
 /lib/x86_64-linux-gnu/libgcc_s.so.1
 [exec] 7f981d54e000-7f981d54f000 rwxp 00015000 08:01 262209
 /lib/x86_64-linux-gnu/libgcc_s.so.1
 [exec] 7f981d54f000-7f981d552000 ---p  00:00 0 
 [exec] 7f981d552000-7f981d65 rwxp  00:00 0 
 [exec] 7f981d65-7f981d653000 ---p  00:00 0 
 [exec] 7f981d653000-7f981d751000 rwxp  00:00 0 
 [exec] 7f981d751000-7f981d754000 ---p  00:00 0 
 [exec] 7f981d754000-7f981d852000 rwxp  00:00 0 
 [exec] 7f981d852000-7f981d855000 ---p  00:00 0 
 [exec] 7f981d855000-7f981d953000 rwxp  00:00 0 
 [exec] 7f981d953000-7f981d956000 ---p  00:00 0 
 [exec] 7f981d956000-7f981da54000 rwxp  00:00 0 
 [exec] 7f981da54000-7f981da57000 ---p  00:00 0 
 [exec] 7f981da57000-7f981db55000 rwxp  00:00 0 
 [exec] 7f981db55000-7f981db6c000 r-xp  08:01 262906
 /lib/x86_64-linux-gnu/libresolv-2.23.so
 [exec] 7f981db6c000-7f981dd6c000 ---p 00017000 08:01 262906
 /lib/x86_64-linux-gnu/libresolv-2.23.so
 [exec] 7f981dd6c000-7f981dd6d000 r-xp 00017000 08:01 262906
 /lib/x86_64-linux-gnu/libresolv-2.23.so
 [exec] 7f981dd6d000-7f981dd6e000 rwxp 00018000 08:01 262906
 /lib/x86_64-linux-gnu/libresolv-2.23.so
 [exec] 7f981dd6e000-7f981dd7 rwxp  00:00 0 
 [exec] 7f981dd7-7f981dd75000 r-xp  08:01 262920
 /lib/x86_64-linux-gnu/libnss_dns-2.23.so
 [exec] 7f981dd75000-7f981df75000 ---p 5000 08:01 262920
 /lib/x86_64-linux-gnu/libnss_dns-2.23.so
 [exec] 7f981df75000-7f981df76000 r-xp 5000 08:01 262920
 /lib/x86_64-linux-gnu/libnss_dns-2.23.so
 [exec] 7f981df76000-7f981df77000 rwxp 6000 08:01 262920
 /lib/x86_64-linux-gnu/libnss_dns-2.23.so
 [exec] 7f981df89000-7f981df9 r-xp  08:01 1316271   
 /usr/local/asfpackages/java/jdk1.6.0_45-64/jre/lib/amd64/libnio.so
 [exec] 7f981df9-7f981e08f000 ---p 7000 08:01 1316271   
 /usr/local/asfpackages/java/jdk1.6.0_45-64/jre/lib/amd64/libnio.so
 [exec] 7f981e08f000-7f981e091000 rwxp 6000 08:01 1316271   
 /usr/local/asfpackages/java/jdk1.6.0_45-64/jre/lib/amd64/libnio.so
 [exec] 7f981e091000-7f981e351000 rwxp  00:00 0 
 [exec] 7f981e351000-7f981e364000 r-xp  08:01 1316295   
 /usr/local/asfpackages/java/jdk1.6.0_45-64/jre/lib/amd64/libnet.so
 [exec] 7f981e364000-7f981e465000 ---p 00013000 08:01 1316295   
 /usr/local/asfpackages/java/jdk1.6.0_45-64/jre/lib/amd64/libnet.so
 [exec] 7f981e465000-7f981e468000 rwxp 00014000 08:01 1316295   
 /usr/local/asfpackages/java/jdk1.6.0_45-64/jre/lib/amd64/libnet.so
 [exec] 7f981e468000-7f981e4c7000 r-xs 00bac000 08:01 1442317   
 /usr/local/asfpackages/java/jdk1.6.0_45-64/lib/tools.jar
 [exec] 7f981e4c7000-7f981e4c8000 ---p  00:00 0 
 [exec] 7f981e4c8000-7f981e5c8000 rwxp  00:00 0 
 [exec] 7f981e5c8000-7f981e5cb000 ---p  00:00 0 
 [exec] 7f981e5cb000-7f981e6c9000 rwxp  00:00 0 
 [exec] 7f981e6c9000-7f981e6cc000 ---p  00:00 0 
 [exec] 7f981e6cc000-7f981e7ca000 rwxp  00:00 0 
 [exec] 7f981e7ca000-7f981e7cd000 ---p  00:00 0 
 [exec] 7f981e7cd000-7f981e8cb000 rwxp  00:00 0 
 [exec] 7f981e8cb000-7f981e8ce000 ---p  00:00 0 
 [exec] 7f981e8ce000-7f981e9cc000 rwxp  00:00 0 
 [exec] 7f981e9cc000-7f981eced000 r-xp  08:01 20317966  
 /usr/lib/locale/locale-archive
 [exec] 7f981eced000-7f981ecf ---p  00:00 0 
 

[Bug 62655] Augment task: IllegalStateException when "id" attribute is missing

2018-08-26 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62655

Jaikiran Pai  changed:

   What|Removed |Added

   Target Milestone|--- |1.10.6
 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from Jaikiran Pai  ---
This has now been fixed in master and 1.9.x branches of Ant. The task will now
throw a BuildException as stated in its manual. This will be available 1.10.6
and 1.9.14 releases (whenever they happen).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[1/2] ant git commit: bz-62655 update WHATSNEW

2018-08-26 Thread jaikiran
Repository: ant
Updated Branches:
  refs/heads/master 87b252f74 -> edfeba73e


bz-62655 update WHATSNEW


Project: http://git-wip-us.apache.org/repos/asf/ant/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/6377dfcc
Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/6377dfcc
Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/6377dfcc

Branch: refs/heads/master
Commit: 6377dfcc1d194d5fd0f4d23676a1b2c0c84f3e21
Parents: 21de7ad
Author: Jaikiran Pai 
Authored: Sun Aug 26 16:04:57 2018 +0530
Committer: Jaikiran Pai 
Committed: Sun Aug 26 16:04:57 2018 +0530

--
 WHATSNEW | 4 
 1 file changed, 4 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/ant/blob/6377dfcc/WHATSNEW
--
diff --git a/WHATSNEW b/WHATSNEW
index 96943a5..f67c79a 100644
--- a/WHATSNEW
+++ b/WHATSNEW
@@ -8,6 +8,10 @@ Fixed bugs:
mail task.
Bugzilla Report 62621
 
+ * augment task now throws a BuildException (as noted in its manual)
+   instead of a IllegalStateException in the absence of the "id" attribute.
+   Bugzilla Report 62655
+
 Other changes:
 --
  * generatekey task now supports SubjectAlternativeName during key



[2/2] ant git commit: Merge 1.9.x into master

2018-08-26 Thread jaikiran
Merge 1.9.x into master


Project: http://git-wip-us.apache.org/repos/asf/ant/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/edfeba73
Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/edfeba73
Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/edfeba73

Branch: refs/heads/master
Commit: edfeba73e34b6f14259b01046d284f627c66af1a
Parents: 87b252f 6377dfc
Author: Jaikiran Pai 
Authored: Sun Aug 26 16:06:39 2018 +0530
Committer: Jaikiran Pai 
Committed: Sun Aug 26 16:06:39 2018 +0530

--
 WHATSNEW | 4 
 1 file changed, 4 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/ant/blob/edfeba73/WHATSNEW
--
diff --cc WHATSNEW
index e8e8f46,f67c79a..b8c4b4b
--- a/WHATSNEW
+++ b/WHATSNEW
@@@ -15,10 -8,10 +15,14 @@@ Fixed bugs
 mail task.
 Bugzilla Report 62621
  
 + * Fixes an issue in junitreport task, which used to throw a
 +   java.net.MalformedURLException when saxon was used on Windows OS.
 +   Bugzilla Report 62594
 +
+  * augment task now throws a BuildException (as noted in its manual)
+instead of a IllegalStateException in the absence of the "id" attribute.
+Bugzilla Report 62655
+ 
  Other changes:
  --
   * generatekey task now supports SubjectAlternativeName during key



ant git commit: bz-62655 update WHATSNEW

2018-08-26 Thread jaikiran
Repository: ant
Updated Branches:
  refs/heads/1.9.x 21de7add9 -> 6377dfcc1


bz-62655 update WHATSNEW


Project: http://git-wip-us.apache.org/repos/asf/ant/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/6377dfcc
Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/6377dfcc
Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/6377dfcc

Branch: refs/heads/1.9.x
Commit: 6377dfcc1d194d5fd0f4d23676a1b2c0c84f3e21
Parents: 21de7ad
Author: Jaikiran Pai 
Authored: Sun Aug 26 16:04:57 2018 +0530
Committer: Jaikiran Pai 
Committed: Sun Aug 26 16:04:57 2018 +0530

--
 WHATSNEW | 4 
 1 file changed, 4 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/ant/blob/6377dfcc/WHATSNEW
--
diff --git a/WHATSNEW b/WHATSNEW
index 96943a5..f67c79a 100644
--- a/WHATSNEW
+++ b/WHATSNEW
@@ -8,6 +8,10 @@ Fixed bugs:
mail task.
Bugzilla Report 62621
 
+ * augment task now throws a BuildException (as noted in its manual)
+   instead of a IllegalStateException in the absence of the "id" attribute.
+   Bugzilla Report 62655
+
 Other changes:
 --
  * generatekey task now supports SubjectAlternativeName during key



[2/3] ant git commit: bz-62655 throw a BuildException from augment task if the id attribute isn't specified or if the value points to an unknown reference

2018-08-26 Thread jaikiran
bz-62655 throw a BuildException from augment task if the id attribute isn't 
specified or if the value points to an unknown reference


Project: http://git-wip-us.apache.org/repos/asf/ant/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/21de7add
Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/21de7add
Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/21de7add

Branch: refs/heads/master
Commit: 21de7add9a935c4ae61716cce269f58db26e949a
Parents: 41e6b2c
Author: Jaikiran Pai 
Authored: Sat Aug 25 17:13:31 2018 +0530
Committer: Jaikiran Pai 
Committed: Sat Aug 25 17:13:31 2018 +0530

--
 src/main/org/apache/tools/ant/taskdefs/AugmentReference.java | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/ant/blob/21de7add/src/main/org/apache/tools/ant/taskdefs/AugmentReference.java
--
diff --git a/src/main/org/apache/tools/ant/taskdefs/AugmentReference.java 
b/src/main/org/apache/tools/ant/taskdefs/AugmentReference.java
index 637795f..7402d44 100644
--- a/src/main/org/apache/tools/ant/taskdefs/AugmentReference.java
+++ b/src/main/org/apache/tools/ant/taskdefs/AugmentReference.java
@@ -17,6 +17,7 @@
  */
 package org.apache.tools.ant.taskdefs;
 
+import org.apache.tools.ant.BuildException;
 import org.apache.tools.ant.Project;
 import org.apache.tools.ant.RuntimeConfigurable;
 import org.apache.tools.ant.Task;
@@ -48,7 +49,7 @@ public class AugmentReference extends Task implements 
TypeAdapter {
 log("project reference " + id + "=" + String.valueOf(result), 
Project.MSG_DEBUG);
 return result;
 }
-throw new IllegalStateException("Unknown reference \"" + id + "\"");
+throw new BuildException("Unknown reference \"" + id + "\"");
 }
 
 /**
@@ -63,7 +64,7 @@ public class AugmentReference extends Task implements 
TypeAdapter {
 RuntimeConfigurable wrapper = getWrapper();
 id = wrapper.getId();
 if (id == null) {
-throw new IllegalStateException(getTaskName() + " attribute 
'id' unset");
+throw new BuildException(getTaskName() + " attribute 'id' 
unset");
 }
 wrapper.setAttribute("id", null);
 wrapper.removeAttribute("id");



[1/3] ant git commit: Update the EmailTaskTest to ensure that the mail task does indeed fail in expected cases

2018-08-26 Thread jaikiran
Repository: ant
Updated Branches:
  refs/heads/master 33e2efec4 -> 87b252f74


Update the EmailTaskTest to ensure that the mail task does indeed fail in 
expected cases


Project: http://git-wip-us.apache.org/repos/asf/ant/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/41e6b2c7
Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/41e6b2c7
Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/41e6b2c7

Branch: refs/heads/master
Commit: 41e6b2c7ee45bf308d467055711172bfffdf8a01
Parents: 27aa22a
Author: Jaikiran Pai 
Authored: Thu Aug 16 16:31:42 2018 +0530
Committer: Jaikiran Pai 
Committed: Thu Aug 16 16:31:42 2018 +0530

--
 .../junit/org/apache/tools/ant/taskdefs/email/EmailTaskTest.java   | 2 ++
 1 file changed, 2 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/ant/blob/41e6b2c7/src/tests/junit/org/apache/tools/ant/taskdefs/email/EmailTaskTest.java
--
diff --git 
a/src/tests/junit/org/apache/tools/ant/taskdefs/email/EmailTaskTest.java 
b/src/tests/junit/org/apache/tools/ant/taskdefs/email/EmailTaskTest.java
index a77fc92..200ebac 100644
--- a/src/tests/junit/org/apache/tools/ant/taskdefs/email/EmailTaskTest.java
+++ b/src/tests/junit/org/apache/tools/ant/taskdefs/email/EmailTaskTest.java
@@ -47,6 +47,7 @@ public class EmailTaskTest {
 public void test1() {
 try {
 buildRule.executeTarget("test1");
+Assert.fail("Execution of mail task was expected to fail");
 } catch (BuildException e) {
 // assert it's the expected one
 if (!e.getMessage().equals("SMTP auth only possible with MIME 
mail")) {
@@ -62,6 +63,7 @@ public class EmailTaskTest {
 public void test2() {
 try {
 buildRule.executeTarget("test2");
+Assert.fail("Execution of mail task was expected to fail");
 } catch (BuildException e) {
 // assert it's the expected one
 if (!e.getMessage().equals("SSL and STARTTLS only possible with 
MIME mail")) {



[3/3] ant git commit: Merge 1.9.x branch into master

2018-08-26 Thread jaikiran
Merge 1.9.x branch into master


Project: http://git-wip-us.apache.org/repos/asf/ant/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/87b252f7
Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/87b252f7
Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/87b252f7

Branch: refs/heads/master
Commit: 87b252f740999c88701b38b387ac6de4617fb6bf
Parents: 33e2efe 21de7ad
Author: Jaikiran Pai 
Authored: Sun Aug 26 16:00:14 2018 +0530
Committer: Jaikiran Pai 
Committed: Sun Aug 26 16:00:14 2018 +0530

--
 src/main/org/apache/tools/ant/taskdefs/AugmentReference.java | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
--




ant git commit: bz-62655 throw a BuildException from augment task if the id attribute isn't specified or if the value points to an unknown reference

2018-08-26 Thread jaikiran
Repository: ant
Updated Branches:
  refs/heads/1.9.x 41e6b2c7e -> 21de7add9


bz-62655 throw a BuildException from augment task if the id attribute isn't 
specified or if the value points to an unknown reference


Project: http://git-wip-us.apache.org/repos/asf/ant/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/21de7add
Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/21de7add
Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/21de7add

Branch: refs/heads/1.9.x
Commit: 21de7add9a935c4ae61716cce269f58db26e949a
Parents: 41e6b2c
Author: Jaikiran Pai 
Authored: Sat Aug 25 17:13:31 2018 +0530
Committer: Jaikiran Pai 
Committed: Sat Aug 25 17:13:31 2018 +0530

--
 src/main/org/apache/tools/ant/taskdefs/AugmentReference.java | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/ant/blob/21de7add/src/main/org/apache/tools/ant/taskdefs/AugmentReference.java
--
diff --git a/src/main/org/apache/tools/ant/taskdefs/AugmentReference.java 
b/src/main/org/apache/tools/ant/taskdefs/AugmentReference.java
index 637795f..7402d44 100644
--- a/src/main/org/apache/tools/ant/taskdefs/AugmentReference.java
+++ b/src/main/org/apache/tools/ant/taskdefs/AugmentReference.java
@@ -17,6 +17,7 @@
  */
 package org.apache.tools.ant.taskdefs;
 
+import org.apache.tools.ant.BuildException;
 import org.apache.tools.ant.Project;
 import org.apache.tools.ant.RuntimeConfigurable;
 import org.apache.tools.ant.Task;
@@ -48,7 +49,7 @@ public class AugmentReference extends Task implements 
TypeAdapter {
 log("project reference " + id + "=" + String.valueOf(result), 
Project.MSG_DEBUG);
 return result;
 }
-throw new IllegalStateException("Unknown reference \"" + id + "\"");
+throw new BuildException("Unknown reference \"" + id + "\"");
 }
 
 /**
@@ -63,7 +64,7 @@ public class AugmentReference extends Task implements 
TypeAdapter {
 RuntimeConfigurable wrapper = getWrapper();
 id = wrapper.getId();
 if (id == null) {
-throw new IllegalStateException(getTaskName() + " attribute 
'id' unset");
+throw new BuildException(getTaskName() + " attribute 'id' 
unset");
 }
 wrapper.setAttribute("id", null);
 wrapper.removeAttribute("id");