db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Vandahl ...@apache.org>
Subject Re: To generate the Java OM classes from XML schema on the fly
Date Mon, 02 Mar 2009 20:37:56 GMT
Amarnath palavalli wrote:
> Hello,
> I am working on an application to use Torque to create XML schema from the
> existing database and then generate the Java OM classes from this schema on
> the fly. For this I don't want to use the Maven 2 build. Hence I referred to
> your JUnit case TorqueOMMojoTest.java and tried something similar like this:
> When I run the application I get the following exception:
> -----------------------------------------------------
> org.codehaus.plexus.component.repository.exception.ComponentLookupException:
> Unable to lookup component 'org.apache.maven.project.MavenProjectBuilder',

This wouldn't work because it requires the Maven-2 environment to run.
You can use the ant-tasks of the Torque generator instead.

Bye, Thomas.

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

View raw message