The create database build target is not useful for all databases.  An Oracle
create database process is much more difficult to automate than MySql.
Solution is;

In your WEB-INF/build/build.properties file set

database.manual.creation = true

This will skip that step.  But you obviously need to create the database
manually.

Dave Polito

-----Original Message-----
From: Heather Boyd [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 30, 2001 8:52 AM
To: '[EMAIL PROTECTED]'
Subject: unable to find 'sql/db-init/oracle/window.vm



Hi 

I am new to Turbine and have been following the getting started type
instructions.  I am using jdk1.3.1 and tdk2.1b4
and am trying to connect to oracle8.1.7.

When I run ant init in the WEB-INF/build directory I get this problem at the
point of create-database.bat :


create-database:
C:\hlb\apps\java\jakarta\tdk2.1b4\tdk\webapps\apptest\WEB-INF\src\sql\create
-database.bat

BUILD FAILED

c:\hlb\apps\java\jakarta\tdk2.1b4\tdk\webapps\apptest\WEB-INF\build\build.xm
l:101: Exception thrown
by 'generator.parse'. For more information consult the velocity log.
--- Nested Exception ---
org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource 'sql/db-init/oracle
/windows.vm'
        at
org.apache.velocity.runtime.resource.ResourceManager.getResource(ResourceMan
ager.java)
        at org.apache.velocity.runtime.Runtime.getTemplate(Runtime.java)
        at org.apache.velocity.runtime.Runtime.getTemplate(Runtime.java)
        at org.apache.velocity.texen.Generator.parse(Generator.java)


When I check the relevant directory sql/db-init dir I see that there is no
subdirectory for oracle and therefore no
windows.vm.

Have I failed to make this or should it be there.

I appreciate any help.

Thanks
Heather

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to