Hmm - how do I make sure it has access to PropertyHelper?
Thank you for your help.
-Jon
jon$ maven -e torque:insert-sql
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
Our new url -> jdbc:mysql://localhost/bizdirectory
Executing file: /Users/jon/Documents/workspace/BizDirectory/target/sql/
id-table-schema.sql
BUILD FAILED
java.lang.NoClassDefFoundError: org/apache/tools/ant/PropertyHelper
at org.apache.torque.task.TorqueSQLExec.runStatements
(TorqueSQLExec.java:657)
at org.apache.torque.task.TorqueSQLExec$Transaction.runTransaction
(TorqueSQLExec.java:928)
at org.apache.torque.task.TorqueSQLExec$Transaction.access$000
(TorqueSQLExec.java:898)
at org.apache.torque.task.TorqueSQLExec.insertDatabaseSqlFiles
(TorqueSQLExec.java:573)
at org.apache.torque.task.TorqueSQLExec.execute(TorqueSQLExec.java:482)
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:597)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Caused by: java.lang.ClassNotFoundException:
org.apache.tools.ant.PropertyHelper
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:254)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:399)
... 23 more
File...... /Users/jon/.maven/cache/maven-torque-plugin-3.3/plugin.jelly
Element... torque-sql-exec
Line...... 542
Column.... 40
org/apache/tools/ant/PropertyHelper
Total time: 1 seconds
Finished at: Tue Oct 20 16:30:40 EDT 2009
On Oct 20, 2009, at 4:13 PM, Thomas Vandahl wrote:
Jon August wrote:
I don't remember setting the classpath before to use torque.
My shell's classpath is empty. I use Eclipse to link libraries and
compile...
The version of ant maven is calling is this:
jon$ ant -v
Apache Ant version 1.7.0 compiled on July 20 2009
I dimly remember version conflicts when seeing this class reference.
What does "maven -e ..." tell you?
Bye, Thomas
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscr...@db.apache.org
For additional commands, e-mail: torque-user-h...@db.apache.org