You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/Building-source-code.md
+6-13Lines changed: 6 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,17 +2,9 @@
2
2
3
3
SODA is built using Ant with Ivy. Make sure you have Ant 1.9 or above installed and configured. It's not required that Ivy is installed - as long as you have an internet connection, the build process will download Ivy and use it to download SODA dependencies.
4
4
5
-
The only SODA dependency that must be manually downloaded is the Oracle JDBC jar that ships with the Oracle database. JDBC 6 or above jar is required.
6
-
7
-
For example, if you're using JDK8 or above, you could use ojdbc8.jar that ships with Oracle Database 18c, available from [this page](https://www.oracle.com/technetwork/database/application-development/jdbc/downloads/jdbc-ucp-183-5013470.html). Alternatively, you can also use ojdbc8.jar that ships with OracleDatabase 12.2.0.1, available from [this page](https://www.oracle.com/technetwork/database/features/jdbc/jdbc-ucp-122-3110062.html). If you're still on JDK7 or even JDK6, you can use ojdbc7.jar or ojdbc6.jar respectively. These ship with Oracle Database 12.1.0.2, and are downloadable from [this page](http://www.oracle.com/technetwork/database/features/jdbc/default-2280470.html).
8
-
9
-
Copy the downloaded JDBC jar to the /lib directory under the root SODA directory (the root SODA directory is the one containing LICENSE.txt file).
10
-
11
-
Other dependencies will be automatically downloaded by Ivy. You also have the option to not use Ivy, and to download the dependencies manually (see "Building without Ivy" below).
12
-
13
5
The following instructions require setting various environment variables. They assume you're on Linux, and using the C Shell (csh). On other OSes, you would set environment variables analogously, using a mechanism appropriate for your specific operating system.
14
6
15
-
Set the JAVA_HOME environment variable to the JDK install directory. At a minimum, JDK 6 is required. For example, assuming you are using JDK 8 installed under /jdk8, and you're using the C Shell (csh) on Linux, do:
7
+
Set the JAVA_HOME environment variable to the JDK install directory. At a minimum, JDK 8 is required. For example, assuming you are using JDK 8 installed under /jdk8, and you're using the C Shell (csh) on Linux, do:
16
8
17
9
setenv JAVA_HOME /jdk8
18
10
@@ -22,7 +14,7 @@ If you're behind a firewall, you might need to set the proxy host and port
22
14
number by setting the ANT_OPTS environment variable. For example, assuming
23
15
your proxy host is myproxy.mycompany.com and the port is 80, do:
If you have Ivy installed already, set the IVY_HOME environment variable.
28
20
The ivy.jar file must be located under the IVY_HOME/lib. For example,
@@ -50,12 +42,13 @@ under the top SODA directory.
50
42
51
43
### Building without Ivy
52
44
53
-
Other than the ojdbc6.jar mentioned above, SODA has the following dependencies:
45
+
SODA has the following dependencies:
54
46
55
-
* javax.json-1.0.4.jar (JSR353 jar)
47
+
* ojdbc8.jar or above (JDBC jar)
48
+
* javax.json-1.1.4.jar (JSR353 jar)
56
49
* junit-3.8.1.jar (JUnit jar, only used by the testsuite)
57
50
58
-
Download the javax.json-1.0.4.jar ([http://search.maven.org/remotecontent?filepath=org/glassfish/javax.json/1.0.4/javax.json-1.0.4.jar](http://search.maven.org/remotecontent?filepath=org/glassfish/javax.json/1.0.4/javax.json-1.0.4.jar)) and junit-3.8.1.jar ([http://central.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.jar](http://central.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.jar)).
51
+
Download the jdbc jar ([https://repo1.maven.org/maven2/com/oracle/database/jdbc/ojdbc8/19.3.0.0/ojdbc8-19.3.0.0.jar](https://repo1.maven.org/maven2/com/oracle/database/jdbc/ojdbc8/19.3.0.0/ojdbc8-19.3.0.0.jar)), javax.json-1.1.4.jar ([http://search.maven.org/remotecontent?filepath=org/glassfish/javax.json/1.1.4/javax.json-1.1.4.jar](http://search.maven.org/remotecontent?filepath=org/glassfish/javax.json/1.0.4/javax.json-1.0.4.jar)) and junit-3.8.1.jar ([http://central.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.jar](http://central.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.jar)).
59
52
60
53
Place these jars in the /lib directory under the root SODA directory. Make sure you also put the ojdbc6.jar into this directory as well, as described above.
0 commit comments