aspose file tools*
The moose likes Groovy and the fly likes I hate spending 3 weeks on the tools, not coding Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Groovy
Bookmark "I hate spending 3 weeks on the tools, not coding" Watch "I hate spending 3 weeks on the tools, not coding" New topic
Author

I hate spending 3 weeks on the tools, not coding

Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17259
    
    6

OK, so I will say that I am using Milestones and Release Candidates, but still, I should get my IDEs to work. And I know in this case it isn't really the IDE that is to blame, but me myself and I.

So In my Grails 2.0 app using IntelliJ, I can't get it to generate Controllers. Well that isn't IntelliJ stuff. But it is Grails stuff. Here is my error for that



At first I thought it was when I added Spock

test ":spock:0.6-SNAPSHOT"

But that isn't it.

Let me go to the other IDE, that is my most favorite IDE ever created in mankind. The one IDE that you are guaranteed to work the best after you spend 90% of your time fixing it.

So in Eclipse(STS), I created a Spring ROO project (I know not Groovy or Grails here, just wait), it was great built all the scaffolding and such just like Grails does. However, I know that I would love to have some Groovy classes/code in my app to simplify a lot of stuff I need to customize. Here is where STS fails, I can't get it to compile a .groovy file, in the IDE I get two red x's for missing a semicolon. First on the package line and the second on the last line. It won't even show errors for the imports that are missing so far.

Any ideas of how to get Groovy to work in Eclipse. I even went through STS's dashboard and "install" Groovy, but that doesn't work. I am also using the latest Groovy 1.8.2

Thanks

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17259
    
    6

Don't know what I did right, but I got the IntelliJ Grails app to compile and allow me to generate Controllers and Views for one of my domain objects.

I think this might have done the trick, in my BuildConfig.groovy I added two exclused for those jmx stuff that log4j wanted.

inherits("global") {
// uncomment to disable ehcache
excludes 'ehcache'
excludes 'jmxtools'
excludes 'jmxri'
}
Lets see how far I can get now.

Mark
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: I hate spending 3 weeks on the tools, not coding