You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-user@db.apache.org by Matthias Klein <ma...@cmklein.de> on 2006/05/25 20:42:44 UTC

Force maven to re-generate OM

When I call "maven torque" to generate my OM classes, I keep getting a
message such as

"Schema files have not changed since last generation"

Sometimes that is untrue, though, and in some cases I have deleted the OM
directory manually - but maven refuses to re-generate it.

How can I force maven to generate _everything_?

Thanks

Matt


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Re: Force maven to re-generate OM

Posted by Chong Yoke Ping <ch...@gmail.com>.
In your project.properties file, you can add the following lines:

#Setting this property to false will cause torque to generate om even if 
there are no change to the schema file
torque.runOnlyOnSchemaChange=false

Regards,
Yoke Ping

Matthias Klein wrote:
> That was the workaround I used after all.
> But I prefer the use of an explicit parameter forcing maven to start the
> building process from scratch.
>
>
> Am Do, 25.05.2006, 20:58, schrieb Patrick Carl:
>   
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>>
>> Hi,
>>
>>
>> Matthias Klein schrieb
>>
>>     
>>> ...
>>> How can I force maven to generate _everything_?
>>>
>>>
>>>       
>> What a about a touch on the schema file or save it again without change?
>>
>>
>> Patrick
>>
>>     
>>> Thanks
>>>
>>>
>>> Matt
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
>>> For additional commands, e-mail: torque-user-help@db.apache.org
>>>
>>>
>>>       
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.2 (MingW32)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>
>>
>> iD8DBQFEdf5w23wYl0Uc9JgRAm7OAKCpcqWgu60Bp2qr1WaB0S5EP/5xFACeNTL6
>> gonQzoY50FfJgnvn+Oyb7Rs= =0YDj
>> -----END PGP SIGNATURE-----
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
>> For additional commands, e-mail: torque-user-help@db.apache.org
>>
>>
>>
>>     
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
>
>
>   



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Re: Force maven to re-generate OM

Posted by Matthias Klein <ma...@cmklein.de>.
That was the workaround I used after all.
But I prefer the use of an explicit parameter forcing maven to start the
building process from scratch.


Am Do, 25.05.2006, 20:58, schrieb Patrick Carl:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> Hi,
>
>
> Matthias Klein schrieb
>
>> ...
>> How can I force maven to generate _everything_?
>>
>>
> What a about a touch on the schema file or save it again without change?
>
>
> Patrick
>
>> Thanks
>>
>>
>> Matt
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
>> For additional commands, e-mail: torque-user-help@db.apache.org
>>
>>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
>
> iD8DBQFEdf5w23wYl0Uc9JgRAm7OAKCpcqWgu60Bp2qr1WaB0S5EP/5xFACeNTL6
> gonQzoY50FfJgnvn+Oyb7Rs= =0YDj
> -----END PGP SIGNATURE-----
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Re: Force maven to re-generate OM

Posted by Patrick Carl <pa...@web.de>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Matthias Klein schrieb
> ...
> How can I force maven to generate _everything_?
> 
What a about a touch on the schema file or save it again without change?

Patrick
> Thanks
> 
> Matt
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEdf5w23wYl0Uc9JgRAm7OAKCpcqWgu60Bp2qr1WaB0S5EP/5xFACeNTL6
gonQzoY50FfJgnvn+Oyb7Rs=
=0YDj
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org