Our Oracle servers run on Unix systems, and we do our QA and productions builds of our web, java, and database code all on the Unix (linux) systems.
We check in all of our pl/sql, tables, views, etc. from PLSQL Developer into CVS, and the build pulls them from CVS.
We use SQL*Plus on the unix side to execute each of the various "create or replace" scripts written by PLSQL Developer. SQL*Plus is VERY PROBLEMATIC. Anyone doing something similar, but with a different solution on the unix side?
We've also tried ANT for our database builds, with very limited success.
Both ANT and SQL*Plus have issues with SEMICOLONS and SLASHES and general line termination kinds of things. We currently have to add or remove semicolons in various places, after PLSQL Developer saves the file, to please SQL*Plus. There's got to be a better way.
Another problem with using SQL*Plus for database builds: despite setting "whenever sqlerror exit", sql*plus actually won't die on simple syntax errors if a script is just wrong. It only stops on ORA- type errors returned from Oracle.
Any suggestions or ideas are welcome.
We check in all of our pl/sql, tables, views, etc. from PLSQL Developer into CVS, and the build pulls them from CVS.
We use SQL*Plus on the unix side to execute each of the various "create or replace" scripts written by PLSQL Developer. SQL*Plus is VERY PROBLEMATIC. Anyone doing something similar, but with a different solution on the unix side?
We've also tried ANT for our database builds, with very limited success.
Both ANT and SQL*Plus have issues with SEMICOLONS and SLASHES and general line termination kinds of things. We currently have to add or remove semicolons in various places, after PLSQL Developer saves the file, to please SQL*Plus. There's got to be a better way.
Another problem with using SQL*Plus for database builds: despite setting "whenever sqlerror exit", sql*plus actually won't die on simple syntax errors if a script is just wrong. It only stops on ORA- type errors returned from Oracle.
Any suggestions or ideas are welcome.