You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by cd...@apache.org on 2013/12/27 22:53:12 UTC
svn commit: r1553747 - in /ant/ivy/core/trunk: CHANGES.txt
doc/compatibility.html test/java/org/apache/ivy/ant/IvyResolveTest.java
Author: cduffy
Date: Fri Dec 27 21:53:12 2013
New Revision: 1553747
URL: http://svn.apache.org/r1553747
Log:
Document that threading is unsupported, and disable test covering same
Modified:
ant/ivy/core/trunk/CHANGES.txt
ant/ivy/core/trunk/doc/compatibility.html
ant/ivy/core/trunk/test/java/org/apache/ivy/ant/IvyResolveTest.java
Modified: ant/ivy/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/CHANGES.txt?rev=1553747&r1=1553746&r2=1553747&view=diff
==============================================================================
--- ant/ivy/core/trunk/CHANGES.txt (original)
+++ ant/ivy/core/trunk/CHANGES.txt Fri Dec 27 21:53:12 2013
@@ -140,6 +140,7 @@ for detailed view of each issue, please
trunk
=====================================
- DOCUMENTATION: Broken link in <dependency> documentation (IVY-1405)
+- DOCUMENTATION: Explicitly document that threaded use is not supported.
- NEW: the buildobr task can now work a set of resolved artifacts: useful for managing an OSGi target platform
- NEW: fixdeps task: serializes transitively resolved dependencies into an ivy.xml file
Modified: ant/ivy/core/trunk/doc/compatibility.html
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/doc/compatibility.html?rev=1553747&r1=1553746&r2=1553747&view=diff
==============================================================================
--- ant/ivy/core/trunk/doc/compatibility.html (original)
+++ ant/ivy/core/trunk/doc/compatibility.html Fri Dec 27 21:53:12 2013
@@ -39,6 +39,10 @@ Ivy doesn't require much of Ant and shou
The required versions of the Apache HttpClient, Jsch or any optional dependency are to be checked against Ivy's dependency descriptor. In Ivy's source, check for the ivy.xml file at the root. Or the pom.xml of <tt>org.apache.ivy#ivy</tt> in the Maven Central repository.
+<h1>Environment / Configuration Requirements</h1>
+
+Ivy does not at this time support multithreaded use. It thus should not be used with the ant <tt><parallel></tt> task.
+
</textarea>
<script type="text/javascript">xooki.postProcess();</script>
</body>
Modified: ant/ivy/core/trunk/test/java/org/apache/ivy/ant/IvyResolveTest.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/test/java/org/apache/ivy/ant/IvyResolveTest.java?rev=1553747&r1=1553746&r2=1553747&view=diff
==============================================================================
--- ant/ivy/core/trunk/test/java/org/apache/ivy/ant/IvyResolveTest.java (original)
+++ ant/ivy/core/trunk/test/java/org/apache/ivy/ant/IvyResolveTest.java Fri Dec 27 21:53:12 2013
@@ -70,7 +70,8 @@ public class IvyResolveTest extends Test
resolve.execute();
}
- public void testIVY1454() throws Exception {
+ /* disabled: Ivy is not thread-safe, and this usage is not supported at this time */
+ public void disabledIVY1454() throws Exception {
// run init in parent thread, then resolve in children
project.setProperty("ivy.settings.file", "test/repositories/ivysettings-with-nio.xml");
project.setProperty("ivy.log.locking", "true");