Okay, so I fixed my problem by changing

TorqueObjectModelTask --> TorqueDataModelTask

It would seem that some of the build*.xml files are out of date in cvs.

So having made this change I was able to rebuild my project within the 
shell of the older torque, and all of my BaseXXXPeer classes have been 
updated.  Of course, all my code built on top of that has List/Vector 
conflicts ...

And the point of the Vector/List change was?  I mean seems like a lot of 
changes are going to have to be made in XXXPeer classes, for what 
benefit exactly?

CHEERS> SAM


Sam Joseph wrote:

> Ok, so I thought I'd try and check out the latest torque code to try 
> and sort out patches for GROUP BY and HAVING functionality.
>
> Got that all to work, but now I have the bigger problem that my 
> project that I created using torque has invalid BaseXXXPeer classes, 
> apparently due to this Vector --> List change.
>
> So I should be able to just rebuild all my base classes to take this 
> into account.  No such luck.
>
> Because when I try and regenerate my base classes using the new torque 
> code I get this
>
>
> project-om:
>     [echo] +------------------------------------------+
>     [echo] |                                          |
>     [echo] | Generating Peer-based Object Model for   |
>     [echo] | YOUR Turbine project! Woo hoo!           |
>     [echo] |                                          |
>     [echo] +------------------------------------------+
>
> BUILD FAILED
>
> C:\user\code\java\torque-ng\build.xml:420: taskdef class 
> org.apache.torque.task.TorqueObjectModelTask cannot be found
>
> and that's within the body of the torque I previously downloaded as a 
> jar file.
> It seems like the torque I previously used to build the project is now 
> out of date with the latest torque stuff.  Fine. So I should build my 
> project within the checked out torque directory, but the structure of 
> the directories now don't correspond to those in the tutorial, and it 
> is far from clear how I am supposed to build my own projects within 
> the new directory structure.
>
> After having tried various things I come up against the same error
>
> project-om-classpath:
>     [echo] +------------------------------------------+
>     [echo] |                                          |
>     [echo] | Generating Peer-based Object Model for   |
>     [echo] | YOUR Turbine project! Woo hoo!           |
>     [echo] |                                          |
>     [echo] +------------------------------------------+
>
> BUILD FAILED
>
> c:\user\code\java\torque-cvs\jakarta-turbine-torque\src\conf\build-torque.xml:498: 
> taskdef class org.apache.torque.task.TorqueObjectModelTask cannot be 
> found
>
> Which is extremely frustrating.  I was just trying to create a couple 
> of patches to add some functionality and now I find myself with my 
> project unable to work with the new torque model.
>
> Any help greatly appreciated
>
> CHEERS> SAM
>
>
> -- 
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
>
>
>




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to