It sounds like the create-database.bat or (.sh as appropriate) file didn't
create the database.
Check the contents in:
webapps\yourapp\web-inf\src\sql\create-database.bat(sh)
Did you set the platform/extension properties ? I set mine wrong
and create-database.bat came up empty. Look in:
webapps\yourapp\web-inf\build\project\yourapp.properties
# Your options for targetPlatform are: unix | windows
# Your options for targetPlatformExt are: sh | bat
By the way "win" doesn't work, it must be "windows" !
Finally, if you can't get create-database.bat(sh) to work,
try making the table manually before running:
build-project init
And the SQL should get inserted anyway.
Good luck,
Randy
Pere Torrodellas wrote:
> Hello,
>
> I'm trying to build our first peer newapp with TDK 1.1a10 and Oracle
> under Windows. I think I did everything documented in the TDK documents
> and several useful messages in the mailing list, but build-project is
> still getting a SQL exception.
>
> - I define turbine.app.type=peer in newapp.props
> - I run the newapp procedure
> - I update the project properties as explained in GETTING_STARTED.txt,
> setting oracle as the database and windows as the targetPlatform.
> - I comment the DOCTYPE xml tag in turbine-schema.xml to avoid the DTD
> access problem.
> - I run build-project init
>
> The exception is thrown in the insert-sql-file task when executing
> turbine-schema.sql, whose first statement is:
>
> drop table TURBINE_PERMISSION cascade constraints;
>
> This gets a "table or view does not exist" error. The table is indeed
> not there. Looking at the build-project trace, I see that a possible
> place where the table could have been created is the create-database
> task, where the create-database.bat command file is executed. But
> create-database.bat is empty...
>
> Can someone help me figure out what's wrong? Thanks,
>
> Pere Torrodellas
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?: [EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]