You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ctakes.apache.org by "Johnsd11 (via GitHub)" <gi...@apache.org> on 2025/04/28 17:39:51 UTC

[I] [Bug]: Issuing compiling from the main branch using github [ctakes]

Johnsd11 opened a new issue, #65:
URL: https://github.com/apache/ctakes/issues/65

   ### What happened?
   
   I was wondering if anybody had any advice for me on the following error, I am trying to clean install from the head of the main branch in git.
   
   
   
   Below are my commands; this error start with commit d998331c1cfef48d792c78a8d3c1670498a8b925
   
   The commands below work for the previous commit a97258b01d455f7816994070cf64deb311b29acc
   
   
   
   
   
   git clone https://github.com/apache/ctakes.git;
   
   cd ctakes;
   
   
   
   mvn clean install -ff -DskipTests=true;
   
   
   
   Environment:
   
   
    mvn -v
   
   Apache Maven 3.6.3
   
   Maven home: /usr/share/maven
   
   Java version: 1.8.0_282, vendor: AdoptOpenJDK, runtime: /opt/java/openjdk/jre
   
   Default locale: en_US, platform encoding: UTF-8
   
   OS name: "linux", version: "5.10.147+", arch: "amd64", family: "unix"
   
   
   
   ### Relevant log output
   
   ```shell
   error message
   
   /root/projects/ctakes/ctakes-ytex/scripts/build-setup.xml:149: The following error occurred while executing this line:
   
   [ERROR] /root/projects/ctakes/ctakes-ytex/scripts/data/build.xml:148: The following error occurred while executing this line:
   
   [ERROR] /root/projects/ctakes/ctakes-ytex/scripts/data/build.xml:531: Warning: Could not find file /root/projects/ctakes/ctakes-ytex/scripts/data/${project.basedir}/conn.xml.template to copy.
   ```
   
   ### cTAKES.error.log contents
   
   ```shell
   
   ```
   
   ### Version
   
   5.1.0
   
   ### What operating system are you seeing the problem on?
   
   _No response_
   
   ### Contact Details
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@ctakes.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug]: Issuing compiling from the main branch using github [ctakes]

Posted by "Johnsd11 (via GitHub)" <gi...@apache.org>.
Johnsd11 commented on issue #65:
URL: https://github.com/apache/ctakes/issues/65#issuecomment-2836006170

   By the way, for all who are using "mvn install" and aren't interested in creating a binary installation:
   
   There is a new maven profile called "no-zips-build" in ctakes 5.  When enabled it will skip the creation of src and binary tar.gz and .zip files during the package phase.  This significantly speeds up build-time and sometimes you just want the jars - such as for mvn install.
   
   In addition, there are 2 new profiles in ctakes 5 for web war creation: "web-rest-build" and "ytex-web-build".  When enabled, these will build the corresponding war files.  By default the wars are not built.  Why?  Because doing so creates 2 or 3 extra copies of ctakes.  One copy of jars, one copy in the .war, and then a 3rd in the binary .zip file.  This all leads to a longer build time and much larger disk footprint.  In addition, most users do not use the web projects, and if they do they usually want one, not both.  With proper documentation (coming soon) this should not cause any confusion.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@ctakes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug]: Issuing compiling from the main branch using github [ctakes]

Posted by "Johnsd11 (via GitHub)" <gi...@apache.org>.
Johnsd11 commented on issue #65:
URL: https://github.com/apache/ctakes/issues/65#issuecomment-2836004521

   
   Thanks for the report - especially the setup, failure message and commit details.  Would you mind copying it into the GitHub issues area?  https://github.com/apache/ctakes/issues
   
   I think that I know what happened ...
   
   The pom files for several modules used ${basedir} instead of the preferred ${project.basedir}.  I updated them to standard.  I also changed ${basedir} in the ytex scripts and apparently, they don't have substitution for that expression.  I will have it fixed in a few minutes and try again.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@ctakes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug]: Issuing compiling from the main branch using github [ctakes]

Posted by "Johnsd11 (via GitHub)" <gi...@apache.org>.
Johnsd11 commented on issue #65:
URL: https://github.com/apache/ctakes/issues/65#issuecomment-2836005328

   I just checked in the revert on ctakes-ytex/scripts/data/build.xml
   
   Packaging works on my machine, but it had also worked for all previous tests so maybe there is still an issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@ctakes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug]: Issuing compiling from the main branch using github [ctakes]

Posted by "Johnsd11 (via GitHub)" <gi...@apache.org>.
Johnsd11 closed issue #65: [Bug]: Issuing compiling from the main branch using github
URL: https://github.com/apache/ctakes/issues/65


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@ctakes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org