Check out: http://jakarta.apache.org/turbine/turbine-2.2.1/howto/extend-user-howto.html
HTH, Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au .Mac Chat/AIM: seade at mac dot com On 7/02/2003 9:54 AM, "Stuart Townhill" <[EMAIL PROTECTED]> wrote: > To anyone who can help, > > Am I right in thinking that the HowTo located at: > > http://jakarta.apache.org/turbine/turbine-2.2.0/howto/extend-user-howto. > html > > Applies to TDK2.1 and not TDK2.2 in the sense that Torque had now been > decoupled? > > For example the "TurbineMapBuilderAdapter": > > import org.apache.turbine.services.db.TurbineDB; > import org.apache.turbine.util.db.map.TableMap; > import org.apache.turbine.util.db.map.TurbineMapBuilder; > > would become: > import org.apache.torque.Torque; > import org.apache.torque.map.TableMap; > import org.apache.turbine.util.db.map.TurbineMapBuilder; > > > Secondly when the HowTo talks about implementing > "TurbineMapBuilderAdapter, TurbineUserAdapter & TurbineUserPeerAdapter" > I am presuming this means: > > TurbineMapBuilderAdapter > <root>/WEB-INF/classes/<org>/<mycompany>/<myapp>/om/map/ > TurbineMapBuilderAdapter.class > > TurbineUserAdapter > <root>/WEB-INF/classes/<org>/<mycompany>/<myapp>/om/ > TurbineUserAdapter.class > > TurbineUserPeerAdapter > <root>/WEB-INF/classes/<org>/<mycompany>/<myapp>/om/ > TurbineUserPeerAdapter.class > > And once I have edited "<myapp>-schema.xml & turbine-schema.xml" and > created the above files and executed the command 'ant init' it will > create all the relevant *.java files in the (<root>/WEB-INF/src/...) > directory and rebuild the database. > > Any help in clarifying this process would be much appreciated. > > Regards, > > Stuart Townhill. > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
