Hi Gandhi,

Thank you for testing.  I have not seen this error but will try to see if I can 
reproduce it or otherwise diagnose it.

Before I build the release candidate I make sure that my build area, maven 
cache, temp directories, etc. are empty, but maybe I still have something left 
from a previous build.

Sean
________________________________
From: gandhi rajan <gandhiraja...@gmail.com>
Sent: Monday, April 29, 2024 7:54 AM
To: dev@ctakes.apache.org <dev@ctakes.apache.org>
Subject: Re: Please test the Apache cTAKES 5.1.0 release candidate [EXTERNAL]

* External Email - Caution *


Thanks for the insights Peter. I dint make it clear that I did ran the
install on ytex module with test case execution toggled off. I used the
following command - "mvn -e clean install -Dmaven.test.skip=true" and I
still hit the same error.

On digging deep, I could find that the build process is trying to execute
"<ant antfile="build-setup.xml" dir="scripts" target="test.setup">" in
build-main.xml which in turn is trying to invoke the following target in
build.setup.xml:

<target name="test.setup" description="setup properties and database for
unit tests"
depends="generateTestYtexProperties,templateToConfig,deleteTestDb">
<ant dir="data" target="all" inheritAll="true"/>
</target>

Did you try running this on a fresh setup Peter?

On Sun, 28 Apr 2024 at 01:17, Peter Abramowitsch <pabramowit...@gmail.com>
wrote:

> 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://urldefense.com/v3/__https://repository.apache.org/content/repositories/staging/org/apache/ctakes/ctakes/5.1.0/__;!!NZvER7FxgEiBAiR_!o1HhLIOtrhbcq3eWO7A8MyQs9yWveCrI0nWVqT7mgYPonu6AeAo8EI3Jpj0RSGZ-cVwLwf44oOtMoJQCtSuifMhxRi5BTyzwGA$
> > >
> > > The code is contained within the file:
> > > ctakes-5.1.0-source-release.zip<
> > >
> >
> https://urldefense.com/v3/__https://repository.apache.org/content/repositories/staging/org/apache/ctakes/ctakes/5.1.0/ctakes-5.1.0-source-release.zip__;!!NZvER7FxgEiBAiR_!o1HhLIOtrhbcq3eWO7A8MyQs9yWveCrI0nWVqT7mgYPonu6AeAo8EI3Jpj0RSGZ-cVwLwf44oOtMoJQCtSuifMhxRi48T86umQ$
> > > >
> > >
> > > 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://urldefense.com/v3/__https://github.com/apache/ctakes/releases/tag/ctakes-5.1.0__;!!NZvER7FxgEiBAiR_!o1HhLIOtrhbcq3eWO7A8MyQs9yWveCrI0nWVqT7mgYPonu6AeAo8EI3Jpj0RSGZ-cVwLwf44oOtMoJQCtSuifMhxRi7ofZf95w$
> > >
> > > The ctakes-5.1.0 tag was made from the 5.1.0 branch:
> > > https://urldefense.com/v3/__https://github.com/apache/ctakes/tree/5.1.0__;!!NZvER7FxgEiBAiR_!o1HhLIOtrhbcq3eWO7A8MyQs9yWveCrI0nWVqT7mgYPonu6AeAo8EI3Jpj0RSGZ-cVwLwf44oOtMoJQCtSuifMhxRi47ZQ3Diw$
> > >
> > > The 5.1.0 branch is a copy of the main branch:
> > > https://urldefense.com/v3/__https://github.com/apache/ctakes/tree/main__;!!NZvER7FxgEiBAiR_!o1HhLIOtrhbcq3eWO7A8MyQs9yWveCrI0nWVqT7mgYPonu6AeAo8EI3Jpj0RSGZ-cVwLwf44oOtMoJQCtSuifMhxRi6uOqGc6Q$
> > > 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
> > !!!"
> >
>


--
Regards,
Gandhi

"The best way to find urself is to lose urself in the service of others !!!"

Reply via email to