Hi Gandhi Your error appears to be at this line C:\Gandhi\Project\ctakes-5.1.0\ctakes-ytex\scripts\data\build.xml:456: Java returned: 1
A test application being run here: AppMain is in charge of loading a temporary mysqldb that is used to test that part of ytex. For me it is working, but if you can find a way to run that surefire test in the debugger, you can find out why it's failing on one of the assertions. Otherwise you can take this shortcut mvn <goal> -Dmaven.test.skip=true To build the project without running any tests. On Sat, Apr 27, 2024 at 7:35 AM gandhi rajan <gandhiraja...@gmail.com> wrote: > Hi Sean, > > When I tried to build the complete ctakes suite, i get build failure for > ctakes-ytex module with the following error: > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-antrun-plugin:3.1.0:run > (generate-test-config) on project ctakes-ytex: An Ant BuildException has > occured: The following error occurred while executing this line: > [ERROR] > C:\Gandhi\Project\ctakes-5.1.0\ctakes-ytex\scripts\build-setup.xml:149: The > following error occurred while executing this line: > [ERROR] > C:\Gandhi\Project\ctakes-5.1.0\ctakes-ytex\scripts\data\build.xml:148: The > following error occurred while executing this line: > [ERROR] > C:\Gandhi\Project\ctakes-5.1.0\ctakes-ytex\scripts\data\build.xml:295: The > following error occurred while executing this line: > [ERROR] > C:\Gandhi\Project\ctakes-5.1.0\ctakes-ytex\scripts\data\build.xml:456: Java > returned: 1 > [ERROR] around Ant part ...<ant antfile="build-setup.xml" dir="scripts" > target="test.setup">... @ 5:70 in > C:\Gandhi\Project\ctakes-5.1.0\ctakes-ytex\target\antrun\build-main.xml > > Is this expected Sean? > > On Fri, 26 Apr 2024 at 21:30, Finan, Sean > <sean.fi...@childrens.harvard.edu.invalid> wrote: > > > Hi all, > > > > There is a candidate for version 5.1.0 of Apache cTAKES source code in a > > staging repository: > > > > > https://repository.apache.org/content/repositories/staging/org/apache/ctakes/ctakes/5.1.0/ > > > > The code is contained within the file: > > ctakes-5.1.0-source-release.zip< > > > https://repository.apache.org/content/repositories/staging/org/apache/ctakes/ctakes/5.1.0/ctakes-5.1.0-source-release.zip > > > > > > > I welcome you all to test your favorite pipeline(s) and report any > issues. > > I am calling a vote from the PMC to finish by 12:nn Eastern time, next > > Wednesday May 1. Please report any issues before that time. If any > > 'road-block' issues are found they will need to be addressed before a > > release. > > > > Thank you, > > Sean > > > > > > p.s. > > > > The 5.1.0 candidate is based upon the source code in the ctakes-5.1.0 > tag: > > https://github.com/apache/ctakes/releases/tag/ctakes-5.1.0 > > > > The ctakes-5.1.0 tag was made from the 5.1.0 branch: > > https://github.com/apache/ctakes/tree/5.1.0 > > > > The 5.1.0 branch is a copy of the main branch: > > https://github.com/apache/ctakes/tree/main > > The version number in the 5.1.0 branch is different, but there are no > code > > differences between the two branches. > > > > > > > > -- > Regards, > Gandhi > > "The best way to find urself is to lose urself in the service of others > !!!" >