On 29/10/2010, at 4:28 AM, Matthias Bohlen wrote:
> Hi,
>
> I have just tried gradle 0.9-rc-2. I had to change my build file slightly:
>
> eclipseProject {
> natures += 'net.sf.eclipsecs.core.CheckstyleNature'
> buildCommands += 'net.sf.eclipsecs.core.CheckstyleBuilder'
You should use this instead:
natures 'net.sf....CheckstyleNature'
buildCommand 'net.sf...CheckstyleBuilder'
I suspect this is what is causing the exception you're seeing in the eclipse
plugin.
>
> (before, it was "natureNames" and "buildCommandNames").
This hasn't changed between rc-1 and rc-2, but has changed since preview-3
>
> After starting gradle, I noticed a little more delay during the "Loading..."
> phase. After that, it ran fine.
When you use a new version, Gradle needs to recompile your build scripts and
rebuild its caches, so the first build will be a bit slower. After that, rc-2
should run a little faster that preview-3.
>
> Another strange effect: Messages from Checkstyle suddenly come in German (I
> am using a German MacBook Pro) although in my checkstyle.xml, it says:
>
> <property name="localeCountry" value="US" />
> <property name="localeLanguage" value="en" />
>
> (I re-checked and found out that this has changed since rc-2, in rc-1 all
> Checkstyle warnings come in English, as configured). I cannot see why.
We upgraded from checkstyle 5.1 to 5.2. Perhaps there's a problem in the new
Checkstyle release?
>
> By the way: How did you manage to create colored output in my Mac OS X
> terminal? Can you post a code snippet for that, here? (just curious...)
Using jansi: http://jansi.fusesource.org/
It's super simple to use. Here's a hello world:
Ansi ansi = new Ansi()
ansi.fg(Ansi.Color.GREEN).a('hello world').fg(Ansi.Color.DEFAULT)
AnsiConsole.out.println(ansi)
--
Adam Murdoch
Gradle Developer
http://www.gradle.org
CTO, Gradle Inc. - Gradle Training, Support, Consulting
http://www.gradle.biz