ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Enderling (JIRA)" <>
Subject [jira] [Created] (EASYANT-54) Exceptions in initialization phase of project are swallowed
Date Tue, 21 May 2013 17:41:17 GMT
Tim Enderling created EASYANT-54:

             Summary: Exceptions in initialization phase of project are swallowed
                 Key: EASYANT-54
             Project: EasyAnt
          Issue Type: Bug
          Components: Core
    Affects Versions: 0.9
            Reporter: Tim Enderling

BuildExceptions that are thrown when loading plugins during project initialization are not
printed out. EasyAnt will just stop without a clue. 

An example of this can be found when using the {{parameter}} task directly inside the project
element of a plugin, like in clean-std (which is not a good style anyway, but one of the places
that I stumbled into):

<project name="org.apache.easyant.plugins#clean-std" xmlns:ea="antlib:org.apache.easyant">
    <ea:core-version requiredrevision="[0.9,+]" />

    <ea:parameter property="target" required="true" description="the target directory to
clean" />

    <target name="clean-std:clean" description="clean project">
        <echo message="Cleaning ${target}..." />
        <delete dir="${target}" />

If {{target}} is not set, the usual message from the {{parameter}} task will not be printed.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message