United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6938326 Use of "ant -diagnostics" a problem with ant 1.8.0, exit code 1 now
6938326 : Use of "ant -diagnostics" a problem with ant 1.8.0, exit code 1 now

Details
Type:
Bug
Submit Date:
2010-03-26
Status:
Resolved
Updated Date:
2010-04-14
Project Name:
JDK
Resolved Date:
2010-04-14
Component:
infrastructure
OS:
generic
Sub-Component:
build
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:
7

Related Reports
Backport:

Sub Tasks

Description
The behavior of 'ant -diagnostics' in ant 1.8.0 has changed, it now returns an exit code 1 instead of 0.

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/jdk6/jdk6/langtools/rev/7306e2127357
                                     
2010-03-29
EVALUATION

http://hg.openjdk.java.net/jdk7/tl/langtools/rev/de6375751eb7
                                     
2010-03-27
EVALUATION

For now, just add a - in front of the make line running ant -diagnostics to ignore the exit code. This was just used to track ant version/jar information.

The build works fine otherwise.

The bug in ant will likely be fixed in ant 1.8.1, see https://issues.apache.org/bugzilla/show_bug.cgi?id=48782
                                     
2010-03-26



Hardware and Software, Engineered to Work Together