<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.
Instead of "C:\\Jars" use C:\jars
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.
what is the path of your JAVA_HOME ? PATH = %JAVA_HOME%\bin ?
Hi, JAVA_HOME path is "C:\Program Files\Java\JDK" jdk version 1.8.0_40
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?
what is the error where it is giving yellow line.
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.
So what should I do? I need to configure TestNG jar file?
Then what is the solution? What should I do?
where is your ant file pointing to keep all the jar files there.
We offer online selenium and UFT/QTP training. The course is very comprehensive and covers every aspect of automation testing with UFT/QTP and selenium. All types of frameworks are covered in depth - data driven framework, hybrid framework, page object model with a live project
© 2020 Whizdom Trainings. All rights Reserved - Powered by Whizdom Trainings