apache / apache/grails-intellij-plugin

Grails project does not allow runtime Groovy scripts

Open
#111 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

In our project, we use groovy scripts that are used at runtime to configure our applications. These scripts should not be compiled at grails startup (in fact, they contain a DSL that does not compile with IDEA 11.1.2 tries to do so.

Nonetheless we want to have code completion etc. for them (naturally).

Status quo: All files that are marked as groovy sources are compiled at grails startup.

Desired functionality: We need a way to configure our project in a way that excludes these files from compilation at startup.

---

*Imported from [IDEA-86968](https://youtrack.jetbrains.com/issue/IDEA-86968) · 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

No file or test is named in the issue. Start by tracing how the Grails plugin compiles files marked as Groovy sources during startup, then find the project configuration path for excluding runtime scripts. Done means runtime DSL scripts are not compiled at startup while code completion remains available.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.