Richard Eckart de Castilho created UIMA-2612:
------------------------------------------------

             Summary: Mark enhanced files to avoid processing them multiple 
times
                 Key: UIMA-2612
                 URL: https://issues.apache.org/jira/browse/UIMA-2612
             Project: UIMA
          Issue Type: Improvement
          Components: uimafit, uimafit-maven-plugin
    Affects Versions: 2.0.0uimaFIT
            Reporter: Richard Eckart de Castilho
            Priority: Minor


Add a marker annotation (e.g. @Enhanced) to classes that have been processed 
using the "enhance" goal of the Maven plugin. When the plugin runs again, e.g. 
during an incremental build, this marker could be detected and the reprocessing 
could be skipped immediately. This should improve the build times in Eclipse.

Since the annotation has to be in the class file, it has to be added to the 
uimafit module. If it was only in the uimafit-maven-plugin, the enhanced 
classes could not be loaded unless that module was on the classpath.

... well, actually I think they could be loaded, but we've had issues with 
findbugs annotations that Eclipse couldn't resolve when analyzing the class 
file, so probably better avoid such situations (cf. 
https://code.google.com/p/uimafit/issues/detail?id=78).

--
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

Reply via email to