Ant Tool - TechRepublic
General discussion
June 12, 2001 at 11:59 PM
pjrs

Ant Tool

by pjrs . Updated 25 years ago

Ant tool is similar to batch files in windows Environment.
It wil build all UNIX commands to run on windows environment.
we will build the target file something similar to this.

……..
……….
< target name="dist" depends="compile">
< echo message="3 rd target" />
< mkdir dir="${dist}/lib" />

< jar jarfile="${dist}/lib/MyProject-${DSTAMP}.jar" basedir="${build}"/>

And the error is something like this.

3 rd target
[mkdir] Created dir: D:\sri_ant\dist\lib
[javac] Compiling 1 source fileto D:\sri_ant\dist
[javac] Modern compiler is not available – using classic compiler

BUILD FAILED

I want ur help in this regard, and i donot know where iam doing the mistake.
pl. help me out.

This discussion is locked

All Comments