Re: Compilation Errors and the context.tokenizer [EXTERNAL]

2023-11-28 Thread gandhi rajan
t; > > > > > > https://repo1.maven.org/maven2/org/slf4j/ > > > > > > > > As referred to here: > > > > https://mvnrepository.com/artifact/org.slf4j/slf4j-api/2.0.5 > > > > > > > > I will do some more research on this to

Re: Compilation Errors and the context.tokenizer [EXTERNAL]

2023-11-28 Thread Peter Abramowitsch
ome more research on this tonight, though I welcome people > to > > > beat me to a solution! > > > > > > Sean > > > > > > > > > From: Peter Abramowitsch > > > Sent: Monday, November 27, 2023 7:01 AM > >

Re: Compilation Errors and the context.tokenizer [EXTERNAL]

2023-11-27 Thread gandhi rajan
; > > > I will do some more research on this tonight, though I welcome people to > > beat me to a solution! > > > > Sean > > > > ________________ > > From: Peter Abramowitsch > > Sent: Monday, November 27, 2023 7:01 AM > > To: dev@ctakes.apac

Re: Compilation Errors and the context.tokenizer [EXTERNAL]

2023-11-27 Thread Peter Abramowitsch
> > I will do some more research on this tonight, though I welcome people to > beat me to a solution! > > Sean > > > From: Peter Abramowitsch > Sent: Monday, November 27, 2023 7:01 AM > To: dev@ctakes.apache.org > Subject: Re: C

Re: Compilation Errors and the context.tokenizer [EXTERNAL]

2023-11-27 Thread Finan, Sean
ugh I welcome people to beat me to a solution! Sean From: Peter Abramowitsch Sent: Monday, November 27, 2023 7:01 AM To: dev@ctakes.apache.org Subject: Re: Compilation Errors and the context.tokenizer [EXTERNAL] * External Email - Caution * Ghandi, As I ment

Re: Compilation Errors and the context.tokenizer [EXTERNAL]

2023-11-27 Thread Finan, Sean
cannot duplicate it without backing out my previous change. Sean From: Peter Abramowitsch Sent: Monday, November 27, 2023 7:01 AM To: dev@ctakes.apache.org Subject: Re: Compilation Errors and the context.tokenizer [EXTERNAL] * External Email - Caution * Ghandi

Re: Compilation Errors and the context.tokenizer

2023-11-27 Thread Peter Abramowitsch
Ghandi, As I mentioned at the beginning of this thread, there's only one change I needed to make to the settings.xml: to comment out the dummy mirror server that maven uses as a way of enforcing the https requirement. Commenting it out allowed maven to fetch slf4j-api. Since slf4j is integral

Re: Compilation Errors and the context.tokenizer

2023-11-27 Thread gandhi rajan
Hi Peter, I did found your old discussion with Sean in the following link - https://lists.apache.org/thread/w9c33421vxb21bnr6gd9r2tb3n1odnnw I am facing the same issue while building cakes core module. Could you please send me the URL details from your 'settings.xml' under '/usr/local/maven/confi

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

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
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 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 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
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 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 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
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 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 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

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