Hi Adriano,

All projects (or most of them atleast) in tuscany have unit tests that are
executed as part of the project build.  The project is compiled first and
then the unit tests are run.  So, while building a project you might end up
with either compilation errors or errors because some unit tests have
failed.

The failure that you are experiencing here is to do with failure of some
unit tests.  Looking at the stack you have provided I am not able to make
out much (maybe somebody else will be).  If you can provide a little more of
the stack - typically the messages related to the Tests it would help.

Meanwhile, you can go ahead an build all of tuscany without getting
interrupted with these breaks by using the "-fae" (fail at end) option.
This options takes the build forward for all projects and finally reports
the projects that have failed.

- Venkat

On 10/17/06, Adriano Crestani <[EMAIL PROTECTED]> wrote:

I finally could import the project into the eclipse and I've also set the
variable M2_REPO and it seems to be working. But when I tried to compile
the
entire project I got some errors like missing classes, for example the
org.apache.tuscany.binding.axis2.AbstractMessageReceiver. So I executed
the
mvn again to check if there was missing any dependency file and I got this
failure:

Running
org.apache.tuscany.core.implementation.processor.HeuristicAndPropertyTes
tCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec

Results :

Tests in error:
  testBoot1Load(org.apache.tuscany.core.deployer.BootstrapDeployerTestCase
)
  testBoot1Deployment(
org.apache.tuscany.core.deployer.BootstrapDeployerTestCase
)
  testBoot2Deployment(
org.apache.tuscany.core.deployer.BootstrapDeployerTestCase
)
  testRegistrationWithoutGenerics(
org.apache.tuscany.core.builder.BuilderRegistr
yTestCase)
  testDeployerBootstrap(
org.apache.tuscany.core.bootstrap.BootstrapperTestCase)
  testBuildConnect(
org.apache.tuscany.core.implementation.composite.CompositeBui
lderTestCase)

Tests run: 449, Failures: 0, Errors: 6, Skipped: 0

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 minutes 38 seconds
[INFO] Finished at: Tue Oct 17 03:46:03 GMT-04:00 2006
[INFO] Final Memory: 19M/37M
[INFO]
------------------------------------------------------------------------

I don't know if this failure has something to do with the missing classes,
but I need to solve this failure before compile all the project. Can
anybody
help me with that?

Adriano Crestani


Reply via email to