@@ -76,13 +76,23 @@ unzip utPLSQL-cli.zip && chmod -R u+x utPLSQL-cli && rm utPLSQL-cli.zip
7676
7777```
7878
79+ Now adjust the file `` development/env.sh `` to match your local needs.
80+ You might have to adjust the following lines:
81+
82+ ```` bash
83+ export SQLCLI=sql # For sqlcl client
84+ # export SQLCLI=sqlplus # For sqlplus client
85+ export CONNECTION_STR=127.0.0.1:1521/xe # Adjust the connect string
86+ export ORACLE_PWD=oracle # Adjust your local SYS password
87+ ````
88+
7989Refreshing your local repo.
8090``` bash
8191# fetch all remote repositories
8292git fetch --all
8393
8494# remove sub-direcotry containing master branch shallow copy
85- rm -rf utPLSQL/ *
95+ rm -rf utPLSQL
8696# clone utPLSQL master branch from upstream into utPLSQL sub-directory of your project
8797git clone --depth=1 --branch=master https://github.com/utPLSQL/utPLSQL.git
8898
@@ -94,50 +104,19 @@ unzip utPLSQL-cli.zip && chmod -R u+x utPLSQL-cli && rm utPLSQL-cli.zip
94104
95105```
96106
97- Cleanup of utPLSQL installation.
98- ``` sql
99- drop user ut3 cascade;
100- drop user ut3_latest_release cascade;
101- drop user ut3_tester cascade;
102- drop user ut3$user# cascade;
103-
104- begin
105- for i in (
106- select decode(owner,' PUBLIC' ,' drop public synonym "' ,' drop synonym "' || owner|| ' "."' )|| synonym_name || ' "' drop_orphaned_synonym from dba_synonyms a
107- where not exists (select null from dba_objects b where a .table_name = b .object_name and a .table_owner = b .owner )
108- ) loop
109- execute immediate i .drop_orphaned_synonym ;
110- end loop;
111- end;
112- /
107+ Cleanup of utPLSQL installation (call from your base repo directory).
108+ ``` bash
109+ development/cleanup.sh
113110```
114111
115- Install utPLSQL for development
112+ Install utPLSQL for development (call from your base repo directory)
116113``` bash
117- export UT3_OWNER=ut3
118- export UT3_OWNER_PASSWORD=ut3
119- export UT3_RELEASE_VERSION_SCHEMA=ut3_latest_release
120- export UT3_TESTER=ut3_tester
121- export UT3_TESTER_PASSWORD=ut3
122- export UT3_TABLESPACE=users
123- export UT3_USER=" UT3\$ USER#"
124- export UT3_USER_PASSWORD=ut3
125- export SQLCLI=sql
126- export CONNECTION_STR=127.0.0.1:1521/orcl
127- export ORACLE_PWD=oracle
128-
129- .travis/install.sh
130- .travis/install_utplsql_release.sh
131- .travis/create_additional_grants_for_old_tests.sh
114+ development/install.sh
132115```
133116
134- Reinstalling utPLSQL development in ` ut3 ` schema.
117+ Reinstalling utPLSQL development in ` ut3 ` schema (call from your base repo directory) .
135118``` bash
136- cd source
137- sqlplus sys/oracle@orcl as sysdba << -SQL
138- @uninstall ut3
139- @install ut3
140- SQL
119+ development/refresh.sh
141120```
142121
143122## Build Environment ##
0 commit comments