You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Danie Roux <dr...@tuks.co.za> on 2003/02/24 20:30:33 UTC
org.apache.torque.task.TorqueJDBCTransformTask cannot be found
What follows is the exact steps I tried to get tdk2.2_01 working:
1) Extract tdk-2.2_01.tar.gz into /usr/local/turbine
2) Edit /usr/local/turbine/tdk-2.2/build.properties
Added "tdk.home = /usr/local/turbine/tdk-2.2"
Changed newapp to guestportal
3) Run ant
4) cd /usr/local/turbine/tdk-2.2/webapps/guestportal/WEB-INF/build
5) Edit build.properties in that directory
Add "tdk.home = /usr/local/turbine/tdk-2.2" at top of file.
Change database settings to look like this:
database.name = guestportal
database = mysql
databaseHost = localhost
databaseUrl = jdbc:mysql://${databaseHost}/${database.name}
createDatabaseUrl = ${databaseUrl}
buildDatabaseUrl = ${databaseUrl}
databaseDriver = org.gjt.mm.mysql.Driver
databaseUser = turbine
databasePassword = turbine
The mysql is configured correctly, because this works:
mysql guestportal -hlocalhost -uturbine -pturbine
6) Run ant init in the
/usr/local/turbine/tdk-2.2/webapps/guestportal/WEB-INF/build directory
The error I get is:
BUILD FAILED
file:/usr/local/turbine/tdk-2.2/webapps/guestportal/WEB-INF/build/build-torque.xml:91: taskdef class org.apache.torque.task.TorqueJDBCTransformTask cannot be found
Can someone please shed some light on this?
--
Danie Roux *shuffle* Adore Unix
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
Re: org.apache.torque.task.TorqueJDBCTransformTask cannot be found
Posted by Kasper Nielsen <ne...@kav.dk>.
try uncommenting
<taskdef
name="torque-jdbc-transform"
classpathref="torque-classpath"
classname="org.apache.torque.task.TorqueJDBCTransformTask"/>
in your build-torque.xml file.
- Kasper
Danie Roux wrote:
> What follows is the exact steps I tried to get tdk2.2_01 working:
>
> 1) Extract tdk-2.2_01.tar.gz into /usr/local/turbine
> 2) Edit /usr/local/turbine/tdk-2.2/build.properties
> Added "tdk.home = /usr/local/turbine/tdk-2.2"
> Changed newapp to guestportal
> 3) Run ant
> 4) cd /usr/local/turbine/tdk-2.2/webapps/guestportal/WEB-INF/build
> 5) Edit build.properties in that directory
> Add "tdk.home = /usr/local/turbine/tdk-2.2" at top of file.
>
> Change database settings to look like this:
>
> database.name = guestportal
> database = mysql
> databaseHost = localhost
> databaseUrl = jdbc:mysql://${databaseHost}/${database.name}
> createDatabaseUrl = ${databaseUrl}
> buildDatabaseUrl = ${databaseUrl}
> databaseDriver = org.gjt.mm.mysql.Driver
> databaseUser = turbine
> databasePassword = turbine
>
> The mysql is configured correctly, because this works:
> mysql guestportal -hlocalhost -uturbine -pturbine
>
> 6) Run ant init in the
> /usr/local/turbine/tdk-2.2/webapps/guestportal/WEB-INF/build directory
>
> The error I get is:
>
> BUILD FAILED
> file:/usr/local/turbine/tdk-2.2/webapps/guestportal/WEB-INF/build/build-torque.xml:91: taskdef class org.apache.torque.task.TorqueJDBCTransformTask cannot be found
>
> Can someone please shed some light on this?
>
> --
> Danie Roux *shuffle* Adore Unix
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
Re: org.apache.torque.task.TorqueJDBCTransformTask cannot be found
Posted by Danie Roux <dr...@tuks.co.za>.
I unpacked the tdk-2.2_01.tar.gz file. And torque-3.0.jar is in my
WEB-INF/lib directory.
On Tue, Feb 25, 2003 at 11:11:59AM +0100, Akmal Sarhan wrote:
> the torque version you should be using is 3.0, is this the one you have?
> Akmal
> ----- Original Message -----
> From: "Danie Roux" <dr...@tuks.co.za>
> To: "Turbine Users List" <tu...@jakarta.apache.org>
> Sent: Tuesday, February 25, 2003 10:32 AM
> Subject: Re: org.apache.torque.task.TorqueJDBCTransformTask cannot be found
>
>
> > That is already there.
> >
> > On Tue, Feb 25, 2003 at 08:36:35AM +0100, Xavier Ottolini wrote:
> > > Try to add this in the build.properties;
> > >
> > > # added by mycompany
> > > tdk.turbineVersion = 2
> > > tdk.project = guestportal
> > >
> > > Bonne chance !
> > >
> > > Xavier
> > >
> > > Danie Roux wrote:
> > >
> > > >What follows is the exact steps I tried to get tdk2.2_01 working:
> > > >
> > > >1) Extract tdk-2.2_01.tar.gz into /usr/local/turbine
> > > >2) Edit /usr/local/turbine/tdk-2.2/build.properties
> > > > Added "tdk.home = /usr/local/turbine/tdk-2.2"
> > > > Changed newapp to guestportal
> > > >3) Run ant
> > > >4) cd /usr/local/turbine/tdk-2.2/webapps/guestportal/WEB-INF/build
> > > >5) Edit build.properties in that directory
> > > > Add "tdk.home = /usr/local/turbine/tdk-2.2" at top of file.
> > > >
> > > > Change database settings to look like this:
> > > >
> > > > database.name = guestportal
> > > > database = mysql
> > > > databaseHost = localhost
> > > > databaseUrl = jdbc:mysql://${databaseHost}/${database.name}
> > > > createDatabaseUrl = ${databaseUrl}
> > > > buildDatabaseUrl = ${databaseUrl}
> > > > databaseDriver = org.gjt.mm.mysql.Driver
> > > > databaseUser = turbine
> > > > databasePassword = turbine
> > > >
> > > > The mysql is configured correctly, because this works:
> > > > mysql guestportal -hlocalhost -uturbine -pturbine
> > > >
> > > >6) Run ant init in the
> > > > /usr/local/turbine/tdk-2.2/webapps/guestportal/WEB-INF/build
> directory
> > > >
> > > >The error I get is:
> > > >
> > > >BUILD FAILED
> > >
> >file:/usr/local/turbine/tdk-2.2/webapps/guestportal/WEB-INF/build/build-tor
> que.xml:91: taskdef class org.apache.torque.task.TorqueJDBCTransformTask
> cannot be found
> > > >
> > > >Can someone please shed some light on this?
> > > >
> > > >--
> > > >Danie Roux *shuffle* Adore Unix
> > > >
> > > >
> > > >---------------------------------------------------------------------
> > > >To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> > > >For additional commands, e-mail: turbine-user-help@jakarta.apache.org
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: turbine-user-help@jakarta.apache.org
> > >
> > >
> > >
> >
> > --
> > Danie Roux *shuffle* Adore Unix
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: turbine-user-help@jakarta.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>
>
>
--
Danie Roux *shuffle* Adore Unix
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
Re: org.apache.torque.task.TorqueJDBCTransformTask cannot be found
Posted by Akmal Sarhan <as...@byteaction.de>.
the torque version you should be using is 3.0, is this the one you have?
Akmal
----- Original Message -----
From: "Danie Roux" <dr...@tuks.co.za>
To: "Turbine Users List" <tu...@jakarta.apache.org>
Sent: Tuesday, February 25, 2003 10:32 AM
Subject: Re: org.apache.torque.task.TorqueJDBCTransformTask cannot be found
> That is already there.
>
> On Tue, Feb 25, 2003 at 08:36:35AM +0100, Xavier Ottolini wrote:
> > Try to add this in the build.properties;
> >
> > # added by mycompany
> > tdk.turbineVersion = 2
> > tdk.project = guestportal
> >
> > Bonne chance !
> >
> > Xavier
> >
> > Danie Roux wrote:
> >
> > >What follows is the exact steps I tried to get tdk2.2_01 working:
> > >
> > >1) Extract tdk-2.2_01.tar.gz into /usr/local/turbine
> > >2) Edit /usr/local/turbine/tdk-2.2/build.properties
> > > Added "tdk.home = /usr/local/turbine/tdk-2.2"
> > > Changed newapp to guestportal
> > >3) Run ant
> > >4) cd /usr/local/turbine/tdk-2.2/webapps/guestportal/WEB-INF/build
> > >5) Edit build.properties in that directory
> > > Add "tdk.home = /usr/local/turbine/tdk-2.2" at top of file.
> > >
> > > Change database settings to look like this:
> > >
> > > database.name = guestportal
> > > database = mysql
> > > databaseHost = localhost
> > > databaseUrl = jdbc:mysql://${databaseHost}/${database.name}
> > > createDatabaseUrl = ${databaseUrl}
> > > buildDatabaseUrl = ${databaseUrl}
> > > databaseDriver = org.gjt.mm.mysql.Driver
> > > databaseUser = turbine
> > > databasePassword = turbine
> > >
> > > The mysql is configured correctly, because this works:
> > > mysql guestportal -hlocalhost -uturbine -pturbine
> > >
> > >6) Run ant init in the
> > > /usr/local/turbine/tdk-2.2/webapps/guestportal/WEB-INF/build
directory
> > >
> > >The error I get is:
> > >
> > >BUILD FAILED
> >
>file:/usr/local/turbine/tdk-2.2/webapps/guestportal/WEB-INF/build/build-tor
que.xml:91: taskdef class org.apache.torque.task.TorqueJDBCTransformTask
cannot be found
> > >
> > >Can someone please shed some light on this?
> > >
> > >--
> > >Danie Roux *shuffle* Adore Unix
> > >
> > >
> > >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> > >For additional commands, e-mail: turbine-user-help@jakarta.apache.org
> > >
> > >
> > >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: turbine-user-help@jakarta.apache.org
> >
> >
> >
>
> --
> Danie Roux *shuffle* Adore Unix
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
Re: org.apache.torque.task.TorqueJDBCTransformTask cannot be found
Posted by Danie Roux <dr...@tuks.co.za>.
That is already there.
On Tue, Feb 25, 2003 at 08:36:35AM +0100, Xavier Ottolini wrote:
> Try to add this in the build.properties;
>
> # added by mycompany
> tdk.turbineVersion = 2
> tdk.project = guestportal
>
> Bonne chance !
>
> Xavier
>
> Danie Roux wrote:
>
> >What follows is the exact steps I tried to get tdk2.2_01 working:
> >
> >1) Extract tdk-2.2_01.tar.gz into /usr/local/turbine
> >2) Edit /usr/local/turbine/tdk-2.2/build.properties
> > Added "tdk.home = /usr/local/turbine/tdk-2.2"
> > Changed newapp to guestportal
> >3) Run ant
> >4) cd /usr/local/turbine/tdk-2.2/webapps/guestportal/WEB-INF/build
> >5) Edit build.properties in that directory
> > Add "tdk.home = /usr/local/turbine/tdk-2.2" at top of file.
> >
> > Change database settings to look like this:
> >
> > database.name = guestportal
> > database = mysql
> > databaseHost = localhost
> > databaseUrl = jdbc:mysql://${databaseHost}/${database.name}
> > createDatabaseUrl = ${databaseUrl}
> > buildDatabaseUrl = ${databaseUrl}
> > databaseDriver = org.gjt.mm.mysql.Driver
> > databaseUser = turbine
> > databasePassword = turbine
> >
> > The mysql is configured correctly, because this works:
> > mysql guestportal -hlocalhost -uturbine -pturbine
> >
> >6) Run ant init in the
> > /usr/local/turbine/tdk-2.2/webapps/guestportal/WEB-INF/build directory
> >
> >The error I get is:
> >
> >BUILD FAILED
> >file:/usr/local/turbine/tdk-2.2/webapps/guestportal/WEB-INF/build/build-torque.xml:91: taskdef class org.apache.torque.task.TorqueJDBCTransformTask cannot be found
> >
> >Can someone please shed some light on this?
> >
> >--
> >Danie Roux *shuffle* Adore Unix
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: turbine-user-help@jakarta.apache.org
> >
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>
>
>
--
Danie Roux *shuffle* Adore Unix
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
Re: org.apache.torque.task.TorqueJDBCTransformTask cannot be found
Posted by Xavier Ottolini <xa...@qualipse.fr>.
Try to add this in the build.properties;
# added by mycompany
tdk.turbineVersion = 2
tdk.project = guestportal
Bonne chance !
Xavier
Danie Roux wrote:
>What follows is the exact steps I tried to get tdk2.2_01 working:
>
>1) Extract tdk-2.2_01.tar.gz into /usr/local/turbine
>2) Edit /usr/local/turbine/tdk-2.2/build.properties
> Added "tdk.home = /usr/local/turbine/tdk-2.2"
> Changed newapp to guestportal
>3) Run ant
>4) cd /usr/local/turbine/tdk-2.2/webapps/guestportal/WEB-INF/build
>5) Edit build.properties in that directory
> Add "tdk.home = /usr/local/turbine/tdk-2.2" at top of file.
>
> Change database settings to look like this:
>
> database.name = guestportal
> database = mysql
> databaseHost = localhost
> databaseUrl = jdbc:mysql://${databaseHost}/${database.name}
> createDatabaseUrl = ${databaseUrl}
> buildDatabaseUrl = ${databaseUrl}
> databaseDriver = org.gjt.mm.mysql.Driver
> databaseUser = turbine
> databasePassword = turbine
>
> The mysql is configured correctly, because this works:
> mysql guestportal -hlocalhost -uturbine -pturbine
>
>6) Run ant init in the
> /usr/local/turbine/tdk-2.2/webapps/guestportal/WEB-INF/build directory
>
>The error I get is:
>
>BUILD FAILED
>file:/usr/local/turbine/tdk-2.2/webapps/guestportal/WEB-INF/build/build-torque.xml:91: taskdef class org.apache.torque.task.TorqueJDBCTransformTask cannot be found
>
>Can someone please shed some light on this?
>
>--
>Danie Roux *shuffle* Adore Unix
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org