When i put any thing inside a target tag its doesn’t run whats inside it. eg.
<project name="Test" >
<target name="clean">
<delete dir="bin" />
<mkdir dir="bin" />
<echo>Hello 1</echo>
</target>
<target name="compile" depends="clean">
<javac srcdir="src" destdir="bin" />
<echo>Hello 2</echo>
</target>
<echo>Hello 3</echo>
</project>
All i get is:
[echo] Hello 3
You could either set a default task like
or invoke a task from command lie (or IDE)