Sample Project for Ant with JUnit
First need to ant bin folder to environment path and for unix environment you have to export path variable with ant bin folder. We can follow this link https://ant.apache.org/manual/install.html
Then Simply clone or download project on your PC.
Now you run simple command to build project
compile command to compile project
jar to make jar file
cd dist and then run java -jar ant-test.jar file and out will be like this
Name : Flop Coder
Identity : 36524585458585545555
junit to run junit test