Hello friends ,
I am new to ant tasks.in this custom ant tasks I have tried to implement, there are two classes HelloWorld.java and CmdCompile.java.
this is the build.xml I use,
<?xml version="1.0" ?>
<project name="Antcompile" default="main" basedir=".">
<!--<description>Builds, tests, and runs the project Antcompile.</description>-->
<import file="nbproject/build-impl.xml"/>
<taskdef name="hello" classname="just.inside.HelloWorld"/>
<taskdef name="builder" classname="just.inside.CmdCompile"/>
<target name="main" >
<hello what="miraj my son"/>
<builder process="C:/Program Files (x86)/Windows Media Player/wmplayer.exe" />
</target>
</project>
I keep getting the error
BUILD FAILED
C:\Documents and Settings\Administrator\Desktop\just\Antcompile\Antcompile\build
.xml:9: taskdef class just.inside.HelloWorld cannot be found
using the classloader AntClassLoader[]
any help appreciated. (java classes are attached)