I'm already doing this just by checking for the generation file that Torque spits out when it generates the OM classes. The Fulcrum build is doing it as well, although it might be broken right now. Look at Fulcrum's Maven.xml to see how it's doing it.
-Kurt On Wed, 21 Aug 2002, Stephen Haberman wrote: > The use case is that I can tie it into the mavenized build process, e.g. > in a preGoal for java:compile, so that it executes build-torque.xml/main > every time you run maven. > > It saves you from generate the sql/om during each build, which is > obviously bad, but gives the benefit of automatically regenerating the > sql/java source code each time you update the schema. > > I think it's pretty cool. Eventually this would work into the maven > plugin, I would think. > > - Stephen > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
