-
The build prerequisites mention:
But there is no mention of Ant.
I see Ant is needed on the command line as well, so I just installed a recent version (1.10.14). nucleus\parent\pom.xml defines <ant.version>1.10.12</ant.version> Should this be added to the build prerequisites? Or should ideally the runtests.sh script use the ant version from maven repo? Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
As far as I know, Ant is not required for building GlassFish, not even for running the default set of tests that run with |
Beta Was this translation helpful? Give feedback.
-
Yes, to run ./runtest.sh script you need to install Ant. It’s not executed from mvn install. You don’t need it to build or even run tests which are part of the build. So, installing Ant is not required to build GlassFish. Only to run the runtests script. |
Beta Was this translation helpful? Give feedback.
-
The situation is that we are slowly revisiting and transforming these tests (I call them Zombie Test Army) to maven based application-tests. The basic trigger is when some of those tests fails, but there is missing clear output leading to a solution, then usually I learn what that test does and rewrite it so it is executable even in Eclipse IDE, not just by Maven. |
Beta Was this translation helpful? Give feedback.
The situation is that we are slowly revisiting and transforming these tests (I call them Zombie Test Army) to maven based application-tests. The basic trigger is when some of those tests fails, but there is missing clear output leading to a solution, then usually I learn what that test does and rewrite it so it is executable even in Eclipse IDE, not just by Maven.
However to be able to run these zombies locally, I created the runtests.sh script for now. Basically the latest Ant is a good choice.