cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Fields (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-3644) Documentation needed for ant task exitOnFinish system property
Date Thu, 07 Jul 2011 17:57:17 GMT
Documentation needed for ant task exitOnFinish system property
--------------------------------------------------------------

                 Key: CXF-3644
                 URL: https://issues.apache.org/jira/browse/CXF-3644
             Project: CXF
          Issue Type: Improvement
          Components: Documentation
    Affects Versions: 2.4.1
         Environment: Website only. http://cxf.apache.org/docs/wsdl-to-java.html, http://cxf.apache.org/docs/java-to-ws.html,
http://cxf.apache.org/docs/wsdlvalidator.html.
            Reporter: Bob Fields
            Priority: Minor


Please update the documentation site for tools to mention the undocumented exitOnFinish system
property, on the various Tools webpages, where it says "Make sure you set the "fork=true"
attribute for the <java/> task". I spent several hours trying to figure out why the
ant task was not failing the build when the wsdl2java and java2ws java tasks were failing,
even with fork=true and failonerror=true. The fix is to add <sysproperty key="exitOnFinish"
value="yes"/> to the <java> task properties. I finally saw this in the source code,
working back from the stack trace, and afterwards noticed that Daniel adds this value by default
to some example ant tasks. A better fix might be to set this value to true by default instead
of false, so that the java task would work properly according to the ant documentation.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message