Martin Poeschl wrote:
> Saimon Moore wrote:
> 
>> Hi,
>>
>> I've been following the Extending TurbineUser tutorial using martin's 
>> latest
>> tdk (with torque uncoupled-updated) and have followed it exactly to 
>> the point
>> where you must call 'ant init' to compile the files (i.e after 
>> creating the
>> mapbuilder, adapters and implementing retrieveByPK() methods..
>>
>> Unfortunately, I'm not having much luck in compiling. The errors are 
>> quite
>> disparate but all seem to point at the extended user files as being the
>> problem. I'm not quite sure if this is a problem with the latest tdk 
>> or if
>> I've done something wrong.
>>
>>  From what I can gather there are methods missing from both the 
>> basePeer and
>> the peer classes that the Manager class is looking for.
>>
>> Do I just implement all these methods or am I missing something..?
>>
>> I'd appreciate any help on this as I'd like to really get into Turbine 
>> again.
>>
>> Thanks
>>
>> Saimon
>>
>> Here are the compile errors...
>> compile:
>>    [javac] Compiling 125 source files to
>> /home/saimonm/development/tdkTDUpdate020302/webapps/didaxe/WEB-INF/classes 
>>
>>    [javac]
>> 
>/home/saimonm/development/tdkTDUpdate020302/webapps/didaxe/WEB-INF/src/java/org/sam/didaxe/om/BaseDidaxeUserManager.java:200:
> 
>>
>> incompatible types
>>    [javac] found   : org.apache.turbine.util.db.Criteria
>>    [javac] required: org.apache.torque.util.Criteria
>>    [javac]         Criteria crit = DidaxeUserPeer.buildCriteria(om);
> 
> 
> 
> turbine-2 security still uses the old torque (incl. old Criteria class)
> your generated om-classes use the decoupled torque ...
> 
> if we change the turbine-2 internal we will brake existing code ... i'll 
> try to find a solution for this problem
> 
> martin

it was too early in the morning yesterday ;-)

in tdk 2.2 will also use the decoupled fulcrum which uses the decoupled torque ... so 
just wait for 
the integration of fulcrum :-)

martin


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

Reply via email to