Yes, I did set my database settings in build.properties. It seems like what I'm running into is a CLASSPATH problem, though.
Why can't that class be found? Thanks, Lee -------Original Message------- From: Marcel Bariou <[EMAIL PROTECTED]> Sent: 07/31/03 02:43 AM To: Turbine Users List <[EMAIL PROTECTED]> Subject: Re: Failure during ant init when bringing Turbine up > > hello Lee have you done your database setting , from webapps/YourApp/WEB-INF/build/build.properties ? Create your database and then You have to do something like that in the previous file (have a look to http://jakarta.apache.org/turbine/tdk/tdk-howto.html ): # ------------------------------------------------------------------- # # D A T A B A S E S E T T I N G S # # ------------------------------------------------------------------- database.name = hindex database = mysql createDatabaseUrl = jdbc:mysql://localhost/hindex buildDatabaseUrl = jdbc:mysql://localhost/hindex databaseUrl = jdbc:mysql://localhost/hindex databaseDriver = org.gjt.mm.mysql.Driver databaseUser = rootddbase databasePassword = %##564 databaseHost = localhost Marcel Le mer 30/07/2003 à 22:43, Lee Grey a écrit : > Hi. I'm trying to get Turbine set up for the first time on a Red Hat 7.3 box. I successfully ran through the TDK Howto on Windows yesterday, but I'm running into problems on Linux. The main difference between the two (other than the O/S) is that MySQL is running on a different machine in the Linux case. > > The output from the build is: > > > [EMAIL PROTECTED] build]$ ant init > Buildfile: build.xml > > check-webinf-exists: > > setup-webinf: > > init: > > setup: > > init-tasks: > > create-database: > > BUILD FAILED > file:/var/tdk-2.2/webapps/lee1/WEB-INF/build/build-torque.xml:91: taskdef class org.apache.torque.task.TorqueJDBCTransformTask cannot be found > > Total time: 7 seconds > [EMAIL PROTECTED] build]$ > > > I successfully ran ant in the tdk-2.2 directory first, and that had no errors. I see all the jars in lib. Any idea what's going wrong? It seems like a classpath problem, but that's not even part of the Howto instructions. > > Thanks, > Lee Grey > http://www.URLinOne.com > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
