瀏覽代碼

HPCC-25678 Migrate Java docs into HPCC-Platform Repo

Signed-off-by: g-pan <greg.panagiotatos@lexisnexis.com>
g-pan 4 年之前
父節點
當前提交
265cc6bc72

+ 30 - 0
docs/BuildTools/cmake_config/JDBC-driver.txt

@@ -0,0 +1,30 @@
+################################################################################
+#    HPCC SYSTEMS software Copyright (C) 2021 HPCC Systems®.
+#
+#    Licensed under the Apache License, Version 2.0 (the "License");
+#    you may not use this file except in compliance with the License.
+#    You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+#    Unless required by applicable law or agreed to in writing, software
+#    distributed under the License is distributed on an "AS IS" BASIS,
+#    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#    See the License for the specific language governing permissions and
+#    limitations under the License.
+################################################################################
+
+DOCBOOK_TO_PDF( ${FO_XSL} hpcc-jdbc-driver.xml "JDBC-driver_${DOC_LANG}")
+
+IF(MAKE_DOCS)
+  SET(HELP_DEPENDENCIES)
+  GET_PROPERTY(Current_Targets GLOBAL PROPERTY DOC_TARGETS)
+  FOREACH(T ${Current_Targets})
+    IF("${T}" MATCHES ".*JDBC-driver_${DOC_LANG}.*")
+      LIST(APPEND HELP_DEPENDENCIES  ${T})
+     ENDIF()
+  ENDFOREACH()
+
+  DOCBOOK_TO_HTML(${PORTAL_GEN_XSL} "${CMAKE_CURRENT_BINARY_DIR}/hpcc-jdbc-driver.xml" ${PORTAL_HTML_DIR}/JDBC-driver_${DOC_LANG}  "JDBC-driver_html_${DOC_LANG}" "${HPCC_SOURCE_DIR}/docs/common/eclipsehelp.css" "")
+ENDIF(MAKE_DOCS)
+

+ 1 - 0
docs/EN_US/CMakeLists.txt

@@ -77,6 +77,7 @@ add_subdirectory(HPCC4J)
 add_subdirectory(IMDB)
 add_subdirectory(InstantCloud)
 add_subdirectory(Installing_and_RunningTheHPCCPlatform)
+add_subdirectory(JDBC-driver)
 add_subdirectory(RoxieReference)
 add_subdirectory(RunningHPCCinaVirtualMachine)
 

+ 17 - 0
docs/EN_US/JDBC-driver/CMakeLists.txt

@@ -0,0 +1,17 @@
+################################################################################
+#    HPCC SYSTEMS software Copyright (C) 2021 HPCC Systems®.
+#
+#    Licensed under the Apache License, Version 2.0 (the "License");
+#    you may not use this file except in compliance with the License.
+#    You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+#    Unless required by applicable law or agreed to in writing, software
+#    distributed under the License is distributed on an "AS IS" BASIS,
+#    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#    See the License for the specific language governing permissions and
+#    limitations under the License.
+################################################################################
+get_filename_component(DOC_DIR_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME)
+include(${CMAKE_CURRENT_SOURCE_DIR}/../../BuildTools/cmake_config/${DOC_DIR_NAME}.txt)

文件差異過大導致無法顯示
+ 1387 - 0
docs/EN_US/JDBC-driver/hpcc-jdbc-driver.xml


二進制
docs/EN_US/images/jdbc01.jpg