Hi Binh, I build it with jdk1.6 last time. they both should be fine.
I didn't see your attachment here, could you file a jira, and then attach your error report. BTW, what OS are you using? Regards Jeff On Wed, Apr 7, 2010 at 3:35 AM, Bi Be <[email protected]> wrote: > Hi Jeff, > > I have just compiled ode2 trunk code with both Jdk1.5 and Jdk1.6 (because I > don't know which one is the best) and both have errors, that I attach them > here. Please take a look at them and let me know your opinions. > > Thank you very much. > Regards, > Binh. > > > > > On Tue, Apr 6, 2010 at 2:30 PM, Jeff Yu <[email protected]> wrote: > >> +1. >> >> I've just run the maven build against ode 2 trunk code, it works great. >> >> Regards >> Jeff >> >> On Mon, Apr 5, 2010 at 9:13 PM, Terry Mueller <[email protected] >> >wrote: >> >> > Hi Binh, >> > >> > Please post the contents of >> > >> > >> scheduler-simple/target/surefire-reports/TEST-org.apache.ode.scheduler.simple.SchedulerThreadTest.xml >> > so we can see more details about the error. I've just updated to the >> latest >> > from http://svn.apache.org/repos/asf/ode/trunk and the unit tests pass >> for >> > me, but this isn't helpful for you... >> > >> > You can skip tests by running: mvn *-Dmaven.test.skip=true* install >> > >> > (You might find the Maven >> > FAQ<http://maven.apache.org/general.html#skip-test>useful for this and >> > other Maven-related questions.) >> > >> > Regards, >> > Terry >> > >> > >> > On 2 April 2010 23:51, Bi Be <[email protected]> wrote: >> > >> > > Hi all, >> > > >> > > When I am using mvn and Java 1.6 to build the source of the current >> ODE >> > 2, >> > > the following error occurs: >> > > >> > > ... >> > > [INFO] Building ODE :: BPEL Scheduler Simple >> > > [INFO] task-segment: [install] >> > > [INFO] >> > > >> ------------------------------------------------------------------------ >> > > [INFO] [resources:resources {execution: default-resources}] >> > > [WARNING] Using platform encoding (UTF-8 actually) to copy filtered >> > > resources, i.e. build is platform dependent! >> > > [INFO] Copying 1 resource >> > > [INFO] [compiler:compile {execution: default-compile}] >> > > [INFO] Nothing to compile - all classes are up to date >> > > [INFO] [resources:testResources {execution: default-testResources}] >> > > [WARNING] Using platform encoding (UTF-8 actually) to copy filtered >> > > resources, i.e. build is platform dependent! >> > > [INFO] Copying 7 resources >> > > [INFO] [compiler:testCompile {execution: default-testCompile}] >> > > [INFO] Nothing to compile - all classes are up to date >> > > [INFO] [surefire:test {execution: default-test}] >> > > [INFO] Surefire report directory: >> > > >> > > >> > >> /home/binh/.local/share/Trash/files/ode-source-1.3.x/scheduler-simple/target/surefire-reports >> > > >> > > ------------------------------------------------------- >> > > T E S T S >> > > ------------------------------------------------------- >> > > Running org.apache.ode.scheduler.simple.SchedulerThreadTest >> > > Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.373 >> sec >> > > <<< FAILURE! >> > > Running org.apache.ode.scheduler.simple.SimpleSchedulerTest >> > > Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.373 >> sec >> > > Running org.apache.ode.scheduler.simple.RetriesTest >> > > DEBUG - GeronimoLog.debug(66) | retrying 1 >> > > ERROR - GeronimoLog.error(104) | Error while processing transaction, >> > > retrying in 1s >> > > DEBUG - GeronimoLog.debug(66) | retrying 2 >> > > ERROR - GeronimoLog.error(104) | Error while processing transaction, >> > > retrying in 5s >> > > DEBUG - GeronimoLog.debug(66) | completing 3 >> > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.058 >> > sec >> > > Running org.apache.ode.scheduler.simple.JdbcDelegateTest >> > > Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.51 >> sec >> > > >> > > Results : >> > > >> > > Failed tests: >> > > >> testParallelEnqueue(org.apache.ode.scheduler.simple.SchedulerThreadTest) >> > > >> > > Tests run: 19, Failures: 1, Errors: 0, Skipped: 0 >> > > >> > > [INFO] >> > > >> ------------------------------------------------------------------------ >> > > [ERROR] BUILD FAILURE >> > > [INFO] >> > > >> ------------------------------------------------------------------------ >> > > [INFO] There are test failures. >> > > ... >> > > >> > > Could any one show me the reasons of this error, and how TESTS step >> can >> > be >> > > skipped when using mvn? >> > > >> > > Thank you. >> > > Regards, >> > > Binh. >> > > >> > >> >> >> >> -- >> Cheers, >> Jeff Yu >> >> ---------------- >> blog: http://jeff.familyyu.net >> > > -- Cheers, Jeff Yu ---------------- blog: http://jeff.familyyu.net
