db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Spencer <adspen...@yahoo.com>
Subject Re: Error executing 'maven torque'. Xerces class not found
Date Thu, 07 Jul 2005 21:53:06 GMT
To make matters worse, it is stated that you may still
build using ANT and the build-torque.xml file that is
included in the distribution but that file isn't
actually included in the distribution at all!  Of
course, my old build-torque.xml file doesn't work

"If you are yet to jump aboard the Maven ship you can
download the torque-gen archive and make use of the
Ant build file build-torque.xml contained therein"

So I eventually did find that it existed in Torque
version 3.1.  But alas, it breaks :

Resource not found. F
or more information consult the velocity log, or
invoke ant with the -debug flag"

Anyway, I'd really rather get this thing running with

--- Alvaro Coronel <alvarocoronel67@yahoo.com> wrote:

> Please don't misunderstand me. I am not complaining,
> I just want to share this as useful feedback for the
> folks that distribute Torque (a tool I use and like
> a lot).
> I had too many problems with the maven build. It
> retrieved a lot of jars by itself, but some others
> it couldn't find. 
> Of those it couldn't find, some I found manually,
> some I wasn't able to find.
> Anyway, I didn't know where to put the ones I found.
> Putting them in the classpath didn't help, and maven
> wouldn't say where it was searching.
> I finally quit in frustration. I just wanted to use
> a more up to date torque, not to become an expert in
> maven.
> I could Read The Fine Material available for Maven -
> if it was accessible and clear.
> Unfortunately, there wasn't an integrated search for
> Maven docs. and I spent time trying to figure out
> where Maven's repository was without success.
> Since it also was inconvenient to learn a new build
> tool, unsupported by my environment, I decided to
> call it off and make do without a newer Torque
> release. After all, what I wanted to do was
> developing an app., not use Maven!
> I know this won't help you Anthony, but I also
> thought it would be good for the guys that work
> developing Torque how some decisions impact users
> like me.
> Best regards to everyone,
> Álvaro Coronel.
> Anthony Spencer <adspencer@yahoo.com> wrote:
> I am upgrading from an old version of Torque to the
> latest stable release. So I've always used ANT to
> build my object model. I installed maven and
> downloaded the maven torque plugin per the
> documentation. However, when I execute 'maven
> torque'
> I get the following error:
> File...... C:\Documents and
> Settings\tspencer\.maven\cache\maven-torque-plugin-3
> .1.1\plugin.jelly
> Element... taskdef
> Line...... 87
> Column.... -1
> taskdef A class needed by class
> org.apache.torque.task.TorqueJDBCTransformTask c
> annot be found:
> org/apache/xerces/dom/CoreDocumentImpl
> I have all the Torque dependencies in my classpath
> including xercesImpl-2.4.0.jar.
> Running:
> JDK 1.4.2
> Torque 3.1.1
> Any help GREATLY appreciated.
> Tony - Maven newbie
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> To unsubscribe, e-mail:
> torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail:
> torque-user-help@db.apache.org
> ---------------------------------
>  Sell on Yahoo! Auctions  - No fees. Bid on great

Sell on Yahoo! Auctions – no fees. Bid on great items.  

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

View raw message