ReverseMappingTool: can I turn off the generation of orm.xml?

3 messages Options
Embed this post
Permalink
ljnelson

ReverseMappingTool: can I turn off the generation of orm.xml?

Reply Threaded More More options
Print post
Permalink
I was unable to figure out from the documentation here () how to turn off
the generation of the orm.xml file.

I don't actually care, but there seems to be a bug in the tool.  If I run
the mapper twice, it appears that the orm.xml file's being present on the
second run causes the tool to crash.  I'll detail this in another email,
but, quite frankly, I would prefer to use annotations anyhow.

Any help gratefully appreciated.

Best,
Laird
emiddio-verizon

Re: ReverseMappingTool: can I turn off the generation of orm.xml?

Reply Threaded More More options
Print post
Permalink
i find this also -- but the example - reversemapping build.xml tries to move
the orm.xml,

on win7 it can copy the file but the move does not delete it -- i added ant
target to
remove the file -- which works.


----- Original Message -----
From: "Laird Nelson" <[hidden email]>
To: <[hidden email]>
Sent: Wednesday, October 21, 2009 2:01 PM
Subject: ReverseMappingTool: can I turn off the generation of orm.xml?


>I was unable to figure out from the documentation here () how to turn off
> the generation of the orm.xml file.
>
> I don't actually care, but there seems to be a bug in the tool.  If I run
> the mapper twice, it appears that the orm.xml file's being present on the
> second run causes the tool to crash.  I'll detail this in another email,
> but, quite frankly, I would prefer to use annotations anyhow.
>
> Any help gratefully appreciated.
>
> Best,
> Laird
>

ljnelson

Re: ReverseMappingTool: can I turn off the generation of orm.xml?

Reply Threaded More More options
Print post
Permalink
On Wed, Oct 21, 2009 at 6:07 PM, emiddio-verizon [via OpenJPA] <[hidden email]> wrote:
i find this also -- but the example - reversemapping build.xml tries to move
the orm.xml,

Aha, solved the problem.  The "-metadata none" option suppresses the generation of the orm.xml file.

Best,
Laird