apache / apache/grails-intellij-plugin

Grails: create Grails App Forge with profile vue generates incorrect settings.gradle

Open
#367 0 comments 0 reactions 0 assignees View on GitHub
bug imported-from-youtrack
Dominant language
Java
Stars
17
Forks
4
Avg merge
5d 15h
Merged PRs (30d)
4

Description

***What steps will reproduce the issue?***
1\. File-\>New Project-\>Grails App Forge
2\. Choose vue (or angular) as the profile
3\. Press Next
4\. Enter a Project name, say fooweb
5\. Press Finish

***What is the expected result?***

In fooweb/settings.gradle, the content should be:

`include 'client', 'server'`

***What happens instead?***

The content of fooweb/settings.gradle is
```
rootProject.name = 'fooweb'
```
*Please attach the [IDE logs](https://intellij-support.jetbrains.com/hc/en-us/articles/207241085) to the issue. You can get them by selecting Collect Logs and Diagnostic Data from the Help menu.*

*If possible, please attach a code sample, screenshot, or screencast that illustrates the problem.*

_⚠️ attachment `image.png` was not included in the export_

*I have tried the below two methods to create fooweb, the content of fooweb/settings.gradle are all correct, which are:*

`include 'client', 'server'`

Method1:

Visit start.grails.org and then create a project of fooweb with choosing vue as the profile

Method2:

Install grails (ex: 5.1.1) into my local filesystem. And then use below command to generate fooweb:

grails create-app fooweb --profile=vue

---

*1 attachment(s) referenced here (`image.png`) are not part of the CSV export.*
*Imported from [IDEA-285998](https://youtrack.jetbrains.com/issue/IDEA-285998) · Type: Bug · Votes: 0*
*Comments, attachments, dates and reporter are not part of the export — follow the link above for the full history.*

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue through File → New Project → Grails App Forge using the vue or angular profile, then inspect how the generated settings.gradle is produced. Compare the result with a project created through start.grails.org or the Grails CLI; done means the IDE-created project contains `include 'client', 'server'`.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, java
Domain
build-system, devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.