Just curious about from where this command is coming? After trying to run
'ant init' the build fails. I do a search for files containing the string
'mysqladmin' but only create-database.bat, unix.vm and windows.vm show. I've
yet to create the db manually but would like to know howto get at this
command. Nowhere does it say to install mysql first, or does it? Thanks in
advance for any and all replies, the error msg from the dos window follows.

Greg Polimis
****************************************************************************
***********************************************************************
C:\$JAKARTA_HOME\tdk\webapps\turbineapp\WEB-INF\build>ant init
Buildfile: build.xml

init:

init-tasks:

set-os:

set-windows2000:

set-windowsNT:

set-windows98:

set-unix:

unix-ext:

windows-ext:

ext:
     [echo] Platform = windows
     [echo] Extension = bat

create-database:
     [echo] create-database.bat
C:\$JAKARTA_HOME\tdk\webapps\turbineapp\WEB-INF\src\sql\create-database.bat
     [exec]
     [exec] C:\$JAKARTA_HOME\tdk\webapps\turbineapp\WEB-INF\build>REM -
Batch file to automatically create
     [exec]
     [exec] The name specified is not recognized as an
     [exec] internal or external command, operable program or batch file.
     [exec] C:\$JAKARTA_HOME\tdk\webapps\turbineapp\WEB-INF\build>REM -
MySQL database from Windows machines :-)
     [exec]
     [exec] The name specified is not recognized as an
     [exec] internal or external command, operable program or batch file.
     [exec] C:\$JAKARTA_HOME\tdk\webapps\turbineapp\WEB-INF\build>mysqladmin
-uuser -ppassword -h 127.0.0.1 --force drop turbineapp
     [exec]
     [exec] C:\$JAKARTA_HOME\tdk\webapps\turbineapp\WEB-INF\build>mysqladmin
-uuser -ppassword -h 127.0.0.1 --force create turbineapp

BUILD FAILED

C:\$JAKARTA_HOME\tdk\webapps\turbineapp\WEB-INF\build\build.xml:119: Exec
returned: 1

Total time: 3 seconds
****************************************************************************
***********************************************************************

Reply via email to