Not able to run the ant project when we MAVEN
I didn't understand any of your explanations
Please give me the solution on urgent basis because first step of framework is configuring maven so if with maven using ant I will not be able to run the project then its of no use
[quote="[email protected]":1zkp13aq]I didn't understand any of your explanations[/quote:1zkp13aq] okay let start again. the screen shot you gave me had this. [quote:1zkp13aq]multiple version of ANT found[/quote:1zkp13aq] delete your entire .m2/repository and then run test again.
[quote="[email protected]":2kbk007r]Please give me the solution on urgent basis because first step of framework is configuring maven so if with maven using ant I will not be able to run the project then its of no use[/quote:2kbk007r] zip and send me your entire project.
I got the solution but still small issue I am facing When I deleted collections folder present under google folder of seleniumhq then my build.xml runs successfully by using jars downloaded by Maven but if I give the command mvn test then that collection folder again comes so my build.xml i.e ant gives the failure In report,also I get the failure So my question is that if I deleted the collection folder from the downloaded jars present in my .m2/repository then what should I do if I don't want that jars present in collection folder to appear again
Attached is my zip file for my project
working for me I tried running your project 3-4 times. after I deleted 1 version Ant jar files. [attachment=0:k5zfyawj] Screenshot (15).png [/attachment:k5zfyawj]
I am facing this issue because of collection folder present in my .m2/repoository When I deleted collections folder present under google folder of seleniumhq then my build.xml runs successfully by using jars downloaded by Maven but if I give the command mvn test then that collection folder again comes so my build.xml i.e ant gives the failure In report,also I get the failure So my question is that if I deleted the collection folder from the downloaded jars present in my .m2/repository then what should I do if I don't want that jars present in collection folder to appear again
then delete the other ant version. and use the maven one. in your E:/ drive//previous pc/selenium/appache ant you might have to change environment variable.
Hi I did everything which you asked but it is not working The only solution which worked for me is below I deleted collections folder present under google folder of seleniumhq under .m2 repository then it ran successfully but if I will again try to run it by mvn run then it will again download the collection folder so my project will again stop running So my question is that if I deleted the collection folder from the downloaded jars present in my .m2/repository then what should I do if I don't want that jars present in collection folder to appear again OR Give me some other solution
are you using the 2 maven projects together in one machine?
Yes We can have any no of maven projects ?
yes you can use any number of projects but sometimes jar files miss and matches between 2 projects. try to use same version of jar files in both projects.
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