groovy

Grails pastebin updated

Just updated the grails based pastebin.

I got fed up (read embarrassed) by the autogenerated URLs. They were simply too long as it was using UUID to generate the URLs.

So - I generated a nice new function that will generate a short (3-10 chars) random string of upper/lower case letters and numbers.

This also allowed me to have a "short url" function (similar to tinyurl etc etc) without too much extra work.

Importing Groovy/GMaven/maven projects to Intellij IDEA

When importing a maven pom that uses the gmaven plugins - remember to go into project structure settings and set src/main/groovy as sources and src/test/groovy as test sources.

I'd also like to know why on import of a project that has had mvn install run on it causes Idea to have issues about generated source mismatch etc - mvn clean then a rebuild in Idea will fix this but I can't pin down what is not right.

Subscribe to RSS - groovy