From 6b71eb3ec59d4145b73c2d62c69b89afc803d683 Mon Sep 17 00:00:00 2001 From: pb Date: Fri, 28 Aug 2009 13:49:40 +0000 Subject: [PATCH] tools-ng: integrated r1908,r1910,r1913,r1915-1919,r1926; esp.: upgrade target added. trunk hb is now in sync with vendor r1926 git-svn-id: https://svn.libreccm.org/ccm/trunk@240 8810af33-2d31-482b-a856-94f89814c4df --- tools-ng/ecdc/eclipseConnector/dotclasspath | 350 +++++++++---------- tools-ng/ecdc/local.build.properties | 5 + tools-ng/ecdc/local.ccm.properties | 4 + tools-ng/ecdc/scriptlib/build-ccm.xml | 107 ++++-- tools-ng/sql/oracle-se/create_tablespace.sql | 14 + tools-ng/sql/oracle-se/create_user.sql | 40 +++ 6 files changed, 311 insertions(+), 209 deletions(-) create mode 100644 tools-ng/sql/oracle-se/create_tablespace.sql create mode 100644 tools-ng/sql/oracle-se/create_user.sql diff --git a/tools-ng/ecdc/eclipseConnector/dotclasspath b/tools-ng/ecdc/eclipseConnector/dotclasspath index d6872757f..c6420ca8d 100644 --- a/tools-ng/ecdc/eclipseConnector/dotclasspath +++ b/tools-ng/ecdc/eclipseConnector/dotclasspath @@ -1,177 +1,177 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools-ng/ecdc/local.build.properties b/tools-ng/ecdc/local.build.properties index b7f409f89..f97e2d841 100644 --- a/tools-ng/ecdc/local.build.properties +++ b/tools-ng/ecdc/local.build.properties @@ -26,6 +26,11 @@ # Set to 'modern' or 'jikes' #build.compiler=modern +# Set to Eclipse JDT batch compiler (requires ecj.jar) +#build.compiler=org.eclipse.jdt.core.JDTCompilerAdapter +#ant.build.javac.source=1.6 +#ant.build.javac.target=1.6 + # These properties apply to Javac and Jikes #compile.debug=on #compile.optimize=on diff --git a/tools-ng/ecdc/local.ccm.properties b/tools-ng/ecdc/local.ccm.properties index f1f385294..43de8d79f 100644 --- a/tools-ng/ecdc/local.ccm.properties +++ b/tools-ng/ecdc/local.ccm.properties @@ -5,3 +5,7 @@ ## Usually you will define your own specific bundle! #ccm.bundle.folder=${ccm.project.dir}/ccm-ldn-aplaws/bundles/devel +ccm.upgrade.package=ccm-xxx +ccm.upgrade.from.version=x.x.x +ccm.upgrade.to.version=y.y.y + diff --git a/tools-ng/ecdc/scriptlib/build-ccm.xml b/tools-ng/ecdc/scriptlib/build-ccm.xml index 70a0271d0..4ec76d5c9 100644 --- a/tools-ng/ecdc/scriptlib/build-ccm.xml +++ b/tools-ng/ecdc/scriptlib/build-ccm.xml @@ -15,47 +15,39 @@ Loading bundle ${ccm.bundle.folder} into ${ccm.home} - + - - + + value="${java.protocol.handler.pkgs}" /> + --> - - load ${applications} --init using ${ccm.bundle.folder}/cfg/integration.properties - + + load ${applications} --init using ${ccm.bundle.folder}/cfg/integration.properties + + + + + + + + load ${applications} + - - - - - - - load ${applications} - - - - + --> + @@ -86,5 +78,52 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools-ng/sql/oracle-se/create_tablespace.sql b/tools-ng/sql/oracle-se/create_tablespace.sql new file mode 100644 index 000000000..bb4e4405b --- /dev/null +++ b/tools-ng/sql/oracle-se/create_tablespace.sql @@ -0,0 +1,14 @@ +create tablespace aplaws + logging + datafile 'aplaws.dbf' + size 32m + autoextend on + next 32m maxsize 2048m + extent management local; +create tablespace aplaws + logging + datafile 'aplaws.dbf' + size 32m + autoextend on + next 32m maxsize 2048m + extent management local; \ No newline at end of file diff --git a/tools-ng/sql/oracle-se/create_user.sql b/tools-ng/sql/oracle-se/create_user.sql new file mode 100644 index 000000000..9c4ffd3d2 --- /dev/null +++ b/tools-ng/sql/oracle-se/create_user.sql @@ -0,0 +1,40 @@ +PROMPT Dropping USER ccm + + DROP USER ccm CASCADE; + +PROMPT Creating USER ccm + + CREATE USER ccm + IDENTIFIED BY ccm + DEFAULT TABLESPACE APLAWS + TEMPORARY TABLESPACE TEMP PROFILE DEFAULT + QUOTA UNLIMITED ON APLAWS + QUOTA 0 ON USERS; + + GRANT CONNECT, RESOURCE, QUERY REWRITE, CTXAPP, CREATE PROCEDURE, CREATE TRIGGER, CREATE TABLE, CREATE VIEW, CREATE SEQUENCE TO ccm; + + REVOKE UNLIMITED TABLESPACE FROM ccm; + + REVOKE RESOURCE FROM ccm; + +QUIT; +PROMPT Dropping USER ccm + + DROP USER ccm CASCADE; + +PROMPT Creating USER ccm + + CREATE USER ccm + IDENTIFIED BY ccm + DEFAULT TABLESPACE APLAWS + TEMPORARY TABLESPACE TEMP PROFILE DEFAULT + QUOTA UNLIMITED ON APLAWS + QUOTA 0 ON USERS; + + GRANT CONNECT, RESOURCE, QUERY REWRITE, CTXAPP, CREATE PROCEDURE, CREATE TRIGGER, CREATE TABLE, CREATE VIEW, CREATE SEQUENCE TO ccm; + + REVOKE UNLIMITED TABLESPACE FROM ccm; + + REVOKE RESOURCE FROM ccm; + +QUIT;