[ http://issues.apache.org/jira/browse/BEEHIVE-487?page=history ]
Rich Feit updated BEEHIVE-487:
------------------------------
Assign To: Kyle Marvin (was: Rich Feit)
Kyle, I'm just assigning this to you for some comment/advice. I don't think
there's any way for our annotation processor to know whether the compile has
failed. I think this is an apt bug, but I may be missing something. Do you
know whether there's any way to keep from generating files when the source file
is uncompilable? In most cases apt dies, but in this case it keeps chugging
along...
If you're not aware of anything, I'll resolve this bug and we can file on on
apt.
> The Struts Config for the attached pageflow is being generated even when it
> generates compiler errors
> -----------------------------------------------------------------------------------------------------
>
> Key: BEEHIVE-487
> URL: http://issues.apache.org/jira/browse/BEEHIVE-487
> Project: Beehive
> Type: Bug
> Components: NetUI
> Versions: V1
> Reporter: Alejandro Ramirez
> Assignee: Kyle Marvin
> Fix For: V1
> Attachments: Test10.zip
>
> 1.- Compile the attached pageflow.
> Expected: The compiler should generate the following error message and the
> struts config file should NOT be generated:
> [apt] <pathToYourPageFlow>\Controller.java:38: ')' expected
> [apt] myattribute = "testing")
> [apt] ^
> [apt] 1 error
> Actual: The compiler throws the error above. However, the struts config
> file for the pageflow is generated (see attached).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira