grails - IntelliJ IDEA: Gradle indexing files - infinite loop -


i'm developing web application, using grails 2.2.3 ember.js (rc3). i'm using intellij idea 12.1 utlimate ide , intellij teamcity ci server - everything's on windows 7 professional sp1. wanted use gradle 1.7 better organize build tasks (combining grails, grunt, testing , on...) , expected paradise got hell...

as started use gradle.build file , started jetgradle in intellij idea started scan , index files on , on (actually still running - 14 hours , counting), ide blocked , can't anything... it's frustrating.

if it's of interest, here's gradle.build:

import org.apache.tools.ant.taskdefs.condition.os import org.gradle.api.tasks.exec import org.grails.gradle.plugin.grailstask  buildscript {   repositories {     maven { url "http://my.company.archiva:8080/repository/internal" }     maven { url "http://repo.grails.org/grails/repo" }   }    dependencies {     classpath "org.grails:grails-gradle-plugin:2.0.0-snapshot",         "org.grails:grails-bootstrap:2.2.3"   } }  apply plugin: "grails" apply plugin: "base"  repositories {   maven { url "http://my.company.archiva:8080/repository/internal" }   maven { url "http://repo.grails.org/grails/repo" } }  grails {   grailsversion "2.2.3" }  configurations {   {     exclude module: "commons-logging"     exclude module: "xml-apis"     exclude module: "grails-plugin-log4j"     exclude module: "slf4j-log4j12"   }   test {     exclude module: "groovy-all"   }   compile {     exclude module: "hibernate"   }   compileonly }  dependencies {   compile("com.my.company:grails-custom-plugin1:0.1.7@zip")   compile("com.my.company:grails-cusotm-plugin:0.2@zip")   compile("com.my.company:backendapi:1.1")    compile("org.mozilla:rhino:1.7r4")    compile("io.netty:netty:3.3.1.final")   compile("com.google.protobuf:protobuf-java:2.4.1")    compile("org.grails.plugins:cache:1.0.1")    compileonly "org.grails:grails-plugin-tomcat:$grails.grailsversion" // no tomcat-*.jar in war    bootstrap "org.codehaus.groovy:groovy-all:2.0.5" }   /* gradle wrapper */  task wrapper(type: wrapper) {   gradleversion = '1.7' }   /* grunt section */  task npm(type: exec) {   group = "build"   description = "installs node.js dependencies defined in package.json"   workingdir "web-app"   commandline = ["npm.cmd", "install"]   inputs.file "package.json"   outputs.dir "node_modules" }  task production(type: grunttask) {   gruntargs = "prod" }  class grunttask extends exec {   private string gruntexecutable = os.isfamily(os.family_windows) ? "grunt.cmd" : "grunt"   private string switches = "--no-color"   private string workdir = "web-app"    string gruntargs = ""    public grunttask() {     super()     this.setexecutable(gruntexecutable)     this.workingdir(workdir)   }    public void setgruntargs(string gruntargs) {     this.args = "$switches $gruntargs".trim().split(" ") list   } }  /* war creation */  task war(type: grailstask) {   command "war"   env "prod" } 

is out there able me? searched internet , down seems either nobody using combination of grails, ember.js, gradle, intellij idea or dead simple , i'm stupid use tools...

i don't recommend use gradle integration in idea 12 it's limited. (idea 13 better.) instead can use gradle's "idea" plugin generate idea files. not sure how of works grails. grails' own build tool integrated rest of grails, , i've heard, using else means make compromises. (i don't have first-hand experience though.) there have been plans grails switch on built-in build tool gradle 1 day.

ps: i'd search idea issue tracker , file issue if there none.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -