[
http://jira.jboss.com/jira/browse/JBAOP-595?page=comments#action_12417579 ]
Flavia Rainone commented on JBAOP-595:
--------------------------------------
I have created a standardized format to show the error messages. Now, it is looks as
below:
BUILD FAILED
/home/fla/Development/workspace/jbossSubversion/JBossAOP/build/output/jboss-aop-2.0.0.CR13/docs/aspect-framework/examples/metadata/build.xml:10:
[aopc] mandatory 'src' path element not found
The [aopc] part of the message makes it easier to know from wihch task the error is coming
from (despite the build line number shown by ant), and the new line character that
preceeds it puts the message more in the spotlight then it would be otherwise.
AopC should validate the presence of mandatory attributes/inner
elements
------------------------------------------------------------------------
Key: JBAOP-595
URL:
http://jira.jboss.com/jira/browse/JBAOP-595
Project: JBoss AOP
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Affects Versions: 2.0.0.CR11
Reporter: Flavia Rainone
Assigned To: Flavia Rainone
Fix For: 2.0.0.GA
AopC throws a NullPointerException when src hasn't been declared.
Currently, the task validates a few stuff, such as if the path contained in src is valid,
while excluding validation of others, like the presence of mandatory element src.
This task consists of validating presence of all the mandatory elements and attributes of
aopc task.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira