-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
karate-demo build fails to find packages #463
Comments
no this won't work ! if you are just trying to create a new Karate project, please follow the quickstart instructions: https://github.com/intuit/karate#quickstart - I know it's not Gradle, but at least you will get a simple skeleton project as a starting point. EDIT: we now have a wiki for Gradle: https://github.com/intuit/karate/wiki/Gradle the karate-demo is like an advanced test-suite for karate, it is not meant as an example to create a new project. but you will be able to run it if you don't start moving folders around. |
Thanks for the precision @ptrthomas. Is there any quickstart for gradle, or does it make sense to use a maven archetype and then switch the build process to gradle ? EDIT: I am going to experiment with building the archetype, then using gradle's command to migrate the mvn result ( |
@sbmehdy no quickstart - I have been been hoping for a contribution for a long time now and I am not a gradle user you can see if this helps: https://github.com/intuit/karate/tree/master/karate-demo#gradle |
@ptrthomas Just as a FYI, I have managed to properly (and without any trouble) set up a gradle job from your maven archetype, if that helps. (Since gradle doesn't have that feature built-in as-is)
then:
If I manage to get more comfortable with Karate, I'd happily help you with that quickstart task. In the meantime, I hope these steps help anyone in search for something to work with re:gradle. |
@sbmehdy thanks ! this certainly will help others. even if someone creates a sample github project somewhere I can link to it from the documentation. |
Hi, i didnt move a single folder, running gradle build and getting the same error: cd /Users/me/Projects/KarateDemo/karate-demo gradle build Users/me/Projects/KarateDemo/karate-demo/src/main/java/com/intuit/karate/demo/util/DbUtils.java:25: error: cannot find symbol Any idea? |
Hi!
First and foremost, thanks for such an extensive doc and what seems to be an amazing project!
I'm running into an issue trying out the demo and I was wondering if you could help me out.
Essentially, some dependencies (spring) aren't handled by gradle and the build fails.
System info:
/usr/libexec/java_home -v 1.8
(which is/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home
on my machine)Steps to reproduce:
git clone https://github.com/intuit/karate.git
karate-demo
folder to its own:cp -R karate/karate-demo/ ~/karate-demo
cd ~/karate-demo
gradle wrapper
with the following result./gradlew test
with the following outputI attempted to clean it, rebuild it.. same thing.
Happy to follow any indication or provide any more information.
The text was updated successfully, but these errors were encountered: