-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
easydatawarehousing
committed
Jul 28, 2014
1 parent
af50114
commit 4ffcf62
Showing
26 changed files
with
8,058 additions
and
4,059 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
Iniparser | ||
|
||
Copyright (c) 2000-2012 by Nicolas Devillard. | ||
MIT License | ||
|
||
Permission is hereby granted, free of charge, to any person | ||
obtaining a copy of this software and associated documentation | ||
files (the "Software"), to deal in the Software without | ||
restriction, including without limitation the rights to use, | ||
copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the | ||
Software is furnished to do so, subject to the following | ||
conditions: | ||
|
||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES | ||
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | ||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | ||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | ||
OTHER DEALINGS IN THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Set target | ||
set(TARGET_NAME "EasyNTOra") | ||
|
||
# Add libraries | ||
set(ORACLE_OCI_NAMES libclntsh.so) | ||
set(ORACLE_LIB_DIR "${CMAKE_SOURCE_DIR}/bin/lib") | ||
|
||
find_library(ORACLE_OCI_LIBRARY | ||
NAMES ${ORACLE_OCI_NAMES} | ||
PATHS ${ORACLE_LIB_DIR} | ||
NO_DEFAULT_PATH | ||
) | ||
|
||
set(LIBS ${ORACLE_OCI_LIBRARY}) | ||
|
||
# Add include dirs | ||
include_directories ("${CMAKE_SOURCE_DIR}/ETO_Common/include") | ||
include_directories ("${CMAKE_SOURCE_DIR}/EasyNTOra/instantclient/include") | ||
|
||
# Add sources | ||
set(SRC | ||
src/eto_dbs.c | ||
${CMAKE_SOURCE_DIR}/ETO_Common/src/dictionary.c | ||
${CMAKE_SOURCE_DIR}/ETO_Common/src/iniparser.c | ||
${CMAKE_SOURCE_DIR}/ETO_Common/src/eto_log.c | ||
${CMAKE_SOURCE_DIR}/ETO_Common/src/eto_util.c | ||
${CMAKE_SOURCE_DIR}/ETO_Common/src/eto_main.c | ||
) | ||
|
||
# Add executable and dependancies. Setup RPATH to the executable (lib) directory | ||
add_executable (${TARGET_NAME} ${SRC}) | ||
|
||
SET (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-rpath,'$ORIGIN:$ORIGIN/lib'" ) | ||
|
||
target_link_libraries (${TARGET_NAME} ${LIBS}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# This file is part of Easy to Oracle - Free Open Source Data Integration | ||
|
||
# Copyright (C) 2011-2014 Ivo Herweijer | ||
|
||
# Easy to Oracle is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU 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 General Public License for more details. | ||
|
||
# You should have received a copy of the GNU General Public License | ||
# along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
# You can contact me via email: [email protected] | ||
# | ||
# This is an example ini file | ||
# Note that entries starting with an underscore _ | ||
# are not read. These were added as examples. | ||
# | ||
|
||
[EasyXTOra] | ||
database = server/servicename; | ||
user = user; | ||
password = pwd; | ||
_table = schema.tablename; | ||
sql = select * from dual; | ||
cache_rows = 25; | ||
logfilename = Oracle_testfile.log; | ||
_describe_id = 123; # If used, ETO will return field information, not data | ||
fieldseparator = ";"; # Default value is \2 Valid values are: \t , ; | ||
lineseparator = \n; # Default value is \1 Valid values are: \r \n \r\n | ||
addheader = 1; | ||
maxvarcharlen = 4000; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.