August 11, 2010

Grails & IntelliJ IDEA & Perforce: plugin is not under client's root

Grails: 1.3.3

So last week I started using IDEA for my IDE then hooked my grails project to Perforce.... So far so good then i got the following warning .... 

"Error updating changes: Path 'c:\Users\xxx\.grails/1.3.3/project/xxx/plugin/tomcat-1.3.3/.. is not under client's root 'c:/dev/xxxx' see image below... 

The fix is simple

  1. Add the following to your BuildConfig.groovy
  2. Ignore the new project/plugins dir. 

Now everything is happy.

1 comment:

  1. Thanks George.
    This really helped me to get rid of this annoying issue.