Wrongly detecting OS Platform

"Mohd Amin" <[email protected]> Tue, 26 Nov 2002 21:33:46 +0800
Newsgroups gmane.comp.jakarta.turbine.tdk.devel
Message-ID <[email protected]>
------=_NextPart_000_00AB_01C29593.8009C410
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

Currently using Windows XP. Have not been successful in running the ant =
init in .\tdk\webapps\newapp\WEB-INF\build

it detects the OS as Unix and creates a .sh file

Command line output
---------------------------------------
Buildfile: build.xml

init:

init-tasks:

set-os:

set-windows2000:

set-windowsNT:

set-windows98:

set-unix:

unix-ext:

windows-ext:

ext:
     [echo] Platform =3D unix
     [echo] Extension =3D sh

create-database:
     [echo] create-database.sh
[torque-create-db] =
D:\tdk\webapps\newapp\WEB-INF\src\sql\create-database.sh

BUILD FAILED
file:D:/tdk/webapps/newapp/WEB-INF/build/build.xml:119: Execute failed: =
java.io.
IOException: CreateProcess: ..\src\sql\create-database.sh error=3D193
-----------------------------------------

Any ideas? need to get this to work urgently. Can't wait to try the =
turbine and velocity stuff

Amin

------=_NextPart_000_00AB_01C29593.8009C410--