Copyright (C) <2012>
All rights reserved. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.
JDBC driver for HPCC platform
- Check out sources (for example, to directory ~/hpcc-jdbc)
- Create a build directory
- cd to the build directory
- To create makefiles to build native release version for local machine, run cmake ~/hpcc-jdbc
- To build the makefiles just created above, run make
- Jar file will be created in /src/com/hpccsystems/jdbcdriver/hpccsystems-jdbcdriver-MAJOR.MINOR.POINT.jar
A Test version can be built by augmenting the cmake command with the "MAKE_TEST_PACKAGE" flag turned on.
- From build directory, run cmake -DMAKE_TEST_PACKAGE=ON ~/hpcc-jdbc
- Jar file will be created in /src/com/hpccsystems/jdbcdriver/hpccsystems-jdbcdriver-MAJOR.MINOR.POINT-TEST.jar
- Run test: java -cp org.hpccsystems.jdbcdriver.tests.HPCCDriverTest <param==value>... If no parameters are passed in, a "full test" will execute (values in code should be altered to match your environment).