[ 
https://issues.apache.org/jira/browse/UIMA-3385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13974805#comment-13974805
 ] 

Hugo Mougard edited comment on UIMA-3385 at 4/19/14 10:03 AM:
--------------------------------------------------------------

I use the slim jar packaging to run uimaFIT applications easily during dev 
phases (copying dependencies to make a fat jar is too long during dev). From my 
experience packaging the application is preferable to only mvn exec it when you 
access resources inside the packaged jar directly (which happens quite a lot in 
my applications), because some different code will be needed to access the 
resources out of the jar (during a mvn exec).

Indeed it is maybe to specific a use case to include it in the packaging doc.


was (Author: m09):
I use the slim jar packaging to run uimaFIT applications easily during dev 
phases (copying dependencies to make a fat jar is too long during dev). From my 
experience packaging the application is preferable to only mvn exec it when you 
access resources inside the packaged jar directly (which happens quite a lot in 
my applications), because some different code will be needed to access the 
resources out of the jar (during a mvn exec).

> Make meta data discovery compatible with fat jars
> -------------------------------------------------
>
>                 Key: UIMA-3385
>                 URL: https://issues.apache.org/jira/browse/UIMA-3385
>             Project: UIMA
>          Issue Type: Improvement
>          Components: uimaFIT
>    Affects Versions: 2.0.0uimaFIT
>            Reporter: Richard Eckart de Castilho
>            Assignee: Richard Eckart de Castilho
>            Priority: Minor
>             Fix For: 2.0.1uimaFIT
>
>
> Most fat jar approaches, e.g. Maven assembly, have problems with resources at 
> the same location in the classpath in multiple JARs. E.g. if two JARs being 
> bundled into a fat jar have a types.txt file, only one survives. 
> One option to fix this would be to change the pattern that uimaFIT uses to 
> search for these files, e.g. from 
> classpath*:META-INF/org.apache.uima.fit/types.txt to 
> classpath*:META-INF/org.apache.uima.fit/**/types.txt



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to