cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <>
Subject [jira] [Resolved] (CXF-3644) Documentation needed for ant task exitOnFinish system property
Date Wed, 22 Mar 2017 19:32:41 GMT


Daniel Kulp resolved CXF-3644.
       Resolution: Won't Fix
    Fix Version/s: Invalid

Ant tasks are long since gone.

> Documentation needed for ant task exitOnFinish system property
> --------------------------------------------------------------
>                 Key: CXF-3644
>                 URL:
>             Project: CXF
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 2.4.1
>         Environment: Website only.,,
>            Reporter: Bob Fields
>            Priority: Minor
>              Labels: documentation
>             Fix For: Invalid
> 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 was sent by Atlassian JIRA

View raw message