Thanks for the info - I did fix it by doing the same thing and neglected to write about my success.

I had the same VerifyError problem. Some searching of the archives led me to rename my Ant xerxes-something.jar to something else so Ant doesn't use that as an XML parser but uses something else. This fixed the problem. There was discussion of an incompatibility between certain versions of Ant and certain versions of Tomcat.

Good luck!

Wim Van Acker wrote:

Hi,

I noticed your question while looking for another problem. Seems I just "solved" it. The problem is that the build.xml is not aware of Windows XP. If go to the end of the build.xml and change it to the following (don't look at the formating, bad copy/paste)


<target name="set-windowsNT" depends="set-windows2000" if="isWindows NT">
<property name="is.Windows" value="true" />
</target>
<target name="set-windows2000" depends="set-windowsXP" if="isWindows 2000">
<property name="is.Windows" value="true" />
</target>
<target name="set-windowsXP" if="isWindows XP">
<property name="is.Windows" value="true" />
</target>


then it wil autodetect the XP os and set things to windows bat files.

Next problem : after changing the build.xml file, the good news is that my example database is created (using mysql) but the "ant init" breaks now with

BUILD FAILED
java.lang.VerifyError: (class: org/apache/turbine/torque/engine/database/transfo
rm/XmlToAppData, method: parseFile signature: (Ljava/lang/String;)Lorg/apache/tu
rbine/torque/engine/database/model/AppData;) Incompatible object argument for fu
nction call
at org.apache.turbine.torque.TorqueSQLTask.initControlContext(TorqueSQLT
ask.java:153)
at org.apache.velocity.texen.ant.TexenTask.execute(TexenTask.java)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:166)
at org.apache.tools.ant.Task.perform(Task.java:319)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:143)

Now I can't find the reason.
Do you or anyone else can help ?

Thanks,
Wim Van Acker







--
George Allaman
Denver, Colorado
303 466 2114



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to