You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Tim Enderling (JIRA)" <ji...@apache.org> on 2013/05/21 19:41:17 UTC
[jira] [Created] (EASYANT-54) Exceptions in initialization phase of
project are swallowed
Tim Enderling created EASYANT-54:
------------------------------------
Summary: Exceptions in initialization phase of project are swallowed
Key: EASYANT-54
URL: https://issues.apache.org/jira/browse/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):
{code}
<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}" />
</target>
</project>
{code}
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: http://www.atlassian.com/software/jira