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
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
- ant init uses unix extensions on windows George Allaman
- Re: ant init uses unix extensions on windows Wim Van Acker
- Re: ant init uses unix extensions on windows George Allaman
