You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2008/02/22 06:31:34 UTC
svn commit: r630095 - in /ant/core/branches/ANT_17_BRANCH: NOTICE WHATSNEW
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java
xdocs/legal.xml
Author: bodewig
Date: Thu Feb 21 21:31:28 2008
New Revision: 630095
URL: http://svn.apache.org/viewvc?rev=630095&view=rev
Log:
merge 630093 from trunk
Modified:
ant/core/branches/ANT_17_BRANCH/NOTICE
ant/core/branches/ANT_17_BRANCH/WHATSNEW
ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java
ant/core/branches/ANT_17_BRANCH/xdocs/legal.xml
Modified: ant/core/branches/ANT_17_BRANCH/NOTICE
URL: http://svn.apache.org/viewvc/ant/core/branches/ANT_17_BRANCH/NOTICE?rev=630095&r1=630094&r2=630095&view=diff
==============================================================================
--- ant/core/branches/ANT_17_BRANCH/NOTICE (original)
+++ ant/core/branches/ANT_17_BRANCH/NOTICE Thu Feb 21 21:31:28 2008
@@ -5,7 +5,7 @@
=========================================================================
Apache Ant
- Copyright 1999-2006 The Apache Software Foundation
+ Copyright 1999-2008 The Apache Software Foundation
This product includes software developed by
The Apache Software Foundation (http://www.apache.org/).
Modified: ant/core/branches/ANT_17_BRANCH/WHATSNEW
URL: http://svn.apache.org/viewvc/ant/core/branches/ANT_17_BRANCH/WHATSNEW?rev=630095&r1=630094&r2=630095&view=diff
==============================================================================
--- ant/core/branches/ANT_17_BRANCH/WHATSNEW (original)
+++ ant/core/branches/ANT_17_BRANCH/WHATSNEW Thu Feb 21 21:31:28 2008
@@ -134,6 +134,10 @@
* <touch> task couldn't differentiate between "no resources specified" and "no resources
matched." Bugzilla report 43799.
+* Some changes to <junit> broke third party tasks that extend it (like
+ Apache Cactus' Ant task). The changes have been modified so that
+ subclases should now work again - without any changes to the
+ subclass.
Other changes:
--------------
Modified: ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java
URL: http://svn.apache.org/viewvc/ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java?rev=630095&r1=630094&r2=630095&view=diff
==============================================================================
--- ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java (original)
+++ ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java Thu Feb 21 21:31:28 2008
@@ -748,6 +748,10 @@
/**
* Sets up the delegate that will actually run the tests.
+ *
+ * <p>Will be invoked implicitly once the delegate is needed.</p>
+ *
+ * @since Ant 1.7.1
*/
protected void setupJUnitDelegate() {
ClassLoader myLoader = JUnitTask.class.getClassLoader();
@@ -1604,6 +1608,12 @@
/**
* Removes resources.
+ *
+ * <p>Is invoked in {@link #execute execute}. Subclasses that
+ * don't invoke execute should invoke this method in a finally
+ * block.</p>
+ *
+ * @since Ant 1.7.1
*/
protected void cleanup() {
deleteClassLoader();
Modified: ant/core/branches/ANT_17_BRANCH/xdocs/legal.xml
URL: http://svn.apache.org/viewvc/ant/core/branches/ANT_17_BRANCH/xdocs/legal.xml?rev=630095&r1=630094&r2=630095&view=diff
==============================================================================
--- ant/core/branches/ANT_17_BRANCH/xdocs/legal.xml (original)
+++ ant/core/branches/ANT_17_BRANCH/xdocs/legal.xml Thu Feb 21 21:31:28 2008
@@ -26,7 +26,7 @@
<section name="Legal Stuff They Make Us Say">
- <p>All material on this website is Copyright © 1999-2004,
+ <p>All material on this website is Copyright © 1999-2008,
The Apache Software Foundation.</p>
<p>Sun, Sun Microsystems, Solaris, Java, JavaServer Web