We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
./grailsw create-service Widget should create WidgetService in the application's default package.
./grailsw create-service Widget
./grailsw create-service Widget creates the service in an invalid package.
Create an application using the Forge UI which includes the Grails Wrapper feature:
In the generated app run ./grailsw create-service ...
./grailsw create-service ...
$ [] sdk use java 11.0.17-zulu Using java version 11.0.17-zulu in this shell. $ [] $ [] $ [] git clone [email protected]:osscontributor/grailswdemo.git && cd grailswdemo && ./grailsw create-service Widget Cloning into 'grailswdemo'... remote: Enumerating objects: 123, done. remote: Counting objects: 100% (123/123), done. remote: Compressing objects: 100% (92/92), done. remote: Total 123 (delta 16), reused 123 (delta 16), pack-reused 0 (from 0) Receiving objects: 100% (123/123), 783.40 KiB | 2.61 MiB/s, done. | Resolving Dependencies. Please wait... > Task :buildSrc:compileJava NO-SOURCE > Task :buildSrc:compileGroovy NO-SOURCE > Task :buildSrc:processResources NO-SOURCE > Task :buildSrc:classes UP-TO-DATE > Task :buildSrc:jar > Task :buildSrc:assemble > Task :buildSrc:compileTestJava NO-SOURCE > Task :buildSrc:compileTestGroovy NO-SOURCE > Task :buildSrc:processTestResources NO-SOURCE > Task :buildSrc:testClasses UP-TO-DATE > Task :buildSrc:test NO-SOURCE > Task :buildSrc:check UP-TO-DATE > Task :buildSrc:build CONFIGURE SUCCESSFUL in 3s 1 actionable task: 1 executed | Created grails-app/services/@artifact.package.path@/WidgetService.groovy | Created src/test/groovy/@artifact.package.path@/WidgetServiceSpec.groovy $ [main] $ [main] $ [main] cat grails-app/services/@artifact.package.path@/WidgetService.groovy @artifact.package@ import grails.gorm.transactions.Transactional @Transactional class WidgetService { def serviceMethod() { } }
No response
https://github.com/osscontributor/grailswdemo
6.2.1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected Behavior
./grailsw create-service Widget
should create WidgetService in the application's default package.Actual Behaviour
./grailsw create-service Widget
creates the service in an invalid package.Steps To Reproduce
Create an application using the Forge UI which includes the Grails Wrapper feature:
In the generated app run
./grailsw create-service ...
Environment Information
No response
Example Application
https://github.com/osscontributor/grailswdemo
Version
6.2.1
The text was updated successfully, but these errors were encountered: