ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manas_Das" <>
Subject RE: NO class files build\classes
Date Wed, 29 Mar 2006 09:09:42 GMT
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 name="compile">

        <mkdir dir="${classes.dir}"/>

        <javac srcdir="${src.dir}" destdir="${classes.dir}"/>



    <target name="jar" depends="compile">

        <mkdir dir="${jar.dir}"/>

        <jar destfile="${jar.dir}/${}.jar"


                <attribute name="Main-Class" value="${main-class}"/>





    <target name="run" depends="jar">

        <java jar="${jar.dir}/${}.jar" fork="true"/>



    <target name="clean-build" depends="clean,jar"/>


    <target name="main" depends="clean,run"/>





Thanks and regards

Manas Ranjan Das

Satyam Computer Service Limited

Chennai Satyam Center, Chennai.

Phone : (044) 32962242

Mobile : 9840589596



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.

  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message