Current SVN trunk will not build

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Current SVN trunk will not build

Jeremy Aston
I have do a co of the current SVN trunk folder and am getting the  
following on the build....

/java/grails jez$ ant
Buildfile: build.xml

clean:

clean-instrumented:
     [mkdir] Created dir: /java/grails/cruise/coverage/build/
instrumented-classes

build-init:
     [mkdir] Created dir: /java/grails/target/classes
     [mkdir] Created dir: /java/grails/target/test-classes
     [mkdir] Created dir: /java/grails/target/test-reports
     [mkdir] Created dir: /java/grails/dist

build:
     [javac] Compiling 275 source files to /java/grails/target/classes
     [javac] /java/grails/src/web/org/codehaus/groovy/grails/web/
servlet/GrailsHttpServletRequest.java:42: warning: [deprecation]  
getRealPath(java.lang.String) in javax.servlet.ServletRequest has  
been deprecated
     [javac] public class GrailsHttpServletRequest extends  
HttpServletRequestWrapper implements Map, MultipartHttpServletRequest {
     [javac]        ^
     [javac] /java/grails/src/web/org/codehaus/groovy/grails/web/
servlet/GrailsHttpServletRequest.java:42: warning: [deprecation]  
isRequestedSessionIdFromUrl() in  
javax.servlet.http.HttpServletRequest has been deprecated
     [javac] public class GrailsHttpServletRequest extends  
HttpServletRequestWrapper implements Map, MultipartHttpServletRequest {
     [javac]        ^
     [javac] /java/grails/src/web/org/codehaus/groovy/grails/web/
servlet/GrailsHttpServletRequest.java:42: warning: [deprecation]  
getRealPath(java.lang.String) in javax.servlet.ServletRequest has  
been deprecated
     [javac] public class GrailsHttpServletRequest extends  
HttpServletRequestWrapper implements Map, MultipartHttpServletRequest {
     [javac]        ^
     [javac] /java/grails/src/web/org/codehaus/groovy/grails/web/
servlet/GrailsHttpServletRequest.java:42: warning: [deprecation]  
isRequestedSessionIdFromUrl() in  
javax.servlet.http.HttpServletRequest has been deprecated
     [javac] public class GrailsHttpServletRequest extends  
HttpServletRequestWrapper implements Map, MultipartHttpServletRequest {
     [javac]        ^
     [javac] /java/grails/src/web/org/codehaus/groovy/grails/web/
servlet/GrailsHttpServletRequest.java:42: warning: [deprecation]  
getRealPath(java.lang.String) in javax.servlet.ServletRequest has  
been deprecated
     [javac] public class GrailsHttpServletRequest extends  
HttpServletRequestWrapper implements Map, MultipartHttpServletRequest {
     [javac]        ^
     [javac] 5 warnings
   [groovyc] Compiling 1 source file to /java/grails/target/classes
      [copy] Copying 5 files to /java/grails/target/classes

build:checkj5:

build:java5:
     [javac] Compiling 1 source file to /java/grails/target/classes
     [javac] Note: /java/grails/src/tiger/org/codehaus/groovy/grails/
orm/hibernate/cfg/GrailsAnnotationConfiguration.java uses unchecked  
or unsafe operations.
     [javac] Note: Recompile with -Xlint:unchecked for details.

build-test:
     [javac] Compiling 44 source files to /java/grails/target/test-
classes
     [javac] /java/grails/test/commons/grails/util/
JSonBuilderTests.java:24: warning: [deprecation] setStatus
(int,java.lang.String) in javax.servlet.http.HttpServletResponse has  
been deprecated
     [javac]                     public PrintWriter getWriter()  
throws UnsupportedEncodingException {
     [javac]                                            ^
     [javac] /java/grails/test/commons/grails/util/
JSonBuilderTests.java:24: warning: [deprecation] encodeRedirectUrl
(java.lang.String) in javax.servlet.http.HttpServletResponse has been  
deprecated
     [javac]                     public PrintWriter getWriter()  
throws UnsupportedEncodingException {
     [javac]                                            ^
     [javac] /java/grails/test/commons/grails/util/
JSonBuilderTests.java:24: warning: [deprecation] encodeUrl
(java.lang.String) in javax.servlet.http.HttpServletResponse has been  
deprecated
     [javac]                     public PrintWriter getWriter()  
throws UnsupportedEncodingException {
     [javac]                                            ^
     [javac] /java/grails/test/commons/grails/util/
OpenRicoBuilderTests.java:53: warning: [deprecation] setStatus
(int,java.lang.String) in javax.servlet.http.HttpServletResponse has  
been deprecated
     [javac]                     public PrintWriter getWriter()  
throws UnsupportedEncodingException {
     [javac]                                            ^
     [javac] /java/grails/test/commons/grails/util/
OpenRicoBuilderTests.java:53: warning: [deprecation] encodeRedirectUrl
(java.lang.String) in javax.servlet.http.HttpServletResponse has been  
deprecated
     [javac]                     public PrintWriter getWriter()  
throws UnsupportedEncodingException {
     [javac]                                            ^
     [javac] /java/grails/test/commons/grails/util/
OpenRicoBuilderTests.java:53: warning: [deprecation] encodeUrl
(java.lang.String) in javax.servlet.http.HttpServletResponse has been  
deprecated
     [javac]                     public PrintWriter getWriter()  
throws UnsupportedEncodingException {
     [javac]                                            ^
     [javac] /java/grails/test/commons/org/codehaus/groovy/grails/
MockApplicationContext.java:54: warning: [deprecation]  
getBeanDefinitionNames(java.lang.Class) in  
org.springframework.beans.factory.ListableBeanFactory has been  
deprecated
     [javac]     public String[] getBeanDefinitionNames(Class type) {
     [javac]                         ^
     [javac] 7 warnings

run-test:
    [delete] Deleting directory /java/grails/target/test-reports
     [mkdir] Created dir: /java/grails/target/test-reports
     [junit] TEST  
org.codehaus.groovy.grails.commons.ClassReloadingTests FAILED
     [junit] Tests FAILED
     [junit] TEST  
org.codehaus.groovy.grails.scaffolding.GrailsTemplateGeneratorsTests  
FAILED
     [junit] Tests FAILED

BUILD FAILED
/java/grails/ant/build/unit-test.xml:85: The tests failed. Have a  
look at target/test-reports


Can a committer check and fix pretty please?

Cheers

jez



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

    http://xircles.codehaus.org/manage_email

Reply | Threaded
Open this post in threaded view
|

Re: Current SVN trunk will not build

graemer
On 7/3/06, Jeremy Aston <[hidden email]> wrote:

> I have do a co of the current SVN trunk folder and am getting the
> following on the build....
>
> /java/grails jez$ ant
> Buildfile: build.xml
>
> clean:
>
> clean-instrumented:
>      [mkdir] Created dir: /java/grails/cruise/coverage/build/
> instrumented-classes
>
> build-init:
>      [mkdir] Created dir: /java/grails/target/classes
>      [mkdir] Created dir: /java/grails/target/test-classes
>      [mkdir] Created dir: /java/grails/target/test-reports
>      [mkdir] Created dir: /java/grails/dist
>
> build:
>      [javac] Compiling 275 source files to /java/grails/target/classes
>      [javac] /java/grails/src/web/org/codehaus/groovy/grails/web/
> servlet/GrailsHttpServletRequest.java:42: warning: [deprecation]
> getRealPath(java.lang.String) in javax.servlet.ServletRequest has
> been deprecated
>      [javac] public class GrailsHttpServletRequest extends
> HttpServletRequestWrapper implements Map, MultipartHttpServletRequest {
>      [javac]        ^
>      [javac] /java/grails/src/web/org/codehaus/groovy/grails/web/
> servlet/GrailsHttpServletRequest.java:42: warning: [deprecation]
> isRequestedSessionIdFromUrl() in
> javax.servlet.http.HttpServletRequest has been deprecated
>      [javac] public class GrailsHttpServletRequest extends
> HttpServletRequestWrapper implements Map, MultipartHttpServletRequest {
>      [javac]        ^
>      [javac] /java/grails/src/web/org/codehaus/groovy/grails/web/
> servlet/GrailsHttpServletRequest.java:42: warning: [deprecation]
> getRealPath(java.lang.String) in javax.servlet.ServletRequest has
> been deprecated
>      [javac] public class GrailsHttpServletRequest extends
> HttpServletRequestWrapper implements Map, MultipartHttpServletRequest {
>      [javac]        ^
>      [javac] /java/grails/src/web/org/codehaus/groovy/grails/web/
> servlet/GrailsHttpServletRequest.java:42: warning: [deprecation]
> isRequestedSessionIdFromUrl() in
> javax.servlet.http.HttpServletRequest has been deprecated
>      [javac] public class GrailsHttpServletRequest extends
> HttpServletRequestWrapper implements Map, MultipartHttpServletRequest {
>      [javac]        ^
>      [javac] /java/grails/src/web/org/codehaus/groovy/grails/web/
> servlet/GrailsHttpServletRequest.java:42: warning: [deprecation]
> getRealPath(java.lang.String) in javax.servlet.ServletRequest has
> been deprecated
>      [javac] public class GrailsHttpServletRequest extends
> HttpServletRequestWrapper implements Map, MultipartHttpServletRequest {
>      [javac]        ^
>      [javac] 5 warnings
>    [groovyc] Compiling 1 source file to /java/grails/target/classes
>       [copy] Copying 5 files to /java/grails/target/classes
>
> build:checkj5:
>
> build:java5:
>      [javac] Compiling 1 source file to /java/grails/target/classes
>      [javac] Note: /java/grails/src/tiger/org/codehaus/groovy/grails/
> orm/hibernate/cfg/GrailsAnnotationConfiguration.java uses unchecked
> or unsafe operations.
>      [javac] Note: Recompile with -Xlint:unchecked for details.
>
> build-test:
>      [javac] Compiling 44 source files to /java/grails/target/test-
> classes
>      [javac] /java/grails/test/commons/grails/util/
> JSonBuilderTests.java:24: warning: [deprecation] setStatus
> (int,java.lang.String) in javax.servlet.http.HttpServletResponse has
> been deprecated
>      [javac]                     public PrintWriter getWriter()
> throws UnsupportedEncodingException {
>      [javac]                                            ^
>      [javac] /java/grails/test/commons/grails/util/
> JSonBuilderTests.java:24: warning: [deprecation] encodeRedirectUrl
> (java.lang.String) in javax.servlet.http.HttpServletResponse has been
> deprecated
>      [javac]                     public PrintWriter getWriter()
> throws UnsupportedEncodingException {
>      [javac]                                            ^
>      [javac] /java/grails/test/commons/grails/util/
> JSonBuilderTests.java:24: warning: [deprecation] encodeUrl
> (java.lang.String) in javax.servlet.http.HttpServletResponse has been
> deprecated
>      [javac]                     public PrintWriter getWriter()
> throws UnsupportedEncodingException {
>      [javac]                                            ^
>      [javac] /java/grails/test/commons/grails/util/
> OpenRicoBuilderTests.java:53: warning: [deprecation] setStatus
> (int,java.lang.String) in javax.servlet.http.HttpServletResponse has
> been deprecated
>      [javac]                     public PrintWriter getWriter()
> throws UnsupportedEncodingException {
>      [javac]                                            ^
>      [javac] /java/grails/test/commons/grails/util/
> OpenRicoBuilderTests.java:53: warning: [deprecation] encodeRedirectUrl
> (java.lang.String) in javax.servlet.http.HttpServletResponse has been
> deprecated
>      [javac]                     public PrintWriter getWriter()
> throws UnsupportedEncodingException {
>      [javac]                                            ^
>      [javac] /java/grails/test/commons/grails/util/
> OpenRicoBuilderTests.java:53: warning: [deprecation] encodeUrl
> (java.lang.String) in javax.servlet.http.HttpServletResponse has been
> deprecated
>      [javac]                     public PrintWriter getWriter()
> throws UnsupportedEncodingException {
>      [javac]                                            ^
>      [javac] /java/grails/test/commons/org/codehaus/groovy/grails/
> MockApplicationContext.java:54: warning: [deprecation]
> getBeanDefinitionNames(java.lang.Class) in
> org.springframework.beans.factory.ListableBeanFactory has been
> deprecated
>      [javac]     public String[] getBeanDefinitionNames(Class type) {
>      [javac]                         ^
>      [javac] 7 warnings
>
> run-test:
>     [delete] Deleting directory /java/grails/target/test-reports
>      [mkdir] Created dir: /java/grails/target/test-reports
>      [junit] TEST
> org.codehaus.groovy.grails.commons.ClassReloadingTests FAILED
>      [junit] Tests FAILED
>      [junit] TEST
> org.codehaus.groovy.grails.scaffolding.GrailsTemplateGeneratorsTests
> FAILED
>      [junit] Tests FAILED
>
> BUILD FAILED
> /java/grails/ant/build/unit-test.xml:85: The tests failed. Have a
> look at target/test-reports
>
>
> Can a committer check and fix pretty please?
Its those 2 unit tests that work on some platforms but not others, as
there is a class reloading test that does the same thing in groovy
core i will remove this one and then just fix  the generator tests

In the meantime you can do "ant jar" to get round this

Graeme

>
> Cheers
>
> jez
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>

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

    http://xircles.codehaus.org/manage_email

Reply | Threaded
Open this post in threaded view
|

Re: Current SVN trunk will not build

Jeremy Aston
cheese.


On 3 Jul 2006, at 08:02, Graeme Rocher wrote:

> Its those 2 unit tests that work on some platforms but not others, as
> there is a class reloading test that does the same thing in groovy
> core i will remove this one and then just fix  the generator tests
>
> In the meantime you can do "ant jar" to get round this
>
> Graeme


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

    http://xircles.codehaus.org/manage_email