Hai..
I have got the following error and unable to trace it. so, can you please help me to find it.
Source Code:
<project>
<target name="clean">
<delete dir="build"/>
</target>
<target name="compile">
<mkdir dir="build/classes"/>
<javac srcdir="D:\AnT" destdir="build/classes"/>
</target>
<target name="jar">
<mkdir dir="build/jar"/>
<jar destfile="build/jar/Hello.jar" basedir="build/classes">
<manifest>
<attribute name="Main-Class" value="Hello"/>
</manifest>
</jar>
</target>
<target name="javadoc">
<mkdir dir="build/javadoc"/>
<javadoc sourcepath="D:\AnT\Hello.java" destdir="build/javadoc" >
</javadoc>
</target>
<target name="run">
<
java jar="build/jar/Hello.jar" fork="true"/>
</target>
</project>
Error :
No source files and no packages have been specified.
thanks