[ 
https://issues.apache.org/jira/browse/CTAKES-320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

jay vyas updated CTAKES-320:
----------------------------
    Description: 
In CTAKES-314, its evident that some simple pipelines break because of files 
which are expected to be on the classpath.

Also, in one of the builders, I noticed it wanted this file 
{{org/apache/ctakes/dictionary/lookup/LookupDesc_Db.xml}} to be in place. 

Lets
- create *some unit tests which ensure that *some reasonable defaults* can be 
loaded
 - This can be done using  using Class.getResource or 
 -  maybe by making a direct URL connection on the fly to  a stable server 
somewhere, so it can download some reasonable defaults for  external data files 
into {{/tmp/}} or something with a log warning that it wasnt able to find local 
resources.).




  was:
In CTAKES-314, its evident that some simple pipelines break because of files 
which are expected to be on the classpath.

Also, in one of the builders, I noticed it wanted this file 
{{org/apache/ctakes/dictionary/lookup/LookupDesc_Db.xml}} to be in place. 

Lets create some unit tests for these which confirm that, even if no files are 
in place, some reasonable default can be loaded from the class binaries 
themselves (i.e. using Class.getResource or  maybe by making a direct URL 
connection on the fly to  a stable server somewhere, so it can download some 
reasonable defaults for  external data files into {{/tmp/}} or something with a 
log warning that it wasnt able to find local resources.).





> Methods used by getDefaultPipeline  should be able to load reasonable 
> defaults without expecting external files. 
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: CTAKES-320
>                 URL: https://issues.apache.org/jira/browse/CTAKES-320
>             Project: cTAKES
>          Issue Type: Bug
>          Components: ctakes-clinical-pipeline
>    Affects Versions: 3.2.0
>            Reporter: jay vyas
>             Fix For: 3.2.1
>
>
> In CTAKES-314, its evident that some simple pipelines break because of files 
> which are expected to be on the classpath.
> Also, in one of the builders, I noticed it wanted this file 
> {{org/apache/ctakes/dictionary/lookup/LookupDesc_Db.xml}} to be in place. 
> Lets
> - create *some unit tests which ensure that *some reasonable defaults* can be 
> loaded
>  - This can be done using  using Class.getResource or 
>  -  maybe by making a direct URL connection on the fly to  a stable server 
> somewhere, so it can download some reasonable defaults for  external data 
> files into {{/tmp/}} or something with a log warning that it wasnt able to 
> find local resources.).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to