In my lib folder for torque-3.0-rc1, I have ant-1.5.jar, your errors are task related, I would suggest using ant-1.5.
Steve > -----Original Message----- > From: Anmol Khanna [mailto:anmol.k@;jabmail.com] > Sent: Tuesday, November 12, 2002 2:05 AM > To: Turbine Torque Users List > Subject: java.lang.VerifyError - Problem using torque-3.0-rc1 > > > Hi, > My application uses torque-3-b2 and I want to upgrade to torque 3-rc1 > > I get an exception when I try to create database. > I have searched the archives and as suggested in some responses I use: > javac (version -1.4) , ant 1.3 and xerces 2.0.2 (only 1 version). > > Could not create task of type: torque-create-db due to > java.lang.VerifyError: (class: org/ > apache/velocity/texen/ant/TexenTask, method: setTemplatePath signature: > (Ljava/l > ang/String;)V) Incompatible type for getting or setting field > --- Nested Exception --- > java.lang.VerifyError: (class: org/apache/velocity/texen/ant/TexenTask, > method: > setTemplatePath signature: (Ljava/lang/String;)V) Incompatible type for > getting > or setting field > at java.lang.Class.getDeclaredConstructors0(Native Method) > at java.lang.Class.privateGetDeclaredConstructors(Class.java:1576) > at java.lang.Class.getConstructor0(Class.java:1748) > at java.lang.Class.newInstance0(Class.java:266) > at java.lang.Class.newInstance(Class.java:249) > at org.apache.tools.ant.Project.createTask(Project.java:439) > at > org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.jav > a:83) > at org.apache.tools.ant.Target.execute(Target.java:152) > at org.apache.tools.ant.Project.runTarget(Project.java:898) > at org.apache.tools.ant.Project.executeTarget(Project.java:536) > at org.apache.tools.ant.Project.executeTargets(Project.java:510) > at org.apache.tools.ant.Main.runBuild(Main.java:421) > at org.apache.tools.ant.Main.main(Main.java:149) > > > Ant 1.3 does not support some features that are supported by ant 1.4 > (fileset in touch, conditions ). I > Are there any plans to fix the problem that causes the torque > build to fail > with ant 1.4? > > > Regards, > Anmol > > > -- > To unsubscribe, e-mail: > <mailto:turbine-torque-user-unsubscribe@;jakarta.apache.org> > For additional commands, e-mail: > <mailto:turbine-torque-user-help@;jakarta.apache.org> > > -- To unsubscribe, e-mail: <mailto:turbine-torque-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:turbine-torque-user-help@;jakarta.apache.org>
