When I upgraded I used the form:

idea {
   project {
       jdkName = '1.6'
   }
}

And it works fine.

I went from m3 to m8a.
On Fri 16 Mar 2012 07:49:54 AM CDT, Grzegorz Gigon wrote:
Hi Guys
I know, a bit of a gap.
But, I'm starting today and already bumped into some issues.
So, this is how I go about the migration.

Downloaded Gradle M9, changed the path so there are new executables on it, and executed gradle clean in my project. A lot of deprecation messages (around dynamic properties) and then boom on IDEA plugin configuration.
So I went to docs and I see differences.

So I changed to adapt to new ways and I got this:

idea.project {
jdkName = '1.6'
}

The warning I see is:
Dynamic properties have been deprecated (property "jdkName" on the object "project :foo" with value "1.6" created).

That is my first project in my multi-project build.

Then it bombs out on this:

idea.workspace.iws.withXml { provider->
// DO some funcky stuff
}

With this:
*Cannot invoke method withXml() on null object.*
*
*
What is going on? First the warning is a bit odd, and then the null object.

Cheers, Greg

--
Grzegorz Gigon
http://greggigon.com <http://greggigon.com/>
http://www.linkedin.com/in/greggigon
Twitter: gregorygigon <http://twitter.com/gregorygigon>

"You see, wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing in Los Angeles. Do you understand this? And radio operates exactly the same way: you send signals here, they receive them there. The only difference is that there is no cat."
Albert Einstein, when asked to describe radio


--
[email protected]
http://hibernate.org

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to