Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Maven / Torque Generator Classpath

 
   Web Hosting Problem Solving Community! (Home) -> Apache RSS
Next:  Torque Generator GUI/Case Tool  
Author Message
news82

External


Since: Nov 26, 2004
Posts: 4



(Msg. 1) Posted: Fri Nov 26, 2004 1:35 pm
Post subject: Maven / Torque Generator Classpath
Archived from groups: alt>apache>configuration (more info?)

Hello,

I try to make an XML dump of a oracle database schema with the Torque
Generator jakarta api.

But, I cannot find how use Torque Generator without Maven and I connot find
how to put the "classes12.jar" oracle JDBC Driver in the Maven classpath.

So, I get the following exception :

C:\JavaLib\jakarta\torque-gen\torque-gen-3.1.1\projectTest>maven
torque:datadump
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.1

build:start:

torque:init:

torque:datadump:
[torque-data-dump] Using classpath
[torque-data-dump] Generating to file
C:\JavaLib\jakarta\torque-gen\torque-gen-3.1.1\projectTest\target\report.bug.datadump.generation
[torque-data-dump] Torque - TorqueDataDump starting
[torque-data-dump] Your DB settings are:
[torque-data-dump] driver: oracle.jdbc.driver.OracleDriver
[torque-data-dump] URL: jdbc:oracle:thin:@192.168.0.101:1521:ORCL
[torque-data-dump] user: BUG
cannot load driver:
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
at
org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1075)
at
org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1036)
at
org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:925)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at
org.apache.torque.task.TorqueDataDumpTask.initControlContext(TorqueDataDumpTask.java:197)
at
org.apache.velocity.texen.ant.TexenTask.execute(TexenTask.java:480)
at org.apache.tools.ant.Task.perform(Task.java:341)
at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
at org.apache.maven.cli.App.doMain(App.java:488)
at org.apache.maven.cli.App.main(App.java:1239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
BUILD SUCCESSFUL
Total time: 6 seconds
Finished at: Mon Nov 22 12:20:01 CET 2004

Could someone help ?

Thank you.

 >> Stay informed about: Maven / Torque Generator Classpath 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2994



(Msg. 2) Posted: Fri Nov 26, 2004 1:35 pm
Post subject: Re: Maven / Torque Generator Classpath [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2004-11-26, G <news.TakeThisOut@gweb.be> wrote:
 > I try to make an XML dump of a oracle database schema with the Torque
 > Generator jakarta api.

You'll have more chance of an answer on a java related newsgroup,
or better, check the mailing list for Maven.

Davide

--
The United States of America: Screwing with the English Language for over
200 years. -- Mike Sphar<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Maven / Torque Generator Classpath 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Torque Generator GUI/Case Tool - Hello, Does anyone know if it exists any GUI or Case tool to render graphically Torque Generator database schema files ? Personnally, I think it is very quick et easy to design a database structure with XML Spy and XML Torque Generator files, but if th...

Ant build script - classpath - Hello, Apache Ant version 1.6.2 I have a problem with my Ant script. I create a classpath reference at the start of the script, like this: &lt;path id="classpath"&gt; &lt;pathelement location="/myjar.jar"/&a...

access log report generator? - I'm using webalizer and it works great, but I think that it only generates monthly reports. Often I'd like to see the last 50 accesses or the last 24 hours, etc. I'm not sure if webalizer can do that. Does anyone know of a script that can do that? ..

html stats page generator. - hello does anyone know of a good html stats generator for windows? i'd be interested to create a stats page for my archives, as it receives quite a lot of traffic. i'd like to create a stats page with as diverse statistics as possible. many thanks ..

Hotlinking - I have a free site on royalfreehost.com and I wanted to use some of the images on another site - which is hosted on a pay site - by using hotlinking (to reduce bandwidth, ok, I know it's naughty!) It worked at first. After a few days it stopped ..
   Web Hosting Problem Solving Community! (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]