Another verify error. I just had to deal with it in a different instance. It is build-related.
In my case the solution was to revert down from ant 1.4 to ant 1.3. Note that the TDK specifies ant 1.3a as a dependency. Are you building the demo app with ant 1.4? If so, try it with 1.3. Wojtek Rappak > -----Original Message----- > From: Stephen Haberman [mailto:[EMAIL PROTECTED]] > Sent: 20 June 2002 22:22 > To: 'Turbine Users List' > Subject: RE: build-torque.xml error > > > This happens a lot. Please search the archives and then let us know if > none of the archived solutions works for your situation. > > - Stephen > > > -----Original Message----- > > From: Bill Blackmon [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, June 20, 2002 2:56 PM > > To: Turbine Users List > > Subject: build-torque.xml error > > > > I'm attempting to build the TDK demo app. The ant init command is > crashing > > here on the build-torque.xml > > file: > > > > <<<<< build-torque.xml >>>>>>>>>>>>> > > <torque-create-db > > controlTemplate="sql/db-init/Control.vm" > > outputDirectory="${torque.home}/${outputDirectory}/sql" > > targetDatabase="${database}" > > # 587 useClasspath="true" > > outputFile="create-db.sql"> > > <fileset dir="${torque.home}/${schemaDirectory}"> > > <include name="*-schema.xml"/> > > </fileset> > > </torque-create-db> > > > > <<<<<< ERROR MESSAGE >>> > > > > C:\tdk\webapps\turbine\WEB-INF\build\build-torque.xml:587: Could not > create > > task of type: torque-create-db due to java.lang.VerifyError: (class: > > org/apache/velocity/texen/ant/TexenTask, method: setContextProperties > > signature: (Ljava/lang/String;)V) Incompatible type for getting or > setting > > field > > --- Nested Exception --- > > java.lang.VerifyError: (class: > org/apache/velocity/texen/ant/TexenTask, > > method: setContextProperties signature: (Ljava/lang/String;)V) > Incompatible > > type for getting or setting field > > > > <<<<<<<<<<< END ERROR >>>>>>>>>>>> > > > > Any ideas why this is happening? All of the target path variables > > (torque.home, outputDirectory, etc.) > > are defined. Which classpath does useClasspath refer to, or does it > refer to > > a classpath at all? I have been using the drivers for MySQL contained > in > > mm.mysql-2.0.4-bin.jar as opposed to the driver in mm.mysql-2.0.7 > > and my database is already designed, all I need is Connection Pooling. > Could > > the error be caused by the > > older version of the drivers? > > > > > > Thanks, > > Bill > > > > > > > > > > > > -- > > 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]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
