<javac srcdir="${src}"
destdir="${build}"
fork="yes"
executable="/opt/java/jdk1.8/bin/javac"
compiler="javac1.8"
/>
try this one, would you and report back the result.
Hi,
I have replaced the code
<javac
debug="true"
destdir="${test.dest}"
srcdir="${test.src}"
target="1.5"
classpath="${test.classpath}"
>
</javac>
in build.xml with
<javac srcdir="${src}"
destdir="${build}"
fork="yes"
executable="/opt/java/jdk1.8/bin/javac"
compiler="javac1.8"
/>
But still i am getting Same Error.I am attaching Build.xml and error file.
Thank you ,
Chaithanya.
In command prompt when I am compiling using ant an error "taskdef class org.testng.TestNGAntTask cannot be found." is displaying.In build.xml file there is also eclipse displaying warning message for line "<taskdef name="testng" classpath="${test.classpath}"classname="org.testng.TestNGAntTask" /> ".What should I do to remove this issue? I have attached snapshots of this issue also for reference.I am watching now video9 so I have no idea to create build.xml file so here I have simply copy from code and paste in project as suggested by Ashish in video9.Please suggest me what and where should I do?
In command prompt when I am compiling using ant an error "taskdef class org.testng.TestNGAntTask cannot be found." is displaying. Yellow line is displaying in line no. 38 and 39 of build.xml file I have used.
"taskdef class org.testng.TestNGAntTask cannot be found."
classpath cannot find testng jar file.