[
http://jira.codehaus.org/browse/MOJO-671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_89245
]
Jason Dillon commented on MOJO-671:
-----------------------------------
log was null because you did not override doExecute, instead you overrode
execute.
Need to figure out a simple way to make integration tests for these puppies
too...
> Add war support to the retrotranslator plugin
> ---------------------------------------------
>
> Key: MOJO-671
> URL: http://jira.codehaus.org/browse/MOJO-671
> Project: Mojo
> Issue Type: New Feature
> Components: retrotranslator
> Reporter: Jared Bunting
> Assigned To: Jason Dillon
> Attachments: war-mojo-apt.PATCH, war-mojo.PATCH
>
>
> I've written this mojo for supporting war files. It runs retrotranslator
> against all of the classes in /WEB-INF/classes and against all of the jars in
> /WEB-INF/lib. I'm attaching the patch for it here.
> A couple notes on the patch:
> I kept getting NullPointerExceptions on line 46 in the RetrotranslatorLogger
> when retrotranslator would try to log a verification error. Looks like the
> log variable was null, and I was able to fix this by replacing with getLog()
> in the RetrotranslatorMojoSupport - so that is why this class is modified.
> I'm working on apt updates - I'll attach those soon.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email