db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brent Atkins" <Brent.Atk...@Pro-Sys.biz>
Subject RE: CNE using maven-plugin from cvs
Date Mon, 14 Jun 2004 19:34:12 GMT
So you tried making the change to plug-in.jelly that I mentioned here
http://nagoya.apache.org/eyebrowse/ReadMsg?listName=torque-user@db.apache.org&msgNo=3443

and it didn't work?

What error message did you get?

-----Original Message-----
From: Rolf Kulemann [mailto:roku@apache.org]
Sent: Monday, June 14, 2004 3:05 PM
To: Apache Torque Users List
Subject: RE: CNE using maven-plugin from cvs


On Mon, 2004-06-14 at 20:40, Brent Atkins wrote:
> I posted a similar question a few months ago...
> http://nagoya.apache.org/eyebrowse/ReadMsg?listName=torque-user@db.apache.org&msgNo=3425
> 
> and found a solution that I posted here...
> http://nagoya.apache.org/eyebrowse/ReadMsg?listName=torque-user@db.apache.org&msgNo=3443
> 
> It may be a long shot, but hopefully the problem is similar.

Ok, that leads into a direction I already tried.

The following snippets of plugin.jelly seem relevent to me. The funny
thing is, even if I add my driver lib direct to the torque-classpath I
get the error.

 <path id="torque-classpath">
      <pathelement
path="${plugin.getDependencyPath('commons-collections')}"/>
      <pathelement path="${plugin.getDependencyPath('commons-lang')}"/>
      <pathelement path="${plugin.getDependencyPath('log4j')}"/>
      <pathelement path="${plugin.getDependencyPath('velocity')}"/>
      <pathelement path="${plugin.getDependencyPath('village')}"/>
      <pathelement path="${plugin.getDependencyPath('xercesImpl')}"/>
      <pathelement path="${plugin.getDependencyPath('xml-apis')}"/>
      <pathelement
path="${plugin.getDependencyPath('torque:torque-gen')}"/>
      <pathelement path="${pom.getDependencyClasspath()}"/>
      <path refid="maven.dependency.classpath"/>
    </path>


<taskdef
      name="torque-jdbc-transform"
      classpathref="torque-classpath"
      classname="org.apache.torque.task.TorqueJDBCTransformTask"/>


 <goal
    name="torque:jdbc"
    description="jdbc to xml"
    prereqs="torque:init">
                                                                                
    <torque-jdbc-transform
      dbDriver="${torque.database.driver}"
      dbPassword="${torque.database.password}"
      dbSchema="${torque.database.schema}"
      dbUrl="${torque.database.url}"
      dbUser="${torque.database.user}"
      outputFile="${torque.schema.dir}/schema.xml"
      sameJavaName="${torque.sameJavaName}"
    />
  </goal>


-- 
Rolf Kulemann


---------------------------------------------------------------------
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


Mime
View raw message