You are viewing a plain text version of this content. The canonical link for it is here.
Posted to tdk-dev@turbine.apache.org by Mohd Amin <pr...@hotmail.com> on 2002/11/26 14:33:46 UTC

Wrongly detecting OS Platform

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 = unix
     [echo] Extension = 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=193
-----------------------------------------

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

Amin