On Oct 14, 2008, at 8:45 PM, Peter Ledbrook wrote:
Cool. This is in fact what I was hoping to do, so thanks for the
offer.
It's now in the repository:
http://svn.grails.codehaus.org/browse/grails/branches/GRAILS_1_1/
build.gradle
It only does compile, test, and (partial) libs at the moment. There
are a couple of oddities, such as one of the tests failing for some
reason - it doesn't with the Ant build. It may be something to do with
the test being Java but extending a Groovy class. I'll write a bit
more about that if I get the chance.
The other odd thing is that running the tests after a clean always
results in a NoClassDefFoundError for one of the Jaxen classes.
Running the tests again (without a clean) then works fine.
I was too tired last night when I have read your email. All my
responses so far refer to a different problem I have with the Gradle
build. I get a compile error.
/Users/hans/IdeaProjects/Grails/src/web/org/codehaus/groovy/grails/
web/pages/ext/jsp/GroovyPagesPageContext.java:54:
org.codehaus.groovy.grails.web.pages.ext.jsp.GroovyPagesPageContext
is not abstract and does not override abstract method getELContext()
in javax.servlet.jsp.JspContext
public class GroovyPagesPageContext extends PageContext {
^
When comparing the debug output of the gradle and ant build I find
the following in the ant build classpath:
:/Users/hans/IdeaProjects/Grails/lib/jsp-api-2.0.jar:/Users/hans/
IdeaProjects/Grails/lib/jsp-api-2.1.jar
Welcome to jar hell ;)
The gradle build is using version 2.1. If I remove 2.0 from the ant
build I get the same error also with the ant build. I'm very
surprised that it compiles for you (I'm also on a Mac, so Mac magic
can't be an argument ;) ).
- Hans
--
Hans Dockter
Gradle Project lead
http://www.gradle.org
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email