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

grails forge: services and domain directories are missing #192

Open
leadtrip opened this issue Aug 6, 2023 · 3 comments
Open

grails forge: services and domain directories are missing #192

leadtrip opened this issue Aug 6, 2023 · 3 comments
Assignees

Comments

@leadtrip
Copy link

leadtrip commented Aug 6, 2023

Description
A fresh Grails 6 application is missing a number of directories

Steps to Reproduce

  • Goto https://start.grails.org/
  • Click on the "Generate Project" button and Download the Zip or upload to Github
  • Open the Project in an IDE or view on file system
  • Notice the following directories are missing:
  1. grails-app/services
  2. grails-app/domain
  3. grails-app/taglib
  4. grails-app/conf/spring - addressed in 6.2.1 and 7.0.0

And the file grails-app/conf/spring/resources.groovy - addressed in 6.2.1 and 7.0.0

@jeffscottbrown
Copy link
Member

And the file grails-app/conf/spring/resources.groovy

FYI... I don't think that file exists even if you don't use forge and instead use Grails 6.2.0 grails create-app.

@jamesfredley jamesfredley moved this to Todo in Grails 7 Sep 24, 2024
@jamesfredley jamesfredley changed the title services and domain directories are missing grails forge: services and domain directories are missing Sep 24, 2024
@jamesfredley
Copy link
Contributor

jamesfredley commented Sep 24, 2024

grails-app/conf/spring/resources.groovy has been added for the grails 6.2.1 and grails 7.0.0 releases

We can probably use the .gitkeep trick to include services and domain directories in the Forge Generated project.

@jamesfredley jamesfredley removed the status in Grails 7 Dec 8, 2024
@jamesfredley jamesfredley self-assigned this Dec 8, 2024
@jdaugherty
Copy link
Contributor

I'd suggest we generate these directories as part of the grails/grails-gradle-plugin. Then we can ensure they always exist as part of the build process.

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

No branches or pull requests

4 participants