Skip to content

Commit d8d251f

Browse files
committed
Improved automation of refresh_sources.sh
The script will now automatically copy `*.jar` files into `/utPLSQL-cli/lib` directory.
1 parent e1f1eec commit d8d251f

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ node_modules/
1515
utPLSQL_latest_release/
1616
utPLSQL-cli/
1717
development/env.sh
18+
development/*.jar
1819
*.log
1920

2021
# exclusions based on artifacts created via actions documented in CONTRIBUTING.md

CONTRIBUTING.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,14 +89,18 @@ export CONNECTION_STR=127.0.0.1:1521/xe # Adjust the connect string
8989
export ORACLE_PWD=oracle # Adjust your local SYS password
9090
```
9191

92+
### Download Oracle JDBC drivers
93+
94+
Download `ojdbc8-xxx.jar` and `orai18n-xxx.jar` from [Oracle](https://www.oracle.com/technetwork/database/features/jdbc/jdbc-ucp-122-3110062.html).
95+
Place them in `development` directory of the project.
96+
97+
9298
### Download utPLSQL release sources and utplsq-cli
9399

94100
The below script is fetching latest release version from utPLSQL repository. Latest release version is used for self-testing.
95101
```bash
96102
development/refresh_sources.sh
97103
```
98-
> **Important notice:**
99-
> You'll have to provide the ojdbc.jar in the folder utPLSQL-cli/lib manually due to Oracle licensing restrictions.
100104

101105
### Setup local database for utPLSQL development
102106

development/refresh_sources.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ curl -Lk -o utPLSQL-cli.zip https://github.com/utPLSQL/utPLSQL-cli/releases/down
1616
# unzip utPLSQL-cli and remove the zip file
1717
unzip utPLSQL-cli.zip && chmod u+x utPLSQL-cli/bin/utplsql && rm utPLSQL-cli.zip
1818

19+
cp development/*.jar utPLSQL-cli/lib/

0 commit comments

Comments
 (0)