You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by George Allaman <ge...@skyelou.com> on 2002/12/23 09:00:49 UTC
ant init uses unix extensions on windows
When I run ant init on windows XP I get:
******************************
Buildfile: build.xml
init:
init-tasks:
set-os:
set-windows2000:
set-windowsNT:
set-windows98:
set-unix:
unix-ext:
windows-ext:
ext:
[echo] Platform = unix
[echo] Extension = sh
create-database:
[echo] create-database.sh
[torque-create-db]
D:\Apache\turbine-2.2\tdk\webapps\STTRegistry\WEB-INF\src\sql
\create-database.sh
BUILD FAILED
D:\Apache\turbine-2.2\tdk\webapps\STTRegistry\WEB-INF\build\build.xml:119:
Execu
te failed: java.io.IOException: CreateProcess:
..\src\sql\create-database.sh err
or=193
Total time: 1 second
***********************************************
For some reason the platform is set to unix and the extension to sh
although it should be windows and bat. I've combed the Ant and TDK files
for where $platform is set to to avail. I did find in the strange
GETTING_STARTED.txt file a reference to the properties targetPlatform
and targetPlatformExt, but I cannot determine where these should be set
- setting them in build.properties doesn't work.
Has anybody else found a fix for this?
--
George Allaman
Denver, Colorado
303 466 2114
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>