[ https://issues.apache.org/jira/browse/CTAKES-445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16187484#comment-16187484 ]
James Joseph Masanz commented on CTAKES-445: -------------------------------------------- After applying the patch and building a 4.0.1 SNAPSHOT of cTAKES, when I try to run that cTAKES from another project that uses that cTAKES as a maven dependency, I get the same as Michael (as reported in http://markmail.org/message/ltehzxvxr3hyc5dv ) So I've verified the patch doesn't fix that case. I can apply the patch as an improvement for now, while working toward a better long-term solution. My testing was on Windows. maven claims it was successful, even though you can see the errors logged: 30 Sep 2017 19:05:32 INFO LvgCmdApiResourceImpl - config file absolute path = c:\workspaces\ctakes-misc.Dima\ctakes-misc\jar:file:\C:\Users\ch192959\.m2\repository\net\sourceforge\ctakesresources\ctakes-resources-lvg2008\4.0.0\ctakes-resources-lvg2008-4.0.0.jar!\org\apache\ctakes\lvg\data\config\lvg.properties 30 Sep 2017 19:05:32 INFO LvgCmdApiResourceImpl - cwd = c:\workspaces\ctakes-misc.Dima\ctakes-misc 30 Sep 2017 19:05:32 INFO LvgCmdApiResourceImpl - cd jar:file:\C:\Users\ch192959\.m2\repository\net\sourceforge\ctakesresources\ctakes-resources-lvg2008\4.0.0\ctakes-resources-lvg2008-4.0.0.jar!\org\apache\ctakes\lvg\ ** Configuration Error: jar:file:\C:\Users\ch192959\.m2\repository\net\sourceforge\ctakesresources\ctakes-resources-lvg2008\4.0.0\ctakes-resources-lvg2008-4.0.0.jar!\org\apache\ctakes\lvg\data\config\lvg.properties (The filename, directory name, or volume label syntax is incorrect) ** Error: problem of opening/reading config file: 'jar:file:\C:\Users\ch192959\.m2\repository\net\sourceforge\ctakesresources\ctakes-resources-lvg2008\4.0.0\ctakes-resources-lvg2008-4.0.0.jar!\org\apache\ctakes\lvg\data\config\lvg.properties'. Use -x option to specify the config file path. ** Configuration Error: jar:file:\C:\Users\ch192959\.m2\repository\net\sourceforge\ctakesresources\ctakes-resources-lvg2008\4.0.0\ctakes-resources-lvg2008-4.0.0.jar!\org\apache\ctakes\lvg\data\config\lvg.properties (The filename, directory name, or volume label syntax is incorrect) ** Error: problem of opening/reading config file: 'jar:file:\C:\Users\ch192959\.m2\repository\net\sourceforge\ctakesresources\ctakes-resources-lvg2008\4.0.0\ctakes-resources-lvg2008-4.0.0.jar!\org\apache\ctakes\lvg\data\config\lvg.properties'. Use -x option to specify the config file path. 30 Sep 2017 19:05:32 INFO LvgCmdApiResourceImpl - cd c:\workspaces\ctakes-misc.Dima\ctakes-misc [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS > java.lang.IllegalArgumentException: URI is not hierarchical - > org.apache.ctakes.lvg.resource.LvgCmdApiResourceImpl.load > ----------------------------------------------------------------------------------------------------------------------- > > Key: CTAKES-445 > URL: https://issues.apache.org/jira/browse/CTAKES-445 > Project: cTAKES > Issue Type: Bug > Components: ctakes-lvg > Affects Versions: 4.0.0 > Reporter: James Joseph Masanz > Assignee: James Joseph Masanz > Fix For: 4.0.1 > > Attachments: ctakes-445.patch > > > Dima reported this on the dev@ list: > http://markmail.org/message/l6mct3btk3nb43ld > http://mail-archives.apache.org/mod_mbox/ctakes-dev/201704.mbox/%3CF00347B9-4228-4407-B566-4EB2774B21B5%40luc.edu%3E > When using cTAKES as maven dependency and invoking his (Dima's) program using: > mvn exec:java > -Dexec.mainClass=“org.apache.ctakes.pipelines.UmlsLookupPipeline” > Not sure which release this originated in. reproduced it in 4.0 -- This message was sent by Atlassian JIRA (v6.4.14#64029)