I like to use the maven (1.x) console. However, I was noticing that the
Torque plugin really didn't like it when I ran the `clean` goal or
otherwise blew away the generated OM files after they'd already been
built. To get it to rebuild, I had to exit and re-enter the console.
Further investigation suggested that the torque:om and torque:sql goals
rely upon two properties to determine whether they should run.
Unfortunately, properties are immutable once they are set
(http://ant.apache.org/manual/CoreTasks/property.html). As a result,
once these goals are run, they cannot be run again.
Fortunately, Jelly provides a `remove` task which fixes this problem
nicely. In maven.xml:
[...]
Just thought I'd share...
Shane
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org