Skip to content
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

Task run-seed doesn't exist #18

Open
musicalshore opened this issue Apr 8, 2019 · 0 comments
Open

Task run-seed doesn't exist #18

musicalshore opened this issue Apr 8, 2019 · 0 comments

Comments

@musicalshore
Copy link

I am unable to find the run-seed task. I cloned the Pet Clinic repo from #15 (comment).

I am on Windows 10. I deleted %PROJECT_ROOT%\build\.dependencies and the .gradle folder from my home directory. I did not use an IDE. I have grails 3.1.16 and gradle 3.5.1 installed in my environment, but I am using the wrapper included with the project, which uses gradle 2.3. Running grails run-seed results in "command not found" and running gradlew.bat run, as specified in the README gets "Task 'run' not found in root project 'grails-petclinic-seed-me-example'." I have tried both with and without the gradle daemon enabled and -Dgrails.env=development.

I initially did not make any changes to the project source, I just cloned it, cleaned out my caches and tried a few commands. I had to change application.yml to match my MySQL instance. After doing that, gradlew.bat -Dgrails.env=development bootRun resulted in a seeded database. I see Bootstrapping Seed-me plugin \n installSeedData complete in the log, but I still don't see the run-seed task provided by either grails or gradlew.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant