Re: [castor-dev] 'mvn compile' leads to a build error

Werner Guttmann <[email protected]> Mon, 05 Apr 2010 20:31:31 +0200
Newsgroups gmane.comp.java.castor.devel
Message-ID <[email protected]>
Hi Lukas,

I am getting the same problems. What I can see so far is that the 
classes generated within the jdo/jpa-extensions-it modules are generated 
using not the current released version, as they still have statements 
such as ...

         mapping.setAccess(ClassMappingAccessType.valueOf("shared"));

in the constructor code, which should really read ....

         mapping.setAccess(ClassMappingAccessType.fromValue("shared"));

instead. The code at JDOClassDescriptorFactory seems to be doing the 
correct thing, so it looks like classes are not generated against 
version 1.3.1 of Castor. Actually, they are not, as the generated 
classes refer to version 1.3.0.1 .. :(.

Thanks for your help ....

Werner


On 05.04.2010 20:07, Lukas Lang wrote:
> Hey all,
>
> I did a fresh checkout, cleaned my local Maven repository and was able to build Castor from scratch. Running the integration tests using profile "it" at least did not work for me. It seems like there is still a problem due to the dependency cycle in Castor Spring ORM ;-(
>
> I'll try to find some time and fix it on the weekend.
>
> Lukas
>
> Am 05.04.2010 um 19:51 schrieb Werner Guttmann:
>
>> Hi,
>>
>> I just committed new version numbers for those modules (1.3.2-SNAPSHOT), so manual patches should not be the issue anymore.
>>
>> Having said that, it seems like you are having a problem I (we) are not able to reproduce .. :-(. So let's ask the obvious questions:
>>
>> a) What Java version are you using ?
>> b) What Maven version are you using ?
>>
>> Cheers
>> Werner
>>
>> On 05.04.2010 12:52, Philipp Erlacher wrote:
>>> Hi Lukas,
>>>
>>> Thanks for the hint.
>>>
>>> I changed the parent artefact version in cpaptf, examples,
>>> jdo-extensions-it, jpa-extensions-it and the global pom.xml to
>>> "1.3.2-SNAPSHOT".
>>>
>>> This doesn't help me, I get same error.
>>>
>>> Cheers,
>>> Philipp
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe from this list, please visit:
>>>
>>>      http://xircles.codehaus.org/manage_email
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>      http://xircles.codehaus.org/manage_email
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email