What does ant -verbose give you? Kjersti
On 29/03/06, Manas_Das <[EMAIL PROTECTED]> wrote: > > The line in blue is not being executed > > <project name="HelloWorld" basedir="." default="main"> > > > > <property name="src.dir" value="src"/> > > <property name="build.dir" value="build"/> > > <property name="classes.dir" value="${build.dir}/classes"/> > > <property name="jar.dir" value="${build.dir}/jar"/> > > <property name="main-class" value="oata.HelloWorld"/> > > > > <target name="clean"> > > <delete dir="${build.dir}"/> > > </target> > > > > <target name="compile"> > > <mkdir dir="${classes.dir}"/> > > <javac srcdir="${src.dir}" destdir="${classes.dir}"/> > > </target> > > > > <target name="jar" depends="compile"> > > <mkdir dir="${jar.dir}"/> > > <jar destfile="${jar.dir}/${ant.project.name}.jar" > basedir="${classes.dir}"> > > <manifest> > > <attribute name="Main-Class" value="${main-class}"/> > > </manifest> > > </jar> > > </target> > > > > <target name="run" depends="jar"> > > <java jar="${jar.dir}/${ant.project.name}.jar" fork="true"/> > > </target> > > > > <target name="clean-build" depends="clean,jar"/> > > > > <target name="main" depends="clean,run"/> > > > > </project> > > > > > > Thanks and regards > > Manas Ranjan Das > > Satyam Computer Service Limited > > Chennai Satyam Center, Chennai. > > Phone : (044) 32962242 > > Mobile : 9840589596 > > > > > > > > DISCLAIMER: > This email (including any attachments) is intended for the sole use of the > intended recipient/s and may contain material that is CONFIDENTIAL AND > PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or > distribution or forwarding of any or all of the contents in this message is > STRICTLY PROHIBITED. If you are not the intended recipient, please contact > the sender by email and delete all copies; your cooperation in this regard > is appreciated. > >