Java Mailing List Archive

http://www.junlu.com/

Home » user.castor »

Re: [castor-user] How to setForce flag in castor maven plugin

Werner Guttmann

2010-03-17

Replies: Find Java Web Hosting

Author LoginPost Reply
Hi,

the corresponding parameter in the Maven plugin for Castor is 'warnings'
(the default of which is false). In other words, you should get this
behaviour by default with the maven plugin.

Cheers
Werner

On 17.03.2010 14:54, QkI wrote:
>
> Hi,
> ok, command line interface has it. Force flag means "Forces the source
> generator to suppress all non-fatal errors, such as overwriting pre-existing
> files.". Can I somehow achive the same effect when i'm using maven plugin ?
>
> Regards,
> Pawel
>
> Werner Guttmann-6 wrote:
>>
>> Hi,
>>
>> sorry, can you please be a bit more precise. Given that the
>> castor-maven-plugin interfaces with the XML SourceGenerator class (of
>> Ccastor XML), I am not sure what you are referring to. In other words,
>> there's no such method as
>>
>> SourceGenerator.setForce()
>>
>> Regards
>> Werner
>>
>> On 15.03.2010 10:11, QkI wrote:
>>>
>>> Hello,
>>> how to set force flag in castor maven plugin configuration. Is is
>>> possible?
>>>
>>> Regards,
>>> Pawel
>>
>> ---------------------------------------------------------------------
>> 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


©2008 junlu.com - Jax Systems, LLC, U.S.A.