Disable idea-print-project-settings command for Grails projects

Answered

Hello,

I have a Grails project (v2.5.6) and use IntelliJ IDEA 2021.1.
I want to use JVM options to switch between inplace plugins and published plugins on our server.

But everytime I use "refresh-dependencies" with my options the IDEA starts "idea-print-project-settings" without my options and all the plugins are downloaded again.
I know there is the "grails-synch-jvm-options.txt" file where I can save my JVM options, but I would prefer to set my options when I'm starting a Grails command.

So is there a way to prevent IntelliJ to use the "idea-print-project-settings" command?

0
4 comments

Hi.

To prevent using that command the file should be removed.
 
0

Ok,
where can I find those command files?

I looked in the installation folder and in my .IntelliJIdea folder but found nothing.

0

try looking in a project folder root.

0

I found a IdeaPrintProjectSettings.groovy in .grails/scripts and a IdeaPrintProjectSettings.class in .grails/2.5.6/projects/myProject/scriptCache.

I delete everything but it comes back when I restart IntelliJ.
There was nothing related to this issue in my project root folder

0

Please sign in to leave a comment.