Marshall Schor wrote:
> Olivier Terrier (JIRA) wrote:
>   
>>      [ 
>> https://issues.apache.org/jira/browse/UIMA-1506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
>>  ]
>>
>> Olivier Terrier updated UIMA-1506:
>> ----------------------------------
>>
>>     Attachment: BSFAnnotator.zip
>>
>> Marshall: I did a quick review of the code to:
>> 1. Fix the NullPointerException when running the testAnnotatorAggregated
>> 2. migrate the BSFAnnotator from the old-way JTextAnnotator_ImplBase to 
>> JCasAnnotator_ImplBase
>> 3. add a few generics to avoid warnings
>>
>> Attached you will find a zip that contains the files that have been modified
>>   
>>     
> Thanks, Olivier; I applied the changes and will check them in soon.
>
> One question:  The POM for this project specifies that the Jar have
> included "resources", which then become available on the class path.
>
> The resources included are
>   BeanshellTestAnnotator.xml
>   BSFAggregatedAE.xml
>   BSFAnnotator.xml
>   NICKNAMES.bsh
>   RhinoTestAnnotator.xml
>   TEST.bsh
>   TEST.js
>   
I see these are needed for running the tests.  I'm moving them to the
src/test/resources files.  That way, maven will use them for running the
tests, but they won't be packaged in the Jar file that maven builds.

Let me know if I'm missing something here...

Cheers. -Marshall
> Should all of these be packaged in the Jar by the build step?  I guess I
> don't understand the reason these should be in the Jar.
>
> The resources
>   org.apache.uima.annotator.bsf.BSFAnnotatorMessages_fr.properties
>   org.apache.uima.annotator.bsf.BSFAnnotatorMessages.properties
> are also included, but these I believe do belong in the Jar.
>
> Thanks for your advice :-)  -Marshall
>
>
>
>
>   

Reply via email to