Compilation Errors and the context.tokenizer

2023-11-26 Thread Peter Abramowitsch
About package naming and the context tokenizer, I was quite puzzled as to why no one had so far complained about the compilation issues in the Git Archive which I noticed. The issue is that a bunch of the ctakes files refer to a package *org.apache.ctakes.* *contexttokenizer/...* when its conten

Re: Compilation Errors and the context.tokenizer

2023-11-26 Thread gandhi rajan
Hi Peter, I tried building the ctakes project from https://github.com/apache/ctakes out of curiosity to check on this issue. But I am hitting on a different issue in building ctakes-core module. The error is "Could not resolve dependencies for project org.apache.ctakes:ctakes-core:jar:5.0.0-SNAPS

Re: Compilation Errors and the context.tokenizer

2023-11-26 Thread Peter Abramowitsch
HI Ghandi, That's one of the fundamental jars that gets built when you start from the top. And if you encounter the error I found, "core" isn't going to be built and therefore any succeeding component also dependent on core will also fail. Check your build log and see if it doesn't mention the

Re: Compilation Errors and the context.tokenizer

2023-11-26 Thread Peter Abramowitsch
Just a curiosity - Ghandi, are you using Eclipse+Maven? If not, do you have another IDE wrapped around Maven ? On Sun, Nov 26, 2023 at 4:43 PM Peter Abramowitsch wrote: > HI Ghandi, > > That's one of the fundamental jars that gets built when you start from the > top. And if you encounter the

Re: Compilation Errors and the context.tokenizer

2023-11-26 Thread gandhi rajan
Hi Peter, I am not using any IDE to build the project. I just used git bash to pull the project from https://github.com/apache/ctakes to local folder and tried build the project from the root pom.xml The issue reported by build seems to be something strange. ERROR] Failed to execute goal on proj

Re: Compilation Errors and the context.tokenizer

2023-11-26 Thread Peter Abramowitsch
Hi Ghandi I am not an expert in these things, but I did notice that I needed to modify the maven configuration to allow http fetching instead of only https. Otherwise I get an error while fetching dependencies and it all blocks. Unfortunately slf4j-api comes from a source that has an http url.

Re: Compilation Errors and the context.tokenizer

2023-11-26 Thread Peter Abramowitsch
Hi Ghandi See how far you get when you built using --offline Peter On Sun, Nov 26, 2023 at 6:00 PM gandhi rajan wrote: > Hi Peter, > > I am not using any IDE to build the project. I just used git bash to pull > the project from https://github.com/apache/ctakes to local folder and > tried > bui

Re: Compilation Errors and the context.tokenizer

2023-11-26 Thread gandhi rajan
hi Peter, Thanks for the inputs. But I could see that ctakes-core module's pom.xml has changed from 4.0.1 snapshot to 5.0.0 snapshot and I guess this is causing the issue in my case. Please find the pom.xml changes for your reference: *ctakes-core 4.0.1:* org.apache.ctakes ctakes-core-res *c

Re: Compilation Errors and the context.tokenizer

2023-11-26 Thread Peter Abramowitsch
Nope, that is not the issue. Those version changes are intentional and necessary. The core pom and the subsidiary poms have been changed to 5.0.0-SNAPSHOT as well because this is a new release. For me it compiles and runs fine (I am waiting for permission to check in my changes for the conte

Re: Compilation Errors and the context.tokenizer

2023-11-26 Thread Peter Abramowitsch
Ghandi, I'm going out for a bit. Not sure how familiar you are with git, so forgive me if this is obvious *$ git statusOn branch mainnothing to commit, working tree clean* If you've started making changes stash them in a branch and make sure your tree is clean to simplify what you are findin

Re: Compilation Errors and the context.tokenizer

2023-11-26 Thread gandhi rajan
Hi Peter, I have pulled the code from main branch and the local copy is clean without any changes to it. My issue still remains the same. The build is trying to pull the org.apache.ctakes:ctakes-core:jar:5.0.0-SNAPSHOT jar from the remote maven repo which its not able to find. Complete error trac

Re: Compilation Errors and the context.tokenizer

2023-11-26 Thread Peter Abramowitsch
Hi Ghandi I did some checking around and sure enough, the resource files are not in the git archive. I remember a conversation about this from long ago, that git wasn't the best place for large binaries. And they're not in git. So I looked in my maven repository to see where my model files had c