My first guess is that the Hibernate build isn't yet compatible with Gradle
1.0-milestone-4. I think this might be related to some class loader related
changes in m4. Maybe Adam can shed more light on this.

PS: According to Nabble, your post never made it to the mailing list. 

--
Peter Niederwieser
Principal Engineer, Gradleware 
http://gradleware.com
Creator, Spock Framework 
http://spockframework.org
Twitter: @pniederw


kkganesan wrote:
> 
> Cloned the src from github and ran the gradle build.
> It generated distribution at
> build/distributions/gradle-1.0-milestone-4-20110726202010-0500
> 
> I removed .gradle from ~/ (home directory)
> and pointed $GRADLE_USER_HOME to the above distribution directory. 
> gradle runs fine from command line. caches are now created at the
> distribution directory.
> 
> But when i try to run hibernate projects build.gradle I get the following;
> ~/hibernate-core/buildSrc/src/main/java/org/hibernate/build/gradle/inject/InjectionAction.java:49:
> cannot find symbol
> symbol  : class JavaPluginConvention
> location: package org.gradle.api.plugins
> import org.gradle.api.plugins.JavaPluginConvention;
> 
> I know I am referring to another project which uses gradle and as well its
> nothing wrong with hibernate here but gradle plugins jar are not in the
> classpath. It is happening to any project that refers to the files in  the
> gradle plugins jar.
> 
> I went forward and copied plugins jar from
> gradle/subprojects/plugins/build/libs/gradle-plugins-1.0-milestone-4-20110726202010-0500.jar
> to the lib in the gradle distribution directory. Thinking that it would
> resolve the plugins jar in the classpath to resolve import errors but it
> didnt.
> 
> I would appreciate if you let me know what i need to do to expose gradle
> plugins jar in the classpath.
> 


--
View this message in context: 
http://gradle.1045684.n5.nabble.com/Unable-to-resolve-classes-in-plugins-subproject-tp4644892p4658700.html
Sent from the gradle-user mailing list archive at Nabble.com.

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

    http://xircles.codehaus.org/manage_email


Reply via email to