You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2015/03/26 12:03:37 UTC
[Bug 57763] New: ivy resolve haltonfailure is not checked in all
cases
https://bz.apache.org/bugzilla/show_bug.cgi?id=57763
Bug ID: 57763
Summary: ivy resolve haltonfailure is not checked in all cases
Product: Ant
Version: 1.9.4
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: Other
Assignee: notifications@ant.apache.org
Reporter: oleg.pavliv@nagra.com
Tested with ant version 1.9.4, ivy version 2.4.0 on Windows 7.
I call ivy:resolve from my build.xml specifying haltonfailure="false".
<ivy:resolve conf="*" file="ivy.xml" haltonfailure="false"/>
There are conflicts in ivy.xml and the build is stopped, haltonfailure is
ignored.
I checked in the source code what happened.
StrictConflictManager.resolveConflicts() throws StrictConflictException.
The exception is catched in ResolveEngine.resolve(ModuleDescriptor md,
ResolveOptions options) as a RuntimeException and is re-thrown.
Then it's catched again in IvyResolve.doExecute().
The following code in IvyResolve.doExecute()
if (report.hasError()) {
if (failureProperty != null) {
getProject().setProperty(failureProperty, "true");
}
if (isHaltonfailure()) {
throw new BuildException("resolve failed - see output for
details");
}
}
which suppose to check haltonfailure property is never called.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 57763] ivy resolve haltonfailure is not checked in all cases
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=57763
Jan Mat <ja...@materne.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|NEW |RESOLVED
--- Comment #1 from Jan Mat <ja...@materne.de> ---
Ivy uses JIRA for bugtracking.
I "moved" this to https://issues.apache.org/jira/browse/IVY-1517
--
You are receiving this mail because:
You are the assignee for the bug.