Github user supertick commented on the issue:

    https://github.com/apache/ant-ivy/pull/69
  
    I think it would be great "not" to have an additional CLI option, but then 
you cannot have a System.exit(1) terminating the client code 
(https://github.com/apache/ant-ivy/blob/2.4.x/src/java/org/apache/ivy/Main.java#L313)
 just because of an error.
    
    The errors (and the successes) can be queried out of the ResolveReport.  A 
client can programmatically make decisions based on the data returned. And the 
run() methods still throw their respective exceptions which could be caught by 
the client consumer. 
    
    The new option is to alleviate the problematic design of having an error 
terminate a client consumer  with a System.exit.
    
    Perhaps a design would be to copy/paste Main.java to IvyClient.java and 
remove the System.exit - but then it would be less normalized, which has its 
own flaws.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to