Problems with ant to populate database in tutorial
Hi!
I have followed the instructions in the Java EE tutorial to set up the enviroment but when I execute the command "ant create tables" I get this output:
[code]
C:\javaeetutorial5\examples\web\bookstore1>ant create-tables
Buildfile: build.xml
-pre-init:
init:
check:
tools:
start-db:
BUILD FAILED
C:\javaeetutorial5\examples\bp-project\app-server-ant.xml:140: The directory you specified does not exist
[/code]
I have changed in the build.properties file to this:
[code]#
# The SDK's default installation on Windows is c:/Sun/SDK
# The Application Server's default installation on Windows is
# c:/Sun/AppServer
#
javaee.home=C:\Sun\SDK
javaee.tutorial.home=C:\javaeetutorial5
# machine name (or the IP address) where the applications will be deployed.
javaee.server.name=localhost
# port number where the app-server is accessed by the users
javaee.server.port=8080
# port number where the admin server of the app-server is available
javaee.adminserver.port=4848
# Uncomment the property j2ee.server.username,
# and replace the administrator username of the app-server
javaee.server.username=admin
# Uncomment the property j2ee.server.passwordfile,
# and replace the following line to point to a file that
# contains the admin password for your app-server.
# The file should contain the password in the following line:
#
# AS_ADMIN_PASSWORD=adminadmin
#
# Notice that the password is adminadmin since this is
# the default password used by the glassfish app-server installation.
#
javaee.server.passwordfile=${javaee.tutorial.home}\examples\common\admin-passwo rd.txt
appserver.instance=server
# Uncomment and set this property to the location of the browser you
# choose to launch when an application is deployed.
# On Windows and Mac OS X the default browser is used.
#default.browser=\Applications\Firefox.app\Contents\MacOS\firefox-bin
# Database vendor property for db tasks
db.vendor=javadb
# Digital certificate properties for mutual authentication
keystore=${javaee.tutorial.home}\examples\jaxws\simpleclient-cert\support\clien t_keystore.jks
truststore=${javaee.home}\domains\domain1\config\cacerts.jks
keystore.password=changeit
truststore.password=changeit[/code]
Any idea which directory the error refers to?

