ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jackson, Douglas" <djack...@ugs.com>
Subject RE: source code build failure questions
Date Mon, 14 Jan 2008 16:48:21 GMT
Hi!
Below is the error I got with "rake test" this morning on the ode 1.1
source
from subversion and from the ode source download.  Let me know if you
need
any more information.
-Doug.

    [junit] Testsuite: org.apache.ode.bpel.runtime.ActivityRecoveryTest
    [junit] Tests run: 9, Failures: 0, Errors: 1, Time elapsed: 38.699
sec
    [junit]
    [junit] Testcase: testInvokeSucceeds took 11.11 sec
    [junit]     Caused an ERROR
    [junit] null
    [junit] java.lang.IndexOutOfBoundsException
    [junit]     at
org.apache.ode.bpel.pmapi.impl.TInstanceInfoListImpl.getInstanceInfoArra
y(TInstan
ceInfoListImpl.java:93)
    [junit]     at
org.apache.ode.bpel.runtime.ActivityRecoveryTest.lastInstance(ActivityRe
coveryTes
t.java:309)
    [junit]     at
org.apache.ode.bpel.runtime.ActivityRecoveryTest.testInvokeSucceeds(Acti
vityRecov
eryTest.java:84)
    [junit]     at
org.jmock.core.VerifyingTestCase.runBare(VerifyingTestCase.java:39)
    [junit]



-----Original Message-----
From: Alex Boisvert [mailto:boisvert@intalio.com] 
Sent: Friday, January 11, 2008 5:53 PM
To: user@ode.apache.org
Subject: Re: source code build failure questions

Hi Doug,

The compile errors you've seen are "expected", they are issued while
running
apt (the annotation processor) and are harmless.

The unit test failures however are interesting but I can't reproduce
them on
my machine.  Same for Matthieu who's sitting next to me.  Can you send
your
JUnit test reports?

alex


On 1/7/08, Jackson, Douglas <djackso2@ugs.com> wrote:
>
> Hi!
> I was able to build somewhat using that branch (i.e not a total
> failure).
> -Doug.
>
> I encountered some compiler errors:
>
D:/APACHE_ODE_1.1/APACHE_ODE_1.1/jacob/src/main/java/org/apache/ode/jaco
> b/examples/cell/CELL_.java:3
> 4: cannot find symbol
> symbol  : class CellChannel
> location: class org.apache.ode.jacob.examples.cell.CELL_<T>
>         private CellChannel _self;
>                 ^
>
D:/APACHE_ODE_1.1/APACHE_ODE_1.1/jacob/src/main/java/org/apache/ode/jaco
> b/examples/eratosthenes/Natu
> ralNumberStream.java:21: cannot find symbol
> symbol  : class SynchChannel
> location: package org.apache.ode.jacob
> import org.apache.ode.jacob.SynchChannel;
>                             ^
>
D:/APACHE_ODE_1.1/APACHE_ODE_1.1/bpel-runtime/src/main/java/org/apache/o
> de/bpel/engine/BpelRuntimeCo
> ntextImpl.java:79: cannot find symbol
> symbol  : class PickResponseChannel
> location: package org.apache.ode.bpel.runtime.channels
> import org.apache.ode.bpel.runtime.channels.PickResponseChannel;
>                                             ^
>
D:/APACHE_ODE_1.1/APACHE_ODE_1.1/bpel-runtime/src/main/java/org/apache/o
> de/bpel/engine/BpelRuntimeCo
> ntextImpl.java:80: cannot find symbol
> symbol  : class TimerResponseChannel
> location: package org.apache.ode.bpel.runtime.channels
> import org.apache.ode.bpel.runtime.channels.TimerResponseChannel;
>
> I also encountered some unit test failures:
>
> The following tests failed:
>     [junit] Testsuite:
> org.apache.ode.scheduler.simple.SchedulerThreadTest
>     [junit] Tests run: 3, Failures: 1, Errors: 0, Time elapsed: 3.531
> sec
>
> ...
>
>    [junit] junit.framework.AssertionFailedError: null
>    [junit]     at
>
org.apache.ode.scheduler.simple.SchedulerThreadTest.testParallelEnqueue(
> Scheduler
> hreadTest.java:98)
>    [junit]
>
> ...
>
> org.apache.ode.scheduler.simple.SchedulerThreadTest
> rake aborted!
>
>
> -----Original Message-----
> From: Alex Boisvert [mailto:boisvert@intalio.com]
> Sent: Monday, January 07, 2008 1:24 PM
> To: user@ode.apache.org
> Subject: Re: source code build failure questions
>
>
> Can you try building the 1.1 branch?  (This is the current stable
> branch)
> http://svn.apache.org/repos/asf/ode/branches/APACHE_ODE_1.1
>
> alex
>
> Jackson, Douglas wrote:
> > Hi!
> > I cannot build the latest source with rake.  I was able to build
> > partially from the 1.1 source distribution.  With the 1.1 sources
the
> > unit tests fail and I cannot seem to generate an ode.war (no
> distro-axis
> > directory), and I search and cannot find any war files produced
> anywhere
> > in the ode source 1.1 directory.  I tried various targets...
> >
> > Here is what I see with latest:
> >
> > I just installed subversion:
> >
> > svn, version 1.4.5 (r25188)
> >    compiled Aug 22 2007, 20:49:04
> >
> > Checked out the ode sources:
> >
> > D:\ode-sources>svn checkout
http://svn.apache.org/repos/asf/ode/trunk
> > ode
> > ...
> >
> > Then tried to build:
> >
> > D:\ode-sources\ode>rake test
> > (in D:/ode-sources/ode)
> > rake aborted!
> > no such file to load -- buildr/antlr
> > D:/ode-sources/ode/rakefile:23
> >
> >
> > D:\ode-sources\ode>rake --trace install
> > (in D:/ode-sources/ode)
> > rake aborted!
> > no such file to load -- buildr/antlr
> > C:/apps/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
> > `gem_original_require'
> > C:/apps/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
> > `require'
> > D:/ode-sources/ode/rakefile:23
> > C:/apps/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1940:in
> > `load'
> > C:/apps/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1940:in
> > `raw_load_rakefile'
> > C:/apps/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1727:in
> > `load_rakefile'
> > C:/apps/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in
> > `standard_exception_handling'
> > C:/apps/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1726:in
> > `load_rakefile'
> > C:/apps/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1710:in
> `run'
> > C:/apps/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in
> > `standard_exception_handling'
> > C:/apps/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in
> `run'
> > C:/apps/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7
> > C:/apps/ruby/bin/rake.bat:20:in `load'
> > C:/apps/ruby/bin/rake.bat:20
> >
> >
> >
>
>

Mime
View raw message