Hi Ralf,

'mvn install' is failing at the following. I am using windows though.

Results :

Tests in error:
  initializationError0(org.castor.cpa.test.test19.TestInstanceFactory$1)
  initializationError1(org.castor.cpa.test.test19.TestInstanceFactory$1)

Tests run: 245, Failures: 0, Errors: 2, Skipped: 105

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.


Also the errors I mentioned previously persists in eclipse.

Regards, Ahmad

2009/5/22 Ralf Joachim <ralf.joac...@syscon.eu>

>  Hi Ahmad,
>
> can you checkout the latest changes from SVN and try the build once again.
>
> Having said that I can not reproduce this problem under Linux and I do not
> have an idea why junit or maven test collector behave different under
> Windows and Linux.
>
> Regards
> Ralf
>
>
> Ralf Joachim schrieb:
>
> Hi Ahmad,
>
> now I see what caused the failure of test16 and test19 that Werner reported
> earlier. Will fix that in some minutes.
>
> Regards
> Ralf
>
> Ahmad Hassan schrieb:
>
> Hi Ralf,
>
> I went into synchronous mode and run 'update all incoming changes'. After
> that 'mvn install' is giving the errors in the following tests
> Results :
>
> Tests in error:
>   initializationError0(org.castor.cpa.test.test16.NestedObject$Nested1)
>   initializationError0(org.castor.cpa.test.test16.NestedObject$Nested3)
>   initializationError0(org.castor.cpa.test.test16.NestedObject$Nested2)
>
> initializationError0(org.castor.cpa.test.test19.TestInstanceFactory$InternalCa
> llbackInterceptor)
>
> initializationError1(org.castor.cpa.test.test19.TestInstanceFactory$InternalCa
> llbackInterceptor)
>   initializationError0(org.castor.cpa.test.test19.TestInstanceFactory$1)
>   initializationError1(org.castor.cpa.test.test19.TestInstanceFactory$1)
>
> initializationError0(org.castor.cpa.test.test19.TestInstanceFactory$CallbacksI
> nvoked)
>
> initializationError1(org.castor.cpa.test.test19.TestInstanceFactory$CallbacksI
> nvoked)
>
> Tests run: 247, Failures: 0, Errors: 9, Skipped: 100
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] There are test failures.
>
>
> Additionaly, in eclipse I can see the following errors
>
> *Project 'castor' is missing required source folder:
> 'jdo-extensions-it/target/generated-sources/castor'*
> *Project 'castor' is missing required source folder:
> 'xmlctf-framework/target/generated-sources/castor'*
>
>
> Best Regards, Ahmad
>
> 2009/5/22 Ralf Joachim <ralf.joac...@syscon.eu> <ralf.joac...@syscon.eu>
>
>> Hi Ahmad,
>>
>> may it be possible that you have not checked out all changes from SVN?
>>
>> Regards
>> Ralf
>>
>> Ahmad Hassan schrieb:
>>
>> Hi Ralf,
>>
>> Thanks for the message. I ran 'mvn clean' and 'mvn install' on project
>> root but 'mvn install' is throwing the same error  as follows:
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Compilation failure
>>
>>
>> D:\ECLIPSE_PROJECTS\workspace\castor\cpa\src\main\java\org\exolab\castor\persist
>> \ClassMolder.java:[79,36] cannot find symbol
>> symbol  : class NamedNativeQuery
>> location: package org.exolab.castor.mapping.xml
>>
>> 'mvn install also cannot resolve this dependency.
>>
>> Best Regards, Ahmad
>>
>> 2009/5/22 Ralf Joachim <ralf.joac...@syscon.eu> <ralf.joac...@syscon.eu>
>>
>>> Hi Ahmad,
>>>
>>> some classes of Castor are generated during build. If one of the source
>>> files of generation (e.g. mapping.xsd) changes it may happen that new
>>> files are generated and you get compile failures until you execute build
>>> once again. org.exolab.castor.mapping.xml.NamedNativeQuery is one of
>>> those. After execution of 'mvn clean' and 'mvn install' on project root
>>> followed by a refresh of your eclipse project this errors should
>>> disapear.
>>>
>>> Regards
>>> Ralf
>>>
>>> Ahmad Hassan schrieb:
>>>  > Hi,
>>> >
>>> > I have just downloaded the updated ClassMolder class. There has been
>>> > new dependency added in this class and because of that I am getting
>>> > import error
>>> >
>>> > import org.exolab.castor.mapping.xml.NamedNativeQuery;
>>> >
>>> > Can someone please tell me how to resolve this new dependency.
>>> >
>>> > Thanks.
>>> >
>>> > --
>>> > Best Regards, Hassan
>>> >
>>> > Erasmus Student
>>> > Current Institute: University Of Carlos III, Madrid Spain
>>> > Previous Institute: Aristotle University of Thessaloniki, Greece
>>> > Home Institute: The University of Reading, UK
>>>  --
>>>
>>> Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
>>> Ralf Joachim
>>> Raiffeisenstraße 11
>>> 72127 Kusterdingen
>>> Germany
>>>
>>> Tel.   +49 7071 3690 52
>>> Mobil: +49 173 9630135
>>> Fax    +49 7071 3690 98
>>>
>>> Internet: www.syscon.eu
>>> E-Mail: ralf.joac...@syscon.eu
>>>
>>> Sitz der Gesellschaft: D-72127 Kusterdingen
>>> Registereintrag: Amtsgericht Stuttgart, HRB 382295
>>> Geschäftsleitung: Jens Joachim, Ralf Joachim
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe from this list, please visit:
>>>
>>>    http://xircles.codehaus.org/manage_email
>>>
>>>
>>>
>>
>>
>> --
>> Best Regards, Hassan
>>
>> Erasmus Student
>> Current Institute: University Of Carlos III, Madrid Spain
>> Previous Institute: Aristotle University of Thessaloniki, Greece
>> Home Institute: The University of Reading, UK
>>
>>
>>  --
>>
>> Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
>> Ralf Joachim
>> Raiffeisenstraße 11
>> 72127 Kusterdingen
>> Germany
>>
>> Tel.   +49 7071 3690 52
>> Mobil: +49 173 9630135
>> Fax    +49 7071 3690 98
>>
>> Internet: www.syscon.eu
>> E-Mail: ralf.joac...@syscon.eu
>>
>> Sitz der Gesellschaft: D-72127 Kusterdingen
>> Registereintrag: Amtsgericht Stuttgart, HRB 382295
>> Geschäftsleitung: Jens Joachim, Ralf Joachim
>>
>>  --------------------------------------------------------------------- To
>> unsubscribe from this list, please visit:
>> http://xircles.codehaus.org/manage_email
>>
>
>
>
> --
> Best Regards, Hassan
>
> Erasmus Student
> Current Institute: University Of Carlos III, Madrid Spain
> Previous Institute: Aristotle University of Thessaloniki, Greece
> Home Institute: The University of Reading, UK
>
>
> --
>
> Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
> Ralf Joachim
> Raiffeisenstraße 11
> 72127 Kusterdingen
> Germany
>
> Tel.   +49 7071 3690 52
> Mobil: +49 173 9630135
> Fax    +49 7071 3690 98
>
> Internet: www.syscon.eu
> E-Mail: ralf.joac...@syscon.eu
>
> Sitz der Gesellschaft: D-72127 Kusterdingen
> Registereintrag: Amtsgericht Stuttgart, HRB 382295
> Geschäftsleitung: Jens Joachim, Ralf Joachim
>
>
> --------------------------------------------------------------------- To
> unsubscribe from this list, please visit:
> http://xircles.codehaus.org/manage_email
>
>
> --
>
> Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
> Ralf Joachim
> Raiffeisenstraße 11
> 72127 Kusterdingen
> Germany
>
> Tel.   +49 7071 3690 52
> Mobil: +49 173 9630135
> Fax    +49 7071 3690 98
>
> Internet: www.syscon.eu
> E-Mail: ralf.joac...@syscon.eu
>
> Sitz der Gesellschaft: D-72127 Kusterdingen
> Registereintrag: Amtsgericht Stuttgart, HRB 382295
> Geschäftsleitung: Jens Joachim, Ralf Joachim
>
>  --------------------------------------------------------------------- To
> unsubscribe from this list, please visit:
> http://xircles.codehaus.org/manage_email
>



-- 
Best Regards, Hassan

Erasmus Student
Current Institute: University Of Carlos III, Madrid Spain
Previous Institute: Aristotle University of Thessaloniki, Greece
Home Institute: The University of Reading, UK

Reply via email to