Ant run-tests

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Ant run-tests

Jacques Le Roux
Administrator
I just tried to use run-tests and got this error

[java] CatalinaContainer.java:237:INFO ] Connector AJP/1.3 @ 8009 - not-secure [org.apache.jk.server.JkCoyoteHandler] started.
[java] CatalinaContainer.java:234:INFO ] Connector null @ 8080 - not-secure [org.apache.coyote.http11.Http11Protocol] started.
[java] CatalinaContainer.java:234:INFO ] Connector null @ 8443 - secure [org.apache.coyote.http11.Http11Protocol] started.
[java] CatalinaContainer.java:241:INFO ] Started Apache Tomcat/6.0.16
[java] JunitContainer.java:73 :INFO ] [JUNIT] Pass: true | # Tests: 4 | # Failed: 0 # Errors: 0
[java] JunitContainer.java:76 :INFO ] [JUNIT] ----------------------------- ERRORS ----------------------------- [JUNIT]
[java] JunitContainer.java:79 :INFO ] None
[java] JunitContainer.java:85 :INFO ] [JUNIT] ------------------------------------------------------------------ [JUNIT]
[java] JunitContainer.java:86 :INFO ] [JUNIT] ---------------------------- FAILURES ---------------------------- [JUNIT]
[java] JunitContainer.java:89 :INFO ] None
[java] JunitContainer.java:95 :INFO ] [JUNIT] ------------------------------------------------------------------ [JUNIT]
[java] Exception in thread "main" java.lang.IncompatibleClassChangeError: Found interface org.ofbiz.entity.GenericDelegator, but
class was expected
[java] at org.ofbiz.testtools.ModelTestSuite.<init>(ModelTestSuite.java:71)
[java] at org.ofbiz.testtools.JunitSuiteWrapper.<init>(JunitSuiteWrapper.java:53)
[java] at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:110)
[java] at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:101)
[java] at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
[java] at org.ofbiz.base.start.Start.startServer(Start.java:322)
[java] at org.ofbiz.base.start.Start.start(Start.java:326)
[java] at org.ofbiz.base.start.Start.main(Start.java:409)

I guess it's related to Adrian's recent changes

Jacques


Reply | Threaded
Open this post in threaded view
|

Re: Ant run-tests

Adrian Crum
Run ant clean, then ant build.

-Adrian

Jacques Le Roux wrote:

> I just tried to use run-tests and got this error
>
> [java] CatalinaContainer.java:237:INFO ] Connector AJP/1.3 @ 8009 -
> not-secure [org.apache.jk.server.JkCoyoteHandler] started.
> [java] CatalinaContainer.java:234:INFO ] Connector null @ 8080 -
> not-secure [org.apache.coyote.http11.Http11Protocol] started.
> [java] CatalinaContainer.java:234:INFO ] Connector null @ 8443 - secure
> [org.apache.coyote.http11.Http11Protocol] started.
> [java] CatalinaContainer.java:241:INFO ] Started Apache Tomcat/6.0.16
> [java] JunitContainer.java:73 :INFO ] [JUNIT] Pass: true | # Tests: 4 |
> # Failed: 0 # Errors: 0
> [java] JunitContainer.java:76 :INFO ] [JUNIT]
> ----------------------------- ERRORS ----------------------------- [JUNIT]
> [java] JunitContainer.java:79 :INFO ] None
> [java] JunitContainer.java:85 :INFO ] [JUNIT]
> ------------------------------------------------------------------ [JUNIT]
> [java] JunitContainer.java:86 :INFO ] [JUNIT]
> ---------------------------- FAILURES ---------------------------- [JUNIT]
> [java] JunitContainer.java:89 :INFO ] None
> [java] JunitContainer.java:95 :INFO ] [JUNIT]
> ------------------------------------------------------------------ [JUNIT]
> [java] Exception in thread "main"
> java.lang.IncompatibleClassChangeError: Found interface
> org.ofbiz.entity.GenericDelegator, but class was expected
> [java] at org.ofbiz.testtools.ModelTestSuite.<init>(ModelTestSuite.java:71)
> [java] at
> org.ofbiz.testtools.JunitSuiteWrapper.<init>(JunitSuiteWrapper.java:53)
> [java] at
> org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:110)
> [java] at
> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:101)
> [java] at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
> [java] at org.ofbiz.base.start.Start.startServer(Start.java:322)
> [java] at org.ofbiz.base.start.Start.start(Start.java:326)
> [java] at org.ofbiz.base.start.Start.main(Start.java:409)
>
> I guess it's related to Adrian's recent changes
>
> Jacques
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Ant run-tests

Jacques Le Roux
Administrator
I had already tried, I'm currently using r805064. Is it working for you ?

Jacques

From: "Adrian Crum" <[hidden email]>

> Run ant clean, then ant build.
>
> -Adrian
>
> Jacques Le Roux wrote:
>> I just tried to use run-tests and got this error
>>
>> [java] CatalinaContainer.java:237:INFO ] Connector AJP/1.3 @ 8009 -
>> not-secure [org.apache.jk.server.JkCoyoteHandler] started.
>> [java] CatalinaContainer.java:234:INFO ] Connector null @ 8080 -
>> not-secure [org.apache.coyote.http11.Http11Protocol] started.
>> [java] CatalinaContainer.java:234:INFO ] Connector null @ 8443 - secure
>> [org.apache.coyote.http11.Http11Protocol] started.
>> [java] CatalinaContainer.java:241:INFO ] Started Apache Tomcat/6.0.16
>> [java] JunitContainer.java:73 :INFO ] [JUNIT] Pass: true | # Tests: 4 |
>> # Failed: 0 # Errors: 0
>> [java] JunitContainer.java:76 :INFO ] [JUNIT]
>> ----------------------------- ERRORS ----------------------------- [JUNIT]
>> [java] JunitContainer.java:79 :INFO ] None
>> [java] JunitContainer.java:85 :INFO ] [JUNIT]
>> ------------------------------------------------------------------ [JUNIT]
>> [java] JunitContainer.java:86 :INFO ] [JUNIT]
>> ---------------------------- FAILURES ---------------------------- [JUNIT]
>> [java] JunitContainer.java:89 :INFO ] None
>> [java] JunitContainer.java:95 :INFO ] [JUNIT]
>> ------------------------------------------------------------------ [JUNIT]
>> [java] Exception in thread "main"
>> java.lang.IncompatibleClassChangeError: Found interface
>> org.ofbiz.entity.GenericDelegator, but class was expected
>> [java] at org.ofbiz.testtools.ModelTestSuite.<init>(ModelTestSuite.java:71)
>> [java] at
>> org.ofbiz.testtools.JunitSuiteWrapper.<init>(JunitSuiteWrapper.java:53)
>> [java] at
>> org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:110)
>> [java] at
>> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:101)
>> [java] at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
>> [java] at org.ofbiz.base.start.Start.startServer(Start.java:322)
>> [java] at org.ofbiz.base.start.Start.start(Start.java:326)
>> [java] at org.ofbiz.base.start.Start.main(Start.java:409)
>>
>> I guess it's related to Adrian's recent changes
>>
>> Jacques
>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Ant run-tests

Adrian Crum
No it isn't, and I don't know what is causing it. I will look into it
further.

-Adrian

Jacques Le Roux wrote:

> I had already tried, I'm currently using r805064. Is it working for you ?
>
> Jacques
>
> From: "Adrian Crum" <[hidden email]>
>> Run ant clean, then ant build.
>>
>> -Adrian
>>
>> Jacques Le Roux wrote:
>>> I just tried to use run-tests and got this error
>>>
>>> [java] CatalinaContainer.java:237:INFO ] Connector AJP/1.3 @ 8009 -
>>> not-secure [org.apache.jk.server.JkCoyoteHandler] started.
>>> [java] CatalinaContainer.java:234:INFO ] Connector null @ 8080 -
>>> not-secure [org.apache.coyote.http11.Http11Protocol] started.
>>> [java] CatalinaContainer.java:234:INFO ] Connector null @ 8443 -
>>> secure [org.apache.coyote.http11.Http11Protocol] started.
>>> [java] CatalinaContainer.java:241:INFO ] Started Apache Tomcat/6.0.16
>>> [java] JunitContainer.java:73 :INFO ] [JUNIT] Pass: true | # Tests: 4
>>> | # Failed: 0 # Errors: 0
>>> [java] JunitContainer.java:76 :INFO ] [JUNIT]
>>> ----------------------------- ERRORS -----------------------------
>>> [JUNIT]
>>> [java] JunitContainer.java:79 :INFO ] None
>>> [java] JunitContainer.java:85 :INFO ] [JUNIT]
>>> ------------------------------------------------------------------
>>> [JUNIT]
>>> [java] JunitContainer.java:86 :INFO ] [JUNIT]
>>> ---------------------------- FAILURES ----------------------------
>>> [JUNIT]
>>> [java] JunitContainer.java:89 :INFO ] None
>>> [java] JunitContainer.java:95 :INFO ] [JUNIT]
>>> ------------------------------------------------------------------
>>> [JUNIT]
>>> [java] Exception in thread "main"
>>> java.lang.IncompatibleClassChangeError: Found interface
>>> org.ofbiz.entity.GenericDelegator, but class was expected
>>> [java] at
>>> org.ofbiz.testtools.ModelTestSuite.<init>(ModelTestSuite.java:71)
>>> [java] at
>>> org.ofbiz.testtools.JunitSuiteWrapper.<init>(JunitSuiteWrapper.java:53)
>>> [java] at
>>> org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:110)
>>> [java] at
>>> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:101)
>>> [java] at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
>>> [java] at org.ofbiz.base.start.Start.startServer(Start.java:322)
>>> [java] at org.ofbiz.base.start.Start.start(Start.java:326)
>>> [java] at org.ofbiz.base.start.Start.main(Start.java:409)
>>>
>>> I guess it's related to Adrian's recent changes
>>>
>>> Jacques
>>>
>>>
>>
>
>