You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by pn...@apache.org on 2018/01/30 19:24:30 UTC

[01/13] celix git commit: CELIX-412: Updates version and RELEASE_NOTES for 2.1.0 release

Repository: celix
Updated Branches:
  refs/heads/develop 532273a70 -> e78ecc565


CELIX-412: Updates version and RELEASE_NOTES for 2.1.0 release


Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/8821cfa6
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/8821cfa6
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/8821cfa6

Branch: refs/heads/develop
Commit: 8821cfa63998e0972c519be4e603b11997cf994c
Parents: efed212
Author: Pepijn Noltes <pe...@gmail.com>
Authored: Thu Jan 11 11:10:08 2018 +0100
Committer: Pepijn Noltes <pe...@gmail.com>
Committed: Thu Jan 11 11:10:08 2018 +0100

----------------------------------------------------------------------
 NOTICE                                  |  2 +-
 RELEASE_NOTES                           | 39 +++++++++++++---------------
 cmake/cmake_celix/DockerPackaging.cmake | 12 ++++++---
 dependency_manager/CMakeLists.txt       |  1 +
 dependency_manager_cxx/CMakeLists.txt   |  5 ++--
 dfi/CMakeLists.txt                      |  1 +
 etcdlib/CMakeLists.txt                  |  3 ++-
 shell/CMakeLists.txt                    |  2 +-
 8 files changed, 36 insertions(+), 29 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/8821cfa6/NOTICE
----------------------------------------------------------------------
diff --git a/NOTICE b/NOTICE
index 1f09306..2ec7f66 100644
--- a/NOTICE
+++ b/NOTICE
@@ -1,5 +1,5 @@
 Apache Celix
-Copyright [2016] The Apache Software Foundation
+Copyright [2018] The Apache Software Foundation
 
 This product includes software developed at
 The Apache Software Foundation (http://www.apache.org/).

http://git-wip-us.apache.org/repos/asf/celix/blob/8821cfa6/RELEASE_NOTES
----------------------------------------------------------------------
diff --git a/RELEASE_NOTES b/RELEASE_NOTES
index 480389f..0987fc7 100644
--- a/RELEASE_NOTES
+++ b/RELEASE_NOTES
@@ -1,23 +1,19 @@
-Release Notes for 2.0.0
+Release Notes for 2.1.0
 Remarks:
- * Components that are 2.0.0 are
-   - Framework
-   - Utils
-   - Shell
 
-* Components that are 1.0.0
-   - Shell TUI
-   - Log Service
-   - Log Writer
-   - Launcher
-   - C Dependency Manager
-   - C++ Dependency Manager
+* Library versions:
+ - Celix Framework library: 2.1.0
+ - Celix Utils library: 2.1.0
+ - Dependency Manager:
+   - C : 1.1.0
+   - C++ : 2.0.0
+ - Celix DFI library: 1.1.0
+ - Celix etcdlib: 1.0.0
 
-
-* Components and version
+* Bundle versions:
  - Shell Tui: 1.1.0
  - Shell Bonjour: 0.1.0 
- - Shell: 2.0.0
+ - Shell: 2.1.0
  - Remote Shell: 0.0.2 
  - Log Writer: 1.1.0
  - Log Service: 1.1.0 
@@ -25,6 +21,7 @@ Remarks:
  - Device Access: 0.0.2 
  - Deployment Admin: 0.0.2 
  - Config Admin: 0.0.1 
+ - Dm Shell Bundle: 1.0.0 
  - Remote Services
    - Remote Service Admin Dfi: 0.9.0 
    - Remote Service Admin HTTP: 0.9.0 
@@ -32,9 +29,9 @@ Remarks:
    - Topology Manager: 0.9.0 
    - ETCD Discovery: 0.9.0 
    - Configured Discovery: 0.9.0 
- - C Dependency Manager: 1.0.0
- - C++ Dependency Manager: 1.0.0
-
-Misc: 
- - Utils: 2.0.0
- - Dfi: 1.0.0
+ - PubSub
+   - PubSubAdmin UDP Multicast : 1.0.0
+   - PubSubAdmin ZMQ : 1.0.0
+   - PubSub ETCD Discovery: 1.0.0
+   - PubSub Topology Manager: 1.0.0
+   - PubSub JSON Serializer : 1.0.0

http://git-wip-us.apache.org/repos/asf/celix/blob/8821cfa6/cmake/cmake_celix/DockerPackaging.cmake
----------------------------------------------------------------------
diff --git a/cmake/cmake_celix/DockerPackaging.cmake b/cmake/cmake_celix/DockerPackaging.cmake
index 8b7d8ab..e0ffe5e 100644
--- a/cmake/cmake_celix/DockerPackaging.cmake
+++ b/cmake/cmake_celix/DockerPackaging.cmake
@@ -16,9 +16,15 @@
 # under the License.
 
 ##### setup docker target
-add_custom_target(celix-build-docker-dirs ALL
-    DEPENDS $<TARGET_PROPERTY:celix-build-docker-dirs,DOCKER_DEPS>
-)
+if (APPLE) #create filesystem script is not working on mac os, exclude target from ALL
+    add_custom_target(celix-build-docker-dirs 
+        DEPENDS $<TARGET_PROPERTY:celix-build-docker-dirs,DOCKER_DEPS>
+    )
+else ()
+    add_custom_target(celix-build-docker-dirs ALL
+        DEPENDS $<TARGET_PROPERTY:celix-build-docker-dirs,DOCKER_DEPS>
+    )
+endif ()
 set_target_properties(celix-build-docker-dirs PROPERTIES "DOCKER_DEPS" "") #initial empty deps list
 
 add_custom_target(celix-build-docker-images)

http://git-wip-us.apache.org/repos/asf/celix/blob/8821cfa6/dependency_manager/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/dependency_manager/CMakeLists.txt b/dependency_manager/CMakeLists.txt
index 842f608..931789a 100644
--- a/dependency_manager/CMakeLists.txt
+++ b/dependency_manager/CMakeLists.txt
@@ -49,6 +49,7 @@ if (DEPENDENCY_MANAGER)
         private/src/dm_activator
     )
     set_target_properties(dependency_manager_static PROPERTIES SOVERSION 1)
+    set_target_properties(dependency_manager_static PROPERTIES VERSION 1.1.0)
 
     add_library(dependency_manager_so SHARED
     	private/src/dm_component_impl

http://git-wip-us.apache.org/repos/asf/celix/blob/8821cfa6/dependency_manager_cxx/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/dependency_manager_cxx/CMakeLists.txt b/dependency_manager_cxx/CMakeLists.txt
index c113fa3..55b02ca 100644
--- a/dependency_manager_cxx/CMakeLists.txt
+++ b/dependency_manager_cxx/CMakeLists.txt
@@ -36,14 +36,15 @@ if (DEPENDENCY_MANAGER_CXX)
             ${PROJECT_SOURCE_DIR}/utils/public/include
     )
 
-    add_library( dependency_manager_cxx_static STATIC
+    add_library(dependency_manager_cxx_static STATIC
             ${CMAKE_SOURCE_DIR}/dependency_manager/private/src/dm_component_impl
             ${CMAKE_SOURCE_DIR}/dependency_manager/private/src/dm_service_dependency
             ${CMAKE_SOURCE_DIR}/dependency_manager/private/src/dm_event
             ${CMAKE_SOURCE_DIR}/dependency_manager/private/src/dm_dependency_manager_impl
             src/dm_activator.cc
     )
-    #set_target_properties(dependency_manager_cxx_static PROPERTIES SOVERSION 1)
+    set_target_properties(dependency_manager_cxx_static PROPERTIES SOVERSION 1)
+    set_target_properties(dependency_manager_cxx_static PROPERTIES VERSION 2.0.0)
 
     if (APPLE)
         target_link_libraries(dependency_manager_cxx_static celix_framework "-undefined dynamic_lookup")

http://git-wip-us.apache.org/repos/asf/celix/blob/8821cfa6/dfi/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/dfi/CMakeLists.txt b/dfi/CMakeLists.txt
index 3fd196b..676277c 100644
--- a/dfi/CMakeLists.txt
+++ b/dfi/CMakeLists.txt
@@ -54,6 +54,7 @@ add_library(celix_dfi SHARED
     ${MEMSTREAM_INCLUDES}
 )
 set_target_properties(celix_dfi PROPERTIES "SOVERSION" 1)
+set_target_properties(celix_dfi PROPERTIES "VERSION" 1.1.0)
 target_link_libraries(celix_dfi celix_utils ${FFI_LIBRARIES} ${JANSSON_LIBRARY})
 
 install(TARGETS celix_dfi DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT framework)

http://git-wip-us.apache.org/repos/asf/celix/blob/8821cfa6/etcdlib/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/etcdlib/CMakeLists.txt b/etcdlib/CMakeLists.txt
index fd72d79..1904dea 100644
--- a/etcdlib/CMakeLists.txt
+++ b/etcdlib/CMakeLists.txt
@@ -52,7 +52,8 @@ add_library(etcdlib SHARED
     private/src/etcd.c
 )
 
-set_target_properties(etcdlib PROPERTIES "SOVERSION" 1)
+set_target_properties(etcdlib PROPERTIES SOVERSION 1)
+set_target_properties(etcdlib PROPERTIES VERSION 1.0.0)
 target_link_libraries(etcdlib ${CURL_LIBRARIES} ${JANSSON_LIBRARIES})
 
 add_library(etcdlib_static STATIC

http://git-wip-us.apache.org/repos/asf/celix/blob/8821cfa6/shell/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/shell/CMakeLists.txt b/shell/CMakeLists.txt
index 974d2ff..11a16c1 100644
--- a/shell/CMakeLists.txt
+++ b/shell/CMakeLists.txt
@@ -20,7 +20,7 @@ if (SHELL)
 
     add_bundle(shell
         SYMBOLIC_NAME "apache_celix_shell"
-        VERSION "2.0.0"
+        VERSION "2.1.0"
         NAME "Apache Celix Shell"
 
         SOURCES


[04/13] celix git commit: CELIX-412: add celix_ version for bundle and container CMake commands

Posted by pn...@apache.org.
CELIX-412: add celix_ version for bundle and container CMake commands


Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/ee29b00d
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/ee29b00d
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/ee29b00d

Branch: refs/heads/develop
Commit: ee29b00d7a80af43d351e61916d5a5aa90f97e46
Parents: f32363a
Author: Pepijn Noltes <pe...@gmail.com>
Authored: Tue Jan 16 16:12:08 2018 +0100
Committer: Pepijn Noltes <pe...@gmail.com>
Committed: Tue Jan 16 16:12:08 2018 +0100

----------------------------------------------------------------------
 CMakeLists.txt                          |   2 -
 cmake/cmake_celix/BundlePackaging.cmake |  84 ++++++++++++-----
 cmake/cmake_celix/DeployPackaging.cmake |  39 ++++++--
 documents/cmake_commands/readme.md      | 135 +++++++++++++--------------
 4 files changed, 160 insertions(+), 100 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/ee29b00d/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/CMakeLists.txt b/CMakeLists.txt
index dec1dff..2fbf62d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -26,7 +26,6 @@ include(GNUInstallDirs)
 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake")
 
 #Setup vars conform the FindCelix setup, so that examples and supporting cmake command can assume these variables are set
-#TODO move this to a seperate cmake file or integrate in the FindCelix.cmake file
 set(CELIX_FOUND true)
 set(CELIX_INCLUDE_DIRS ${CMAKE_SOURCE_DIR}/framework/public/include ${CMAKE_SOURCE_DIR}/utils/public/include)
 set(CELIX_LIBRARIES celix_framework celix_utils celix_dfi)
@@ -34,7 +33,6 @@ set(CELIX_LAUNCHER celix)
 set(CELIX_FRAMEWORK_LIBRARY celix_framework)
 set(CELIX_UTILS_LIBRARY celix_utils)
 set(CELIX_DFI_LIBRARY celix_dfi)
-#TODO CELIX_BUNDLES_DIR this will not work, maybe only use var (e.g. ${CELIX_SHELL_BUNDLE}) for bundles
 set(CELIX_DM_LIB dependency_manager_so)
 set(CELIX_DM_STATIC_LIB dependency_manager_static)
 set(CELIX_DM_STATIC_CXX_LIB dependency_manager_cxx_static)

http://git-wip-us.apache.org/repos/asf/celix/blob/ee29b00d/cmake/cmake_celix/BundlePackaging.cmake
----------------------------------------------------------------------
diff --git a/cmake/cmake_celix/BundlePackaging.cmake b/cmake/cmake_celix/BundlePackaging.cmake
index 992e88e..f3adde3 100644
--- a/cmake/cmake_celix/BundlePackaging.cmake
+++ b/cmake/cmake_celix/BundlePackaging.cmake
@@ -30,7 +30,7 @@ endif()
 
 
 ##### setup bundles/deploy target
-add_custom_target(bundles ALL)
+add_custom_target(celix-bundles ALL)
 #####
 
 macro(extract_version_parts VERSION MAJOR MINOR PATCH)
@@ -88,8 +88,11 @@ function(check_bundle BUNDLE)
     endif()
 endfunction()
 
-
 function(add_bundle)
+    #message(DEPRECATION"add_bundle is DEPRECATION, use add_celix_bundle instead.")
+    add_celix_bundle(${ARGN})
+endfunction()
+function(add_celix_bundle)
     list(GET ARGN 0 BUNDLE_TARGET_NAME)
     list(REMOVE_AT ARGN 0)
 
@@ -130,9 +133,9 @@ function(add_bundle)
 
 
     ###### Setting up dependency for bundles target
-    get_target_property(DEPS bundles "BUNDLES_DEPS")
+    get_target_property(DEPS celix-bundles "BUNDLES_DEPS")
     list(APPEND DEPS "${BUNDLE_FILE}")
-    set_target_properties(bundles PROPERTIES "BUNDLES_DEPS" "${DEPS}")
+    set_target_properties(celix-bundles PROPERTIES "BUNDLES_DEPS" "${DEPS}")
     #####
 
     ####### Setting target for activator lib if neccesary ####################
@@ -147,7 +150,7 @@ function(add_bundle)
     add_custom_target(${BUNDLE_TARGET_NAME}_bundle
         DEPENDS "$<TARGET_PROPERTY:${BUNDLE_TARGET_NAME},BUNDLE_FILE>"
     )
-    add_dependencies(bundles ${BUNDLE_TARGET_NAME}_bundle)
+    add_dependencies(celix-bundles ${BUNDLE_TARGET_NAME}_bundle)
     #######################################################################
    
 
@@ -237,7 +240,7 @@ function(add_bundle)
     elseif(BUNDLE_NO_ACTIVATOR)
         #do nothing
     else() #ACTIVATOR 
-        bundle_libs(${BUNDLE_TARGET_NAME} "PRIVATE" TRUE ${BUNDLE_ACTIVATOR})
+        celix_bundle_libs(${BUNDLE_TARGET_NAME} "PRIVATE" TRUE ${BUNDLE_ACTIVATOR})
         
         if(TARGET ${BUNDLE_ACTIVATOR})
             set_target_properties(${BUNDLE_TARGET_NAME} PROPERTIES "BUNDLE_ACTIVATOR" "$<TARGET_SONAME_FILE_NAME:${BUNDLE_ACTIVATOR}>")
@@ -251,30 +254,37 @@ function(add_bundle)
     endif()
 
 
-    bundle_private_libs(${BUNDLE_TARGET_NAME} ${BUNDLE_PRIVATE_LIBRARIES})
-    bundle_export_libs(${BUNDLE_TARGET_NAME} ${BUNDLE_EXPORT_LIBRARIES})
-    bundle_import_libs(${BUNDLE_TARGET_NAME} ${BUNDLE_IMPORT_LIBRARIES})
-    bundle_headers(${BUNDLE_TARGET_NAME} ${BUNDLE_HEADERS})
-endfunction()
-
-function(get_bundle_file BUNDLE OUT)
-    check_bundle(${BUNDLE})
-    get_target_property(${OUT} ${BUNDLE} "BUNDLE_FILE")
+    celix_bundle_private_libs(${BUNDLE_TARGET_NAME} ${BUNDLE_PRIVATE_LIBRARIES})
+    celix_bundle_export_libs(${BUNDLE_TARGET_NAME} ${BUNDLE_EXPORT_LIBRARIES})
+    celix_bundle_import_libs(${BUNDLE_TARGET_NAME} ${BUNDLE_IMPORT_LIBRARIES})
+    celix_bundle_headers(${BUNDLE_TARGET_NAME} ${BUNDLE_HEADERS})
 endfunction()
 
 function(bundle_export_libs)
+    #message(DEPRECATION"bundle_export_libs is DEPRECATION, use celix_bundle_export_libs instead.")
+    celix_bundle_export_libs(${ARGN})
+endfunction()
+function(celix_bundle_export_libs)
     list(GET ARGN 0 BUNDLE)
     list(REMOVE_AT ARGN 0)
-    bundle_libs(${BUNDLE} "EXPORT" TRUE ${ARGN})
+    celix_bundle_libs(${BUNDLE} "EXPORT" TRUE ${ARGN})
 endfunction()
 
 function(bundle_private_libs)
+    #message(DEPRECATION"bundle_private_libs is DEPRECATION, use celix_bundle_private_libs instead.")
+    celix_bundle_private_libs(${ARGN})
+endfunction()
+function(celix_bundle_private_libs)
     list(GET ARGN 0 BUNDLE)
     list(REMOVE_AT ARGN 0)
-    bundle_libs(${BUNDLE} "PRIVATE" FALSE ${ARGN})
+    celix_bundle_libs(${BUNDLE} "PRIVATE" FALSE ${ARGN})
 endfunction()
 
 function(bundle_libs)
+    #message(DEPRECATION"bundle_libs is DEPRECATION, use celix_bundle_libs instead.")
+    celix_bundle_libs(${ARGN})
+endfunction()
+function(celix_bundle_libs)
     #0 is bundle TARGET
     #1 is TYPE, e.g PRIVATE,EXPORT or IMPORT
     #2 is ADD_TO_MANIFEST 
@@ -338,6 +348,10 @@ function(bundle_libs)
 endfunction()
 
 function(bundle_import_libs)
+    #message(DEPRECATION"bundle_import_libs is DEPRECATION, use celix_bundle_import_libs instead.")
+    celix_bundle_import_libs(${ARGN})
+endfunction()
+function(celix_bundle_import_libs)
     #0 is bundle TARGET
     #2..n is import libs
     list(GET ARGN 0 BUNDLE)
@@ -364,6 +378,10 @@ function(bundle_import_libs)
 endfunction()
 
 function(bundle_files)
+    #message(DEPRECATION"bundle_files is DEPRECATION, use celix_bundle_files instead.")
+    celix_bundle_files(${ARGN})
+endfunction()
+function(celix_bundle_files)
     #0 is bundle TARGET
     #1..n is header name / header value
     list(GET ARGN 0 BUNDLE)
@@ -387,6 +405,10 @@ function(bundle_files)
 endfunction()
 
 function(bundle_headers)
+    #message(DEPRECATION"bundle_headers is DEPRECATION, use celix_bundle_headers instead.")
+    celix_bundle_headers(${ARGN})
+endfunction()
+function(celix_bundle_headers)
     #0 is bundle TARGET
     #1..n is header name / header value
     list(GET ARGN 0 BUNDLE)
@@ -401,23 +423,43 @@ function(bundle_headers)
     set_target_properties(${BUNDLE} PROPERTIES "BUNDLE_HEADERS" "${HEADERS}")
 endfunction()
 
-function(bundle_symbolic_name BUNDLE SYMBOLIC_NAME) 
+function(bundle_symbolic_name)
+    #message(DEPRECATION"bundle_symbolic_name is DEPRECATION, use celix_bundle_symbolic_name instead.")
+    celix_bundle_symbolic_name(${ARGN})
+endfunction()
+function(celix_bundle_symbolic_name BUNDLE SYMBOLIC_NAME)
     set_target_properties(${BUNDLE} PROPERTIES "BUNDLE_SYMBOLIC_NAME" ${SYMBOLIC_NAME})
 endfunction()
 
-function(bundle_name BUNDLE NAME) 
+function(bundle_name)
+    #message(DEPRECATION"bundle_name is DEPRECATION, use celix_bundle_name instead.")
+    celix_bundle_symbolic_name(${ARGN})
+endfunction()
+function(celix_bundle_name BUNDLE NAME)
     set_target_properties(${BUNDLE} PROPERTIES "BUNDLE_NAME" ${NAME})
 endfunction()
 
-function(bundle_version BUNDLE VERSION) 
+function(bundle_version)
+    #message(DEPRECATION"bundle_version is DEPRECATION, use celix_bundle_version instead.")
+    celix_bundle_symbolic_name(${ARGN})
+endfunction()
+function(celix_bundle_version BUNDLE VERSION)
     set_target_properties(${BUNDLE} PROPERTIES "BUNDLE_VERSION" ${VERSION})
 endfunction()
 
-function(bundle_description BUNDLE DESC) 
+function(bundle_description)
+    #message(DEPRECATION"bundle_description is DEPRECATION, use celix_bundle_description instead.")
+    celix_bundle_symbolic_name(${ARGN})
+endfunction()
+function(celix_bundle_description BUNDLE DESC)
     set_target_properties(${BUNDLE} PROPERTIES "BUNDLE_DESCRIPTION" ${DESC})
 endfunction()
 
 function(install_bundle)
+    #message(DEPRECATION"install_bundle is DEPRECATION, use install_celix_bundle instead.")
+    install_celix_bundle(${ARGN})
+endfunction()
+function(install_celix_bundle)
     #0 is bundle TARGET
     list(GET ARGN 0 BUNDLE)
     list(REMOVE_AT ARGN 0)

http://git-wip-us.apache.org/repos/asf/celix/blob/ee29b00d/cmake/cmake_celix/DeployPackaging.cmake
----------------------------------------------------------------------
diff --git a/cmake/cmake_celix/DeployPackaging.cmake b/cmake/cmake_celix/DeployPackaging.cmake
index 0ec2322..26f5c90 100644
--- a/cmake/cmake_celix/DeployPackaging.cmake
+++ b/cmake/cmake_celix/DeployPackaging.cmake
@@ -16,10 +16,10 @@
 # under the License.
 
 ##### setup bundles/container target
-add_custom_target(containers ALL
-        DEPENDS $<TARGET_PROPERTY:containers,CONTAINER_DEPLOYMENTS>
+add_custom_target(celix-containers ALL
+        DEPENDS $<TARGET_PROPERTY:celix-containers,CONTAINER_DEPLOYMENTS>
 )
-set_target_properties(containers PROPERTIES "CONTAINER_DEPLOYMENTS" "") #initial empty deps list
+set_target_properties(celix-containers PROPERTIES "CONTAINER_DEPLOYMENTS" "") #initial empty deps list
 
 get_directory_property(CLEANFILES ADDITIONAL_MAKE_CLEAN_FILES)
 list(APPEND CLEANFILES "${CMAKE_BINARY_DIR}/deploy")
@@ -28,6 +28,7 @@ set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${CLEANFILES}")
 #####
 
 function(add_deploy)
+    #message(DEPRECATION "add_deploy is depecrated, use add_celix_container instead.")
     add_celix_container(${ARGN})
 endfunction()
 
@@ -37,7 +38,7 @@ function(add_celix_container)
 
     set(OPTIONS COPY CXX)
     set(ONE_VAL_ARGS GROUP NAME LAUNCHER LAUNCHER_SRC DIR)
-    set(MULTI_VAL_ARGS BUNDLES PROPERTIES)
+    set(MULTI_VAL_ARGS BUNDLES PROPERTIES EMBEDDED_PROPERTIES)
     cmake_parse_arguments(CONTAINER "${OPTIONS}" "${ONE_VAL_ARGS}" "${MULTI_VAL_ARGS}" ${ARGN})
 
     ##### Check arguments #####
@@ -59,9 +60,9 @@ function(add_celix_container)
     endif ()
     ######
 
-    get_target_property(CONTAINERDEPS containers "CONTAINER_DEPLOYMENTS")
+    get_target_property(CONTAINERDEPS celix-containers "CONTAINER_DEPLOYMENTS")
     list(APPEND CONTAINERDEPS ${CONTAINER_TARGET})
-    set_target_properties(containers PROPERTIES "CONTAINER_DEPLOYMENTS" "${CONTAINERDEPS}")
+    set_target_properties(celix-containers PROPERTIES "CONTAINER_DEPLOYMENTS" "${CONTAINERDEPS}")
 
     #FILE TARGETS FOR CONTAINER
     set(CONTAINER_PROPS "${CONTAINER_LOC}/config.properties")
@@ -106,7 +107,7 @@ function(add_celix_container)
 
 int main(int argc, char *argv[]) {
     const char * config = \"cosgi.auto.start.1=$<JOIN:$<TARGET_PROPERTY:${CONTAINER_TARGET},CONTAINER_BUNDLES>, >\\n\\
-$<JOIN:$<TARGET_PROPERTY:${CONTAINER_TARGET},CONTAINER_PROPERTIES>,\\n\\
+$<JOIN:$<TARGET_PROPERTY:${CONTAINER_TARGET},CONTAINER_EMBEDDED_PROPERTIES>,\\n\\
 >\";
 
     properties_pt packedConfig = properties_loadFromString(config);
@@ -202,10 +203,12 @@ $<JOIN:$<TARGET_PROPERTY:${CONTAINER_TARGET},CONTAINER_PROPERTIES>,
     set_target_properties(${CONTAINER_TARGET} PROPERTIES "CONTAINER_GROUP" "${CONTAINER_GROUP}")
     set_target_properties(${CONTAINER_TARGET} PROPERTIES "CONTAINER_LOC" "${CONTAINER_LOC}")
     set_target_properties(${CONTAINER_TARGET} PROPERTIES "CONTAINER_PROPERTIES" "")
+    set_target_properties(${CONTAINER_TARGET} PROPERTIES "CONTAINER_EMBEDDED_PROPERTIES" "")
     #####
 
     celix_container_bundles(${CONTAINER_TARGET} ${CONTAINER_BUNDLES})
     celix_container_properties(${CONTAINER_TARGET} ${CONTAINER_PROPERTIES})
+    celix_container_embedded_properties(${CONTAINER_TARGET} ${CONTAINER_EMBEDDED_PROPERTIES})
 
 
     #ensure the container dir will be deleted during clean
@@ -218,6 +221,7 @@ endfunction()
 #NOTE can be used for drivers/proxies/endpoints bundle dirs
 
 function(deploy_bundles_dir)
+    #message(DEPRECATION "deploy_bundles_dir is depecrated, use celix_container_bundles_dir instead.")
     celix_container_bundles_dir(${ARGN})
 endfunction()
 function(celix_container_bundles_dir)
@@ -261,6 +265,7 @@ function(celix_container_bundles_dir)
 endfunction()
 
 function(deploy_bundles)
+    #message(DEPRECATION "deploy_bundles is depecrated, use celix_container_bundles instead.")
     celix_container_bundles(${ARGN})
 endfunction()
 function(celix_container_bundles)
@@ -298,6 +303,7 @@ function(celix_container_bundles)
 endfunction()
 
 function(deploy_properties)
+    #message(DEPRECATION "deploy_properties is depecrated, use celix_container_properties instead.")
     celix_container_properties(${ARGN})
 endfunction()
 function(celix_container_properties)
@@ -314,3 +320,22 @@ function(celix_container_properties)
 
    set_target_properties(${CONTAINER_TARGET} PROPERTIES "CONTAINER_PROPERTIES" "${PROPS}")
 endfunction()
+
+function(deploy_embedded_properties)
+    #message(DEPRECATION "deploy_embedded_properties is depecrated, use celix_container_embedded_properties instead.")
+    celix_container_embedded_properties(${ARGN})
+endfunction()
+function(celix_container_embedded_properties)
+    #0 is container TARGET
+    #1..n is bundles
+    list(GET ARGN 0 CONTAINER_TARGET)
+    list(REMOVE_AT ARGN 0)
+
+    get_target_property(PROPS ${CONTAINER_TARGET} "CONTAINER_EMBEDDED_PROPERTIES")
+
+    foreach(PROP IN ITEMS ${ARGN})
+        list(APPEND PROPS ${PROP})
+    endforeach()
+
+    set_target_properties(${CONTAINER_TARGET} PROPERTIES "CONTAINER_EMBEDDED_PROPERTIES" "${PROPS}")
+endfunction()

http://git-wip-us.apache.org/repos/asf/celix/blob/ee29b00d/documents/cmake_commands/readme.md
----------------------------------------------------------------------
diff --git a/documents/cmake_commands/readme.md b/documents/cmake_commands/readme.md
index 1287299..6de67e1 100644
--- a/documents/cmake_commands/readme.md
+++ b/documents/cmake_commands/readme.md
@@ -4,14 +4,16 @@ For Apache Celix several cmake command are added to be able to work with Apache
 
 # Bundles
 
-## add_bundle
-Add a bundle to the project.  There are three variants:
+## add_celix_bundle
+Add a Celix bundle to the project.  There are three variants:
 - With SOURCES the bundle will be created using a list of sources files as input for the bundle activator library.
 - With ACTIVATOR the bundle will be created using the library target or absolute path to existing library as activator library.
 - With no SOURCES or ACTIVATOR a bundle without a activator will be created.
 
+Also available under the add_bundle CMake function (deprecated).
+
 ```CMake
-add_bundle(<bundle_target_name> 
+add_celix_bundle(<bundle_target_name> 
     SOURCES source1 source2 ...
     [NAME bundle_name] 
     [SYMBOLIC_NAME bundle_symbolic_name]
@@ -25,7 +27,7 @@ add_bundle(<bundle_target_name>
 ```
 
 ```CMake
-add_bundle(<bundle_target_name> 
+add_celix_bundle(<bundle_target_name> 
     ACTIVATOR <activator_lib>
     [NAME bundle_name] 
     [SYMBOLIC_NAME bundle_symbolic_name]
@@ -39,7 +41,7 @@ add_bundle(<bundle_target_name>
 ```
 
 ```CMake
-add_bundle(<bundle_target_name> 
+add_celix_bundle(<bundle_target_name> 
     [NAME bundle_name] 
     [SYMBOLIC_NAME bundle_symbolic_name]
     [DESCRIPTION bundle_description]
@@ -61,22 +63,22 @@ For SOVERSION only the major part is used. Expected scheme is "<major>.<minor>.<
 - If IMPORT_LIBRARIES is provided all provided lib are added to the "Import-Library" manifest statement and added in the root of the bundle. libraries can be cmake library targets or absolute paths to existing libraries.  This is not yet supported by the celix framework
 - If HEADERS is provided the headers values are appended to the bundle manifest.
 
-## bundle_private_libs
+## celix_bundle_private_libs
 Add libraries to a bundle target. The libraries should be cmake library targets or an absolute path to a existing library.
 
 ```CMake
-bundle_private_libs(<bundle_target>
+celix_bundle_private_libs(<bundle_target>
     lib1 lib2 ...
 )
 ```
 
-## bundle_files
+## celix_bundle_files
 Add files to the target bundle. DESTINATION is relative to the bundle archive root. 
 The rest of the command is conform file(COPY ...) cmake command.
 See cmake file(COPY ...) command for more info.
 
 ```CMake
-bundle_files(<bundle_target>
+celix_bundle_files(<bundle_target>
     files... DESTINATION <dir>
     [FILE_PERMISSIONS permissions...]
     [DIRECTORY_PERMISSIONS permissions...]
@@ -88,53 +90,53 @@ bundle_files(<bundle_target>
 ```
 
 
-## bundle_headers
+## celix_bundle_headers
 Append the provided headers to the target bundle manifest.
 
 ```CMake
-bundle_headers(<bundle_target>
+celix_bundle_headers(<bundle_target>
     "header1: header1_value"
     "header2: header2_value"
     ...
 )
 ```
 
-## bundle_symbolic_name
+## celix_bundle_symbolic_name
 Set bundle symbolic name
 
 ```CMake
-bundle_symbolic_name(<bundle_target> symbolic_name)
+celix_bundle_symbolic_name(<bundle_target> symbolic_name)
 ```
 
-## bundle_name
+## celix_bundle_name
 Set bundle name
 
 ```CMake
-bundle_name(<bundle_target> name)
+celix_bundle_name(<bundle_target> name)
 ```
 
-## bundle_version
+## celix_bundle_version
 Set bundle version
 
 ```CMake
-bundle_version(<bundle_target> version)
+celix_bundle_version(<bundle_target> version)
 ```
 
-## bundle_description
+## celix_bundle_description
 Set bundle description
 
 ```CMake
-bundle_description(<bundle_target> description)
+celix_bundle_description(<bundle_target> description)
 ```
 
-## install_bundle
+## install_celix_bundle
 Install bundle when 'make install' is executed. 
 Bundles are installed at `<install-prefix>/share/<project_name>/bundles`.
 Headers are installed at `<install-prefix>/include/<project_name>/<bundle_name>`
 Resources are installed at `<install-prefix>/shared/<project_name>/<bundle_name>`
 
 ```CMake
-install_bundle(<bundle_target>
+install_celix_bundle(<bundle_target>
     [PROJECT_NAME] project_name
     [BUNDLE_NAME] bundle_name
     [HEADERS header_file1 header_file2 ...]
@@ -147,20 +149,22 @@ install_bundle(<bundle_target>
 - If HEADERS is provided the list of provided headers will be installed.
 - If RESOURCES is provided the list of provided resources will be installed.
 
-# Deployments
+# Celix Containers
+
+## add_celix_container
+Add a Celix container, consisting out of a selection of bundles and a simple Celix launcher.
+Celix containers can be used to run/test a selection of bundles in the celix framework.
+A Celix container can be found in `<cmake_build_dir>/deploy[/<group_name>]/<celix_container_name>`. 
+Use the `<celix_container_name>` executable to run the deployments.
 
-## add_deploy
-Add a deployment, consisting out of a selection of bundles and a simple Celix launcher.
-Deployments can be used to run/test a selection of bundles in the celix framework.
-A deployment can be found in `<cmake_build_dir>/deploy[/<group_name>]/<deploy_name>`. 
-Use the `<deploy_target_name>` executable to run the deployments.
+Also available under the add_deploy CMake function (deprecated).
 
 ```CMake
-add_deploy(<deploy_target_name>
+add_celix_container(<celix_container_name>
     [COPY] 
     [CXX]
     [GROUP group_name]
-    [NAME deploy_name]
+    [NAME celix_container_name]
     [LAUNCHER launcher]
     [DIR dir]
     [BUNDLES <bundle1> <bundle2> ...]
@@ -168,8 +172,8 @@ add_deploy(<deploy_target_name>
 )
 ```
 
-The provided bundle targets for a deployment do not have to exists (yet).
-This removes the need for correctly ordering the add_bundle commands so that all bundle target are present before an add_deploy command.
+The provided bundle targets for a celix container do not have to exists (yet).
+This removes the need for correctly ordering the add_bundle commands so that all bundle target are present before an add_celix_container command.
 If the bundle target is never added CMake will give an error:
 ```
   Error evaluating generator expression:
@@ -178,19 +182,19 @@ If the bundle target is never added CMake will give an error:
 ```
 
 - If the COPY option is provided the selected bundles will be copied in a bundles dir and the generated config.properties will use relative paths to the bundle locations. Default bundles will not be copied and the generated config.properties will use absolute references to the bundle locations.
-- If CXX option is provided the deploy launcher will be build as C++ executable and as result be linked with the required C++ libraries of the used compiler
-- If GROUP is provided the deployment will be grouped in the provided group name. 
-- If NAME is provided that name will be used for the deployment dir. Default the deploy target name will be used.
-- If LAUNCHER is provided that path or target will be used as launcher executable for the deployment. If no LAUNCHER is not provided the celix executable will be used.
+- If CXX option is provided the celix container launcher will be build as C++ executable and as result be linked with the required C++ libraries of the used compiler
+- If GROUP is provided the celix container will be grouped in the provided group name. 
+- If NAME is provided that name will be used for the celix container dir. Default the Celix container target name will be used.
+- If LAUNCHER is provided that path or target will be used as launcher executable for the Celix container. If no LAUNCHER is not provided the celix executable will be used.
 - If DIR is provided, the specified dir is used instead of `<cmake_build_dir>/deploy` as deploy dir 
 - If BUNDLES is provided the list of bundles will be added the the generated config.properties for startup. Combined with COPY the bundles will also be copied to a bundles dir.
 - If PROPERTIES is provided the list of properties will be appended to the generated config.properties
 
-## deploy_bundles_dir
+## celix_container_bundles_dir
 Deploy a selection of bundles to the provided bundle dir. This can be used to create an endpoints / proxies bundles dir for the remote service admin or drivers bundles dir for the device access. 
 
 ```CMake
-deploy_bundles_dir(<deploy_target_name>
+celix_container_bundles_dir(<celix_container_target_name>
     DIR_NAME dir_name
     BUNDLES 
         bundle1 
@@ -199,23 +203,35 @@ deploy_bundles_dir(<deploy_target_name>
 )
 ```
 
-## deploy_bundles
+## celix_container_bundles
 Deploy the selected bundles. The bundles are configured for auto starting. 
 
 ```CMake
-deploy_bundles(<deploy_target_name>
+celix_container_bundles(<celix_container_target_name>
     bundle1 
     bundle2 
     ...
 )
 ```
 
-## deploy_properties
+## celix_container_properties
+Add the provided properties to the target Celix container config.properties.
+
 
 ```CMake
-Add the provided properties to the target deploy config.properties.
+celix_container_properties(<celix_container_target_name>
+    "prop1=val1" 
+    "prop2=val2" 
+    ...
+)
+```
 
-deploy_properties(<deploy_target_name>
+## celix_cotainer_embedded_properties
+Embeds the provided properties to the target Celix launcher as embedded properties.
+Note that these properties can be overridden by using config.properties.
+
+```CMake
+celix_container_embedded_properties(<celix_container_target_name>
     "prop1=val1" 
     "prop2=val2" 
     ...
@@ -223,27 +239,21 @@ deploy_properties(<deploy_target_name>
 ```
 
 # Celix Docker Images
-It is possible the use the `add_docker` Apache Celix CMake command to create Apache Celix docker directories,
+It is possible the use the `add_celix_docker` Apache Celix CMake command to create Apache Celix docker directories,
 which in turn can be used to create very small Apache Celix docker images.
 
-## add_docker
+## add_celix_docker
 Adds a docker target dir, containing a all the required executables, 
 libraries and filesystem needed to run a Apache Celix framework in a docker container. 
 Also includes the selected bundles. 
 
-The add_docker image use a `celix_docker_depslib` target to infer which shared libraries are required 
-for the docker image. The `celix_docker_depslib` is a empty C++ libraries linked against `jansson`, `libffi` and `m`.
-As result these libraries and some additional required libraries (libgcc_s, libstdc++) are added to the
-docker dir. It is possible to link additional libraries to the `celix_docker_depslib` to that these are also
-added to the docker image. It is also possible to specify a own "docker libs" library to use to infer 
-the required library dependencies
+The add_celix_docker target is a executable target and can be used to link libraries which are needed in the docker image.
 
 The docker dir can be found in `<cmake_build_dir>/docker[/<group_name>]/<docker_name>`. 
   
-  
 The provided bundle targets for a docker dir do not have to exists (yet).
 This removes the need for correctly order the add_bundle commands so that all bundle target are present before 
-an `add_docker` command.
+an `add_celix_docker` command.
 If the bundle target is never added CMake will give an error:
   ```
     Error evaluating generator expression:
@@ -252,44 +262,29 @@ If the bundle target is never added CMake will give an error:
   ```
  
 ```CMake
-add_docker(<docker_target_name>
+add_celix_docker(<docker_target_name>
+    [CXX]
     [GROUP group_name]
     [NAME deploy_name]
     [FROM docker_from_image]
     [BUNDLES_DIR bundle_dir_in_docker_image]
     [WORKDIR workdir_in_docker_image]
-    [DEPSLIB deps_lib_target_name]
     [IMAGE_NAME docker_image_name]
-    [ENTRYPOINT docker_entry_point]
     [BUNDLES <bundle1> <bundle2> ...]
     [PROPERTIES "prop1=val1" "prop2=val2" ...]
     [INSTRUCTIONS "instr1" "instr2" ...]
 )
 ```
 
+- If CXX is set the entrypoint executable will be created as a C++ main file, default it is a C main file.
 - If GROUP is provided the docker will be grouped in the provided group name. 
 - If NAME is provided that name will be used for the docker dir. Default the deploy target name will be used.
 - If FROM is provided the docker image will use the provide FROM as base, else `FROM scratch` is used and 
     a minimal filesystem will be created for the docker image
 - If BUNDLES_DIR is provided that directory will be used as bundles location. Default `/bundles` will be used
 - If WORKDIR is provided that directory will be used a workdir. Default `/root` will be used
-- If DEPSLIB is provided that target name will be used to infer the required libraries. Default the target 
-name `celix_docker_libsdep` will be used
 - If IMAGE_NAME is provided that will be used as docker image name. Default the NAME will be used
-- If ENTRYPOINT is provided that will be used as docker entrypoint. Default `/bin/celix` will be used
 - If BUNDLES is provided, the list of bundles will be added to the docker images and configured in the generated 
  `config.properties`
 - If PROPERTIES is provided, the list of properties will added to the generated `config.properties` file
 - If INSTRUCTIONS id provided, the list of docker instructions will be added the the generated `Dockerfile`
-
-## build-docker-images target
-TODO
-
-## docker_bundles
-TODO
-
-## docker_properties
-TODO
-
-## docker_instructions
-TODO


[02/13] celix git commit: Merge branch 'develop' into release/2.1.0

Posted by pn...@apache.org.
Merge branch 'develop' into release/2.1.0


Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/c5c30a33
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/c5c30a33
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/c5c30a33

Branch: refs/heads/develop
Commit: c5c30a33ff5f52ea2c144320ffb3e3717095b366
Parents: 8821cfa d7307ff
Author: Pepijn Noltes <pe...@gmail.com>
Authored: Mon Jan 15 11:31:26 2018 +0100
Committer: Pepijn Noltes <pe...@gmail.com>
Committed: Mon Jan 15 11:31:26 2018 +0100

----------------------------------------------------------------------
 KEYS | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 59 insertions(+)
----------------------------------------------------------------------



[06/13] celix git commit: CELIX-412: Refactors usage of add_bundle and add_deploy to add_celix_bundle and add_celix_container

Posted by pn...@apache.org.
CELIX-412: Refactors usage of add_bundle and add_deploy to add_celix_bundle and add_celix_container


Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/68775a04
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/68775a04
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/68775a04

Branch: refs/heads/develop
Commit: 68775a042db99c51d8aad33f9e20b049c183daf3
Parents: ee29b00
Author: Pepijn Noltes <pe...@gmail.com>
Authored: Tue Jan 16 16:24:23 2018 +0100
Committer: Pepijn Noltes <pe...@gmail.com>
Committed: Tue Jan 16 16:24:23 2018 +0100

----------------------------------------------------------------------
 cmake/cmake_celix/BundlePackaging.cmake         | 26 ++++++++++----------
 cmake/cmake_celix/DeployPackaging.cmake         | 10 ++++----
 config_admin/CMakeLists.txt                     |  2 +-
 .../example_test/CMakeLists.txt                 |  2 +-
 .../example_test2/CMakeLists.txt                |  2 +-
 config_admin/example/CMakeLists.txt             |  2 +-
 config_admin/service/CMakeLists.txt             |  2 +-
 dependency_manager/CMakeLists.txt               |  4 +--
 deployment_admin/CMakeLists.txt                 |  6 ++---
 device_access/device_access/CMakeLists.txt      |  4 +--
 device_access/driver_locator/CMakeLists.txt     |  4 +--
 device_access/example/CMakeLists.txt            |  2 +-
 .../example/base_driver/CMakeLists.txt          |  2 +-
 .../example/consuming_driver/CMakeLists.txt     |  2 +-
 .../example/refining_driver/CMakeLists.txt      |  2 +-
 documents/cmake_commands/readme.md              |  4 +--
 .../getting_started/creating_a_simple_bundle.md | 19 ++++++--------
 event_admin/CMakeLists.txt                      |  6 ++---
 event_admin/event_admin/CMakeLists.txt          |  4 +--
 event_admin/event_handler/CMakeLists.txt        |  4 +--
 event_admin/event_publisher/CMakeLists.txt      |  4 +--
 examples/dm_example/CMakeLists.txt              |  2 +-
 examples/dm_example/phase1/CMakeLists.txt       |  2 +-
 examples/dm_example/phase2a/CMakeLists.txt      |  2 +-
 examples/dm_example/phase2b/CMakeLists.txt      |  2 +-
 examples/dm_example/phase3/CMakeLists.txt       |  2 +-
 examples/dm_example_cxx/CMakeLists.txt          |  2 +-
 examples/dm_example_cxx/phase1/CMakeLists.txt   |  2 +-
 examples/dm_example_cxx/phase2a/CMakeLists.txt  |  2 +-
 examples/dm_example_cxx/phase2b/CMakeLists.txt  |  2 +-
 examples/dm_example_cxx/phase3/CMakeLists.txt   |  2 +-
 .../phase3_locking/CMakeLists.txt               |  2 +-
 examples/hello_world/CMakeLists.txt             | 10 ++++----
 examples/hello_world_test/CMakeLists.txt        | 16 ++++++------
 examples/log_service_example/CMakeLists.txt     |  4 +--
 examples/mongoose/CMakeLists.txt                |  6 ++---
 examples/service_hook_example/CMakeLists.txt    |  4 +--
 examples/services_example_c/CMakeLists.txt      |  2 +-
 examples/services_example_c/bar/CMakeLists.txt  |  2 +-
 examples/services_example_c/foo1/CMakeLists.txt |  2 +-
 examples/services_example_c/foo2/CMakeLists.txt |  2 +-
 examples/services_example_cxx/CMakeLists.txt    |  2 +-
 .../services_example_cxx/bar/CMakeLists.txt     |  2 +-
 .../services_example_cxx/baz/CMakeLists.txt     |  2 +-
 .../services_example_cxx/foo/CMakeLists.txt     |  2 +-
 examples/whiteboard/CMakeLists.txt              |  4 +--
 examples/whiteboard/publisherA/CMakeLists.txt   |  2 +-
 examples/whiteboard/publisherB/CMakeLists.txt   |  2 +-
 examples/whiteboard/tracker/CMakeLists.txt      |  2 +-
 .../whiteboard/tracker_depman/CMakeLists.txt    |  2 +-
 .../test_bundle1/CMakeLists.txt                 |  2 +-
 log_service/CMakeLists.txt                      |  4 +--
 log_writer/log_writer_stdout/CMakeLists.txt     |  4 +--
 log_writer/log_writer_syslog/CMakeLists.txt     |  4 +--
 pubsub/deploy/CMakeLists.txt                    | 22 ++++++++---------
 .../examples/mp_pubsub/publisher/CMakeLists.txt |  2 +-
 .../mp_pubsub/subscriber/CMakeLists.txt         |  2 +-
 pubsub/examples/pubsub/publisher/CMakeLists.txt |  2 +-
 .../examples/pubsub/publisher2/CMakeLists.txt   |  2 +-
 .../examples/pubsub/subscriber/CMakeLists.txt   |  2 +-
 pubsub/pubsub_admin_udp_mc/CMakeLists.txt       |  4 +--
 pubsub/pubsub_admin_zmq/CMakeLists.txt          |  4 +--
 pubsub/pubsub_discovery/CMakeLists.txt          |  4 +--
 pubsub/pubsub_serializer_json/CMakeLists.txt    |  4 +--
 pubsub/pubsub_topology_manager/CMakeLists.txt   |  4 +--
 pubsub/test/CMakeLists.txt                      | 12 ++++-----
 .../discovery_configured/CMakeLists.txt         |  4 +--
 remote_services/discovery_etcd/CMakeLists.txt   |  4 +--
 remote_services/discovery_shm/CMakeLists.txt    |  4 +--
 remote_services/examples/CMakeLists.txt         | 16 ++++++------
 .../examples/calculator_endpoint/CMakeLists.txt |  2 +-
 .../calculator_endpoint2/CMakeLists.txt         |  2 +-
 .../examples/calculator_proxy/CMakeLists.txt    |  2 +-
 .../examples/calculator_proxy2/CMakeLists.txt   |  2 +-
 .../examples/calculator_service/CMakeLists.txt  |  2 +-
 .../examples/calculator_shell/CMakeLists.txt    |  2 +-
 .../remote_service_admin_dfi/rsa/CMakeLists.txt |  4 +--
 .../rsa_tst/bundle/CMakeLists.txt               |  2 +-
 .../remote_service_admin_http/CMakeLists.txt    |  4 +--
 .../remote_service_admin_shm/CMakeLists.txt     |  4 +--
 remote_services/topology_manager/CMakeLists.txt |  4 +--
 .../tms_tst/bundle/CMakeLists.txt               |  2 +-
 .../tms_tst/disc_mock/CMakeLists.txt            |  2 +-
 remote_shell/CMakeLists.txt                     |  6 ++---
 shell/CMakeLists.txt                            |  4 +--
 shell_bonjour/CMakeLists.txt                    |  4 +--
 shell_tui/CMakeLists.txt                        |  4 +--
 87 files changed, 178 insertions(+), 183 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/cmake/cmake_celix/BundlePackaging.cmake
----------------------------------------------------------------------
diff --git a/cmake/cmake_celix/BundlePackaging.cmake b/cmake/cmake_celix/BundlePackaging.cmake
index f3adde3..7a126e9 100644
--- a/cmake/cmake_celix/BundlePackaging.cmake
+++ b/cmake/cmake_celix/BundlePackaging.cmake
@@ -89,7 +89,7 @@ function(check_bundle BUNDLE)
 endfunction()
 
 function(add_bundle)
-    #message(DEPRECATION"add_bundle is DEPRECATION, use add_celix_bundle instead.")
+    message(DEPRECATION "add_bundle is DEPRECATION, use add_celix_bundle instead.")
     add_celix_bundle(${ARGN})
 endfunction()
 function(add_celix_bundle)
@@ -228,7 +228,7 @@ function(add_celix_bundle)
     ################################
 
     if(BUNDLE_SOURCES) 
-        bundle_libs(${BUNDLE_TARGET_NAME} "PRIVATE" TRUE ${BUNDLE_TARGET_NAME})
+        celix_bundle_libs(${BUNDLE_TARGET_NAME} "PRIVATE" TRUE ${BUNDLE_TARGET_NAME})
         set_target_properties(${BUNDLE_TARGET_NAME} PROPERTIES "BUNDLE_ACTIVATOR" "$<TARGET_SONAME_FILE_NAME:${BUNDLE_TARGET_NAME}>")
         set_target_properties(${BUNDLE_TARGET_NAME} PROPERTIES "BUILD_WITH_INSTALL_RPATH" true)
 
@@ -261,7 +261,7 @@ function(add_celix_bundle)
 endfunction()
 
 function(bundle_export_libs)
-    #message(DEPRECATION"bundle_export_libs is DEPRECATION, use celix_bundle_export_libs instead.")
+    message(DEPRECATION "bundle_export_libs is DEPRECATION, use celix_bundle_export_libs instead.")
     celix_bundle_export_libs(${ARGN})
 endfunction()
 function(celix_bundle_export_libs)
@@ -271,7 +271,7 @@ function(celix_bundle_export_libs)
 endfunction()
 
 function(bundle_private_libs)
-    #message(DEPRECATION"bundle_private_libs is DEPRECATION, use celix_bundle_private_libs instead.")
+    message(DEPRECATION "bundle_private_libs is DEPRECATION, use celix_bundle_private_libs instead.")
     celix_bundle_private_libs(${ARGN})
 endfunction()
 function(celix_bundle_private_libs)
@@ -281,7 +281,7 @@ function(celix_bundle_private_libs)
 endfunction()
 
 function(bundle_libs)
-    #message(DEPRECATION"bundle_libs is DEPRECATION, use celix_bundle_libs instead.")
+    message(DEPRECATION "bundle_libs is DEPRECATION, use celix_bundle_libs instead.")
     celix_bundle_libs(${ARGN})
 endfunction()
 function(celix_bundle_libs)
@@ -348,7 +348,7 @@ function(celix_bundle_libs)
 endfunction()
 
 function(bundle_import_libs)
-    #message(DEPRECATION"bundle_import_libs is DEPRECATION, use celix_bundle_import_libs instead.")
+    message(DEPRECATION "bundle_import_libs is DEPRECATION, use celix_bundle_import_libs instead.")
     celix_bundle_import_libs(${ARGN})
 endfunction()
 function(celix_bundle_import_libs)
@@ -378,7 +378,7 @@ function(celix_bundle_import_libs)
 endfunction()
 
 function(bundle_files)
-    #message(DEPRECATION"bundle_files is DEPRECATION, use celix_bundle_files instead.")
+    message(DEPRECATION "bundle_files is DEPRECATION, use celix_bundle_files instead.")
     celix_bundle_files(${ARGN})
 endfunction()
 function(celix_bundle_files)
@@ -405,7 +405,7 @@ function(celix_bundle_files)
 endfunction()
 
 function(bundle_headers)
-    #message(DEPRECATION"bundle_headers is DEPRECATION, use celix_bundle_headers instead.")
+    message(DEPRECATION "bundle_headers is DEPRECATION, use celix_bundle_headers instead.")
     celix_bundle_headers(${ARGN})
 endfunction()
 function(celix_bundle_headers)
@@ -424,7 +424,7 @@ function(celix_bundle_headers)
 endfunction()
 
 function(bundle_symbolic_name)
-    #message(DEPRECATION"bundle_symbolic_name is DEPRECATION, use celix_bundle_symbolic_name instead.")
+    message(DEPRECATION "bundle_symbolic_name is DEPRECATION, use celix_bundle_symbolic_name instead.")
     celix_bundle_symbolic_name(${ARGN})
 endfunction()
 function(celix_bundle_symbolic_name BUNDLE SYMBOLIC_NAME)
@@ -432,7 +432,7 @@ function(celix_bundle_symbolic_name BUNDLE SYMBOLIC_NAME)
 endfunction()
 
 function(bundle_name)
-    #message(DEPRECATION"bundle_name is DEPRECATION, use celix_bundle_name instead.")
+    message(DEPRECATION "bundle_name is DEPRECATION, use celix_bundle_name instead.")
     celix_bundle_symbolic_name(${ARGN})
 endfunction()
 function(celix_bundle_name BUNDLE NAME)
@@ -440,7 +440,7 @@ function(celix_bundle_name BUNDLE NAME)
 endfunction()
 
 function(bundle_version)
-    #message(DEPRECATION"bundle_version is DEPRECATION, use celix_bundle_version instead.")
+    message(DEPRECATION "bundle_version is DEPRECATION, use celix_bundle_version instead.")
     celix_bundle_symbolic_name(${ARGN})
 endfunction()
 function(celix_bundle_version BUNDLE VERSION)
@@ -448,7 +448,7 @@ function(celix_bundle_version BUNDLE VERSION)
 endfunction()
 
 function(bundle_description)
-    #message(DEPRECATION"bundle_description is DEPRECATION, use celix_bundle_description instead.")
+    message(DEPRECATION "bundle_description is DEPRECATION, use celix_bundle_description instead.")
     celix_bundle_symbolic_name(${ARGN})
 endfunction()
 function(celix_bundle_description BUNDLE DESC)
@@ -456,7 +456,7 @@ function(celix_bundle_description BUNDLE DESC)
 endfunction()
 
 function(install_bundle)
-    #message(DEPRECATION"install_bundle is DEPRECATION, use install_celix_bundle instead.")
+    message(DEPRECATION "install_bundle is DEPRECATION, use install_celix_bundle instead.")
     install_celix_bundle(${ARGN})
 endfunction()
 function(install_celix_bundle)

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/cmake/cmake_celix/DeployPackaging.cmake
----------------------------------------------------------------------
diff --git a/cmake/cmake_celix/DeployPackaging.cmake b/cmake/cmake_celix/DeployPackaging.cmake
index 26f5c90..707201f 100644
--- a/cmake/cmake_celix/DeployPackaging.cmake
+++ b/cmake/cmake_celix/DeployPackaging.cmake
@@ -28,7 +28,7 @@ set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${CLEANFILES}")
 #####
 
 function(add_deploy)
-    #message(DEPRECATION "add_deploy is depecrated, use add_celix_container instead.")
+    message(DEPRECATION "add_deploy is depecrated, use add_celix_container instead.")
     add_celix_container(${ARGN})
 endfunction()
 
@@ -221,7 +221,7 @@ endfunction()
 #NOTE can be used for drivers/proxies/endpoints bundle dirs
 
 function(deploy_bundles_dir)
-    #message(DEPRECATION "deploy_bundles_dir is depecrated, use celix_container_bundles_dir instead.")
+    message(DEPRECATION "deploy_bundles_dir is depecrated, use celix_container_bundles_dir instead.")
     celix_container_bundles_dir(${ARGN})
 endfunction()
 function(celix_container_bundles_dir)
@@ -265,7 +265,7 @@ function(celix_container_bundles_dir)
 endfunction()
 
 function(deploy_bundles)
-    #message(DEPRECATION "deploy_bundles is depecrated, use celix_container_bundles instead.")
+    message(DEPRECATION "deploy_bundles is depecrated, use celix_container_bundles instead.")
     celix_container_bundles(${ARGN})
 endfunction()
 function(celix_container_bundles)
@@ -303,7 +303,7 @@ function(celix_container_bundles)
 endfunction()
 
 function(deploy_properties)
-    #message(DEPRECATION "deploy_properties is depecrated, use celix_container_properties instead.")
+    message(DEPRECATION "deploy_properties is depecrated, use celix_container_properties instead.")
     celix_container_properties(${ARGN})
 endfunction()
 function(celix_container_properties)
@@ -322,7 +322,7 @@ function(celix_container_properties)
 endfunction()
 
 function(deploy_embedded_properties)
-    #message(DEPRECATION "deploy_embedded_properties is depecrated, use celix_container_embedded_properties instead.")
+    message(DEPRECATION "deploy_embedded_properties is depecrated, use celix_container_embedded_properties instead.")
     celix_container_embedded_properties(${ARGN})
 endfunction()
 function(celix_container_embedded_properties)

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/config_admin/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/config_admin/CMakeLists.txt b/config_admin/CMakeLists.txt
index 8087662..4beb3de 100644
--- a/config_admin/CMakeLists.txt
+++ b/config_admin/CMakeLists.txt
@@ -45,7 +45,7 @@ if (CONFIG_ADMIN)
    endif(ENABLE_TESTING)
 	
 
-   add_deploy(config_admin_deploy 
+   add_celix_container(config_admin_deploy
        NAME "config_admin"
        BUNDLES 
         config_admin 

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/config_admin/config_admin_tst/example_test/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/config_admin/config_admin_tst/example_test/CMakeLists.txt b/config_admin/config_admin_tst/example_test/CMakeLists.txt
index d4c4b3d..273ba5f 100644
--- a/config_admin/config_admin_tst/example_test/CMakeLists.txt
+++ b/config_admin/config_admin_tst/example_test/CMakeLists.txt
@@ -21,7 +21,7 @@ include_directories("${PROJECT_SOURCE_DIR}/framework/public/include")
 include_directories("${PROJECT_SOURCE_DIR}/config_admin/service/public/include")
 include_directories("private/include")
 
-add_bundle(example_test
+add_celix_bundle(example_test
     VERSION 0.1.0
     SOURCES
 	private/src/activator

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/config_admin/config_admin_tst/example_test2/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/config_admin/config_admin_tst/example_test2/CMakeLists.txt b/config_admin/config_admin_tst/example_test2/CMakeLists.txt
index d312673..8652f2d 100644
--- a/config_admin/config_admin_tst/example_test2/CMakeLists.txt
+++ b/config_admin/config_admin_tst/example_test2/CMakeLists.txt
@@ -21,7 +21,7 @@ include_directories("${PROJECT_SOURCE_DIR}/framework/public/include")
 include_directories("${PROJECT_SOURCE_DIR}/config_admin/service/public/include")
 include_directories("private/include")
 
-add_bundle(example_test2 SOURCES
+add_celix_bundle(example_test2 SOURCES
 	private/src/activator
 	private/src/example_managed_service_impl
     VERSION 0.1.0

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/config_admin/example/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/config_admin/example/CMakeLists.txt b/config_admin/example/CMakeLists.txt
index c1c80bd..4c7fcef 100644
--- a/config_admin/example/CMakeLists.txt
+++ b/config_admin/example/CMakeLists.txt
@@ -17,7 +17,7 @@ include_directories(
     ../service/public/include
 )
 
-add_bundle(config_admin_example 
+add_celix_bundle(config_admin_example
 	VERSION 0.0.1
 	SOURCES
 		private/src/bundle_activator

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/config_admin/service/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/config_admin/service/CMakeLists.txt b/config_admin/service/CMakeLists.txt
index e194081..18289d0 100644
--- a/config_admin/service/CMakeLists.txt
+++ b/config_admin/service/CMakeLists.txt
@@ -21,7 +21,7 @@ include_directories("${PROJECT_SOURCE_DIR}/framework/public/include")
 include_directories("public/include")
 include_directories("private/include")
  		
-add_bundle(config_admin 
+add_celix_bundle(config_admin
     VERSION 0.0.1
     SOURCES
 	private/src/activator 

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/dependency_manager/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/dependency_manager/CMakeLists.txt b/dependency_manager/CMakeLists.txt
index 931789a..952cfe7 100644
--- a/dependency_manager/CMakeLists.txt
+++ b/dependency_manager/CMakeLists.txt
@@ -30,7 +30,7 @@ if (DEPENDENCY_MANAGER)
       endif(CMAKE_UNAME)
     endif(UNIX AND NOT WIN32)
 
-    add_bundle(dm_shell
+    add_celix_bundle(dm_shell
         SYMBOLIC_NAME "apache_celix_dm_shell"
         VERSION "1.0.0"
         NAME "Apache Celix DM Shell Commands"
@@ -85,7 +85,7 @@ if (DEPENDENCY_MANAGER)
 		COMPONENT
 			dependency_manager
 	)
-    install_bundle(dm_shell)
+    install_celix_bundle(dm_shell)
     install(TARGETS dependency_manager_static DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT dependency_manager)
     install(TARGETS dependency_manager_so DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT dependency_manager)
 

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/deployment_admin/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/deployment_admin/CMakeLists.txt b/deployment_admin/CMakeLists.txt
index a6094ad..51fe2ba 100644
--- a/deployment_admin/CMakeLists.txt
+++ b/deployment_admin/CMakeLists.txt
@@ -29,7 +29,7 @@ if (DEPLOYMENT_ADMIN)
     include_directories("${PROJECT_SOURCE_DIR}/deployment_admin/private/include")
     include_directories("${PROJECT_SOURCE_DIR}/deployment_admin/public/include")
     
-    add_bundle(deployment_admin
+    add_celix_bundle(deployment_admin
         SYMBOLIC_NAME "apache_celix_deployment_admin"
         VERSION "0.0.2"
         NAME "Apache Celix Deployment Admin"
@@ -56,7 +56,7 @@ if (DEPLOYMENT_ADMIN)
     )
 
     
-    install_bundle(deployment_admin
+    install_celix_bundle(deployment_admin
     	HEADERS
     		public/include/resource_processor.h
 	)
@@ -64,7 +64,7 @@ if (DEPLOYMENT_ADMIN)
     target_link_libraries(deployment_admin celix_framework ${CURL_LIBRARIES})
 
 
-    add_deploy(deployment-admin
+    add_celix_container(deployment-admin
         BUNDLES deployment_admin shell shell_tui log_service log_writer
         PROPERTIES
     		"deployment_admin_url=http://localhost:8080"

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/device_access/device_access/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/device_access/device_access/CMakeLists.txt b/device_access/device_access/CMakeLists.txt
index 9668156..52b8694 100644
--- a/device_access/device_access/CMakeLists.txt
+++ b/device_access/device_access/CMakeLists.txt
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-add_bundle(device_manager
+add_celix_bundle(device_manager
 	SYMBOLIC_NAME "apache_celix_device_manager"
 	VERSION "0.0.2"
 	NAME "Apache Celix Device Access Device Manager"
@@ -34,7 +34,7 @@ add_bundle(device_manager
 		private/include/driver_matcher.h
 )
 
-install_bundle(device_manager
+install_celix_bundle(device_manager
 	HEADERS
 		public/include/device.h
 		public/include/driver_locator.h

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/device_access/driver_locator/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/device_access/driver_locator/CMakeLists.txt b/device_access/driver_locator/CMakeLists.txt
index 9138f4a..88c1fed 100644
--- a/device_access/driver_locator/CMakeLists.txt
+++ b/device_access/driver_locator/CMakeLists.txt
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-add_bundle(driver_locator
+add_celix_bundle(driver_locator
 	SYMBOLIC_NAME "apache_celix_driver_locator"
 	VERSION "0.0.2"
 	NAME "Apache Celix Device Access Driver Locator"
@@ -24,7 +24,7 @@ add_bundle(driver_locator
 		private/src/driver_locator
 )
 
-install_bundle(driver_locator)
+install_celix_bundle(driver_locator)
 
 include_directories(${PROJECT_SOURCE_DIR}/device_access/device_access/public/include)
 include_directories(private/include)

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/device_access/example/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/device_access/example/CMakeLists.txt b/device_access/example/CMakeLists.txt
index 1a5cd77..89b4f21 100644
--- a/device_access/example/CMakeLists.txt
+++ b/device_access/example/CMakeLists.txt
@@ -21,7 +21,7 @@ if(DEVICE_ACCESS_EXAMPLE)
 	add_subdirectory(consuming_driver)
 	add_subdirectory(refining_driver)
 
-    add_deploy(device_access_example
+    add_celix_container(device_access_example
         BUNDLES device_manager driver_locator shell shell_tui log_service base_driver
     )
 

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/device_access/example/base_driver/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/device_access/example/base_driver/CMakeLists.txt b/device_access/example/base_driver/CMakeLists.txt
index c354d3b..ecc62df 100644
--- a/device_access/example/base_driver/CMakeLists.txt
+++ b/device_access/example/base_driver/CMakeLists.txt
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-add_bundle(base_driver
+add_celix_bundle(base_driver
  	SYMBOLIC_NAME "apache_celix_base_driver_example"
  	VERSION "0.0.1"
  	NAME "Apache Celix Device Access Base Driver Example"

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/device_access/example/consuming_driver/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/device_access/example/consuming_driver/CMakeLists.txt b/device_access/example/consuming_driver/CMakeLists.txt
index 061d350..5bb6497 100644
--- a/device_access/example/consuming_driver/CMakeLists.txt
+++ b/device_access/example/consuming_driver/CMakeLists.txt
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-add_bundle(word_consumingdriver
+add_celix_bundle(word_consumingdriver
  	SYMBOLIC_NAME "apache_celix_word_consuming_driver_example"
  	VERSION "0.0.1"
  	NAME "Apache Celix Device Access Word Consuming Driver Example"

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/device_access/example/refining_driver/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/device_access/example/refining_driver/CMakeLists.txt b/device_access/example/refining_driver/CMakeLists.txt
index d16584f..45aa5e4 100644
--- a/device_access/example/refining_driver/CMakeLists.txt
+++ b/device_access/example/refining_driver/CMakeLists.txt
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-add_bundle(char_refiningdriver
+add_celix_bundle(char_refiningdriver
  	SYMBOLIC_NAME "apache_celix_char_refining_driver_example"
  	NAME "Apache Celix Device Access Char Refining Driver Example"
  	VERSION "0.0.1"

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/documents/cmake_commands/readme.md
----------------------------------------------------------------------
diff --git a/documents/cmake_commands/readme.md b/documents/cmake_commands/readme.md
index 6de67e1..661f5cc 100644
--- a/documents/cmake_commands/readme.md
+++ b/documents/cmake_commands/readme.md
@@ -173,7 +173,7 @@ add_celix_container(<celix_container_name>
 ```
 
 The provided bundle targets for a celix container do not have to exists (yet).
-This removes the need for correctly ordering the add_bundle commands so that all bundle target are present before an add_celix_container command.
+This removes the need for correctly ordering the add_celix_bundle commands so that all bundle target are present before an add_celix_container command.
 If the bundle target is never added CMake will give an error:
 ```
   Error evaluating generator expression:
@@ -252,7 +252,7 @@ The add_celix_docker target is a executable target and can be used to link libra
 The docker dir can be found in `<cmake_build_dir>/docker[/<group_name>]/<docker_name>`. 
   
 The provided bundle targets for a docker dir do not have to exists (yet).
-This removes the need for correctly order the add_bundle commands so that all bundle target are present before 
+This removes the need for correctly order the add_celix_bundle commands so that all bundle target are present before 
 an `add_celix_docker` command.
 If the bundle target is never added CMake will give an error:
   ```

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/documents/getting_started/creating_a_simple_bundle.md
----------------------------------------------------------------------
diff --git a/documents/getting_started/creating_a_simple_bundle.md b/documents/getting_started/creating_a_simple_bundle.md
index d2f7d11..784e11c 100644
--- a/documents/getting_started/creating_a_simple_bundle.md
+++ b/documents/getting_started/creating_a_simple_bundle.md
@@ -88,7 +88,7 @@ And add the following CMakeLists.txt file for the C Bundle:
 ```CMake	
 #${WS}/myproject/bundles/hello_world/CMakeLists.txt
 
-add_bundle(hello_world
+add_celix_bundle(hello_world
     VERSION 1.0.0
 	SOURCES
         private/src/hello_world_activator.c
@@ -110,7 +110,7 @@ include_directories(
     private/include
 )
 
-add_bundle(HelloWorld
+add_celix_bundle(HelloWorld
     VERSION 1.0.0
 	SOURCES
         private/src/HelloWorldActivator.cc
@@ -124,7 +124,7 @@ endif()
 ```
 	
 These CMakeLists.txt files declare that the bundles should be build based on the build result (shared library) of the declared sources (in this case the `private/src/hello_world_activator.c` or `private/src/HelloWorldActivator.cc` source). 
-The add_bundle function is an Apache Celix specific CMake extension. 
+The `add_celix_bundle` CMake function is an Apache Celix specific CMake extension. 
 The library used for the bundle will also be linked against the dependency manager static library. 
 
 
@@ -222,9 +222,6 @@ mkdir myproject-build
 cd myproject-build
 cmake ../myproject
 make all  
-#Or
-#cmake -G Ninja ../myproject
-#ninja
 ```	
 
 Hopefully you will some some build results scrolling over the screen and actual build results in the build directory. There should be a hello_world.zip in the bundles/hello_world directory, this the actual bundle.  
@@ -234,11 +231,12 @@ A bundle on its own has no real value, so lets setup a deployment and run the Ap
 
 To create a deployment for the hello world bundles two things are needed: 
 	
-1. Add a `add_deploy` statement in the `CMakeLists.txt` file declaring what to deploy and under which name.
+1. Add a `add_celix_container` statement in the `CMakeLists.txt` file declaring what to deploy and under which name.
 
 ```CMake
 #${WS}/myproject/CMakeLists.txt
-add_deploy(myproject 
+add_celix_container(myproject
+    CXX 
     BUNDLES 
 	    ${CELIX_BUNDLES_DIR}/shell.zip 
 	    ${CELIX_BUNDLES_DIR}/shell_tui.zip
@@ -253,8 +251,6 @@ Rerun make again form the build project. the make files generated by CMake will
 ```bash 		
 cd ${WS}/myproject-build
 make -j
-#or
-#ninja
 ```	
 
 Now a deploy directory myproject should be available in the deploy directory. This directory contains - among other files - a release.sh script. This can be used to setup the required environment variables (like LD_LIBRARY_PATH).
@@ -262,8 +258,7 @@ Now a deploy directory myproject should be available in the deploy directory. Th
 ```bash
 cd ${WS}/myproject-build/deploy/myproject
 . ./release.sh
-celix
-#or ./hello
+./hello
 ```
 
 The hello_world bundle should be started with the famous "Hello World" text printed twice from the C and C++ bundle. The shell and shell_tui bundle are also deployed and these can be used to query and control the running framework. Below some commands are shown for querying the installed bundles, listing all known shell command, showing the help of a specific command and stopping a specific bundle (note that bundle 0 is the framework "bundle"):

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/event_admin/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/event_admin/CMakeLists.txt b/event_admin/CMakeLists.txt
index e0d830c..2882069 100644
--- a/event_admin/CMakeLists.txt
+++ b/event_admin/CMakeLists.txt
@@ -27,16 +27,16 @@ if(EVENT_ADMIN)
   #  deploy("event_publisher_example" BUNDLES event_admin event_publisher shell shell_tui log_service log_writer)
 #	deploy("event_handler_example" BUNDLES event_admin event_handler shell shell_tui log_service log_writer)
 #	deploy("event_admin_example" BUNDLES event_admin event_publisher event_handler shell shell_tui log_service log_writer)
-	add_deploy(event_admin_service
+	add_celix_container(event_admin_service
 			NAME "event_admin_service"
 			GROUP "event_admin/event_admin"
 			BUNDLES event_admin shell shell_tui log_service log_writer
 			)
-	add_deploy(event_handler_consumer
+	add_celix_container(event_handler_consumer
 			NAME "event_handler_consumer"
 			GROUP "event_handler"
 			BUNDLES event_handler event_admin shell shell_tui log_service log_writer)
-	add_deploy(event_publisher_consumer
+	add_celix_container(event_publisher_consumer
 			NAME "event_publisher_consumer"
 			GROUP "event_publisher"
 			BUNDLES event_publisher event_handler event_admin shell shell_tui log_service log_writer)

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/event_admin/event_admin/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/event_admin/event_admin/CMakeLists.txt b/event_admin/event_admin/CMakeLists.txt
index 4fe7ccd..52b1120 100644
--- a/event_admin/event_admin/CMakeLists.txt
+++ b/event_admin/event_admin/CMakeLists.txt
@@ -22,7 +22,7 @@ include_directories(private/include)
 include_directories("${PROJECT_SOURCE_DIR}/utils/public/include")
 include_directories("${PROJECT_SOURCE_DIR}/log_service/public/include")
 
-add_bundle(event_admin
+add_celix_bundle(event_admin
     VERSION 0.0.0
 	SOURCES 
 		private/src/event_admin_activator.c
@@ -34,6 +34,6 @@ add_bundle(event_admin
 		${PROJECT_SOURCE_DIR}/log_service/public/src/log_helper.c
 )
 
-install_bundle(event_admin)
+install_celix_bundle(event_admin)
 
 target_link_libraries(event_admin celix_framework celix_utils)

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/event_admin/event_handler/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/event_admin/event_handler/CMakeLists.txt b/event_admin/event_handler/CMakeLists.txt
index c786a78..fe2609c 100644
--- a/event_admin/event_handler/CMakeLists.txt
+++ b/event_admin/event_handler/CMakeLists.txt
@@ -22,7 +22,7 @@ include_directories(${PROJECT_SOURCE_DIR}/event_admin/event_admin/public/include
 include_directories("${PROJECT_SOURCE_DIR}/log_service/public/include")
 
 
-add_bundle(event_handler
+add_celix_bundle(event_handler
     VERSION 0.0.0
 	SOURCES 
 		private/src/event_handler_activator.c
@@ -30,6 +30,6 @@ add_bundle(event_handler
 		${PROJECT_SOURCE_DIR}/log_service/public/src/log_helper.c
 )
 
-install_bundle(event_handler)
+install_celix_bundle(event_handler)
 
 target_link_libraries(event_handler celix_framework celix_utils)

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/event_admin/event_publisher/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/event_admin/event_publisher/CMakeLists.txt b/event_admin/event_publisher/CMakeLists.txt
index 1999a9c..01b7b10 100644
--- a/event_admin/event_publisher/CMakeLists.txt
+++ b/event_admin/event_publisher/CMakeLists.txt
@@ -21,7 +21,7 @@ include_directories(private/include)
 include_directories(${PROJECT_SOURCE_DIR}/event_admin/event_admin/public/include)
 include_directories(${PROJECT_SOURCE_DIR}/log_service/public/include)
 
-add_bundle(event_publisher
+add_celix_bundle(event_publisher
     VERSION 0.0.0
 		SOURCES
 		private/src/event_publisher_activator.c
@@ -29,6 +29,6 @@ add_bundle(event_publisher
 		${PROJECT_SOURCE_DIR}/log_service/public/src/log_helper.c
 )
 
-install_bundle(event_publisher)
+install_celix_bundle(event_publisher)
 
 target_link_libraries(event_publisher celix_framework celix_utils)

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/examples/dm_example/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/examples/dm_example/CMakeLists.txt b/examples/dm_example/CMakeLists.txt
index fa6ec57..16a8ce1 100644
--- a/examples/dm_example/CMakeLists.txt
+++ b/examples/dm_example/CMakeLists.txt
@@ -27,7 +27,7 @@ if (BUILD_DEPENDENCY_MANAGER)
     add_subdirectory(phase3)
 
 
-    add_deploy("dm_example"
+    add_celix_container("dm_example"
         COPY 
         BUNDLES
             shell

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/examples/dm_example/phase1/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/examples/dm_example/phase1/CMakeLists.txt b/examples/dm_example/phase1/CMakeLists.txt
index 99abe65..dabb88f 100644
--- a/examples/dm_example/phase1/CMakeLists.txt
+++ b/examples/dm_example/phase1/CMakeLists.txt
@@ -20,7 +20,7 @@ include_directories(
         ../services
 )
 
-add_bundle(phase1
+add_celix_bundle(phase1
     SYMBOLIC_NAME phase1
     VERSION 0.0.1
     SOURCES

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/examples/dm_example/phase2a/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/examples/dm_example/phase2a/CMakeLists.txt b/examples/dm_example/phase2a/CMakeLists.txt
index 31c27a6..0bd8e7e 100644
--- a/examples/dm_example/phase2a/CMakeLists.txt
+++ b/examples/dm_example/phase2a/CMakeLists.txt
@@ -20,7 +20,7 @@ include_directories(
         ../services
 )
 
-add_bundle(phase2a
+add_celix_bundle(phase2a
         SYMBOLIC_NAME phase2a
         VERSION 0.0.1
         SOURCES

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/examples/dm_example/phase2b/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/examples/dm_example/phase2b/CMakeLists.txt b/examples/dm_example/phase2b/CMakeLists.txt
index 1d107ec..775e786 100644
--- a/examples/dm_example/phase2b/CMakeLists.txt
+++ b/examples/dm_example/phase2b/CMakeLists.txt
@@ -20,7 +20,7 @@ include_directories(
         ../services
 )
 
-add_bundle(phase2b
+add_celix_bundle(phase2b
         SYMBOLIC_NAME phase2b
         VERSION 0.0.1
         SOURCES

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/examples/dm_example/phase3/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/examples/dm_example/phase3/CMakeLists.txt b/examples/dm_example/phase3/CMakeLists.txt
index aea9f9e..163980f 100644
--- a/examples/dm_example/phase3/CMakeLists.txt
+++ b/examples/dm_example/phase3/CMakeLists.txt
@@ -20,7 +20,7 @@ include_directories(
         ../services
 )
 
-add_bundle(phase3
+add_celix_bundle(phase3
         SYMBOLIC_NAME phase3
         VERSION 0.0.1
         SOURCES

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/examples/dm_example_cxx/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/examples/dm_example_cxx/CMakeLists.txt b/examples/dm_example_cxx/CMakeLists.txt
index b07f5cc..09b63ab 100644
--- a/examples/dm_example_cxx/CMakeLists.txt
+++ b/examples/dm_example_cxx/CMakeLists.txt
@@ -31,7 +31,7 @@ if (BUILD_DEPENDENCY_MANAGER_CXX)
     add_subdirectory(phase3_locking)
 
 
-    add_deploy("dm_example_cxx"
+    add_celix_container("dm_example_cxx"
         COPY 
         CXX
         BUNDLES

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/examples/dm_example_cxx/phase1/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/examples/dm_example_cxx/phase1/CMakeLists.txt b/examples/dm_example_cxx/phase1/CMakeLists.txt
index 3c0544a..1a5d049 100644
--- a/examples/dm_example_cxx/phase1/CMakeLists.txt
+++ b/examples/dm_example_cxx/phase1/CMakeLists.txt
@@ -20,7 +20,7 @@ include_directories(
         ../api
 )
 
-add_bundle(phase1_cxx
+add_celix_bundle(phase1_cxx
     SYMBOLIC_NAME phase1_cxx
     VERSION 0.0.1
     SOURCES

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/examples/dm_example_cxx/phase2a/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/examples/dm_example_cxx/phase2a/CMakeLists.txt b/examples/dm_example_cxx/phase2a/CMakeLists.txt
index 8528078..b2a625a 100644
--- a/examples/dm_example_cxx/phase2a/CMakeLists.txt
+++ b/examples/dm_example_cxx/phase2a/CMakeLists.txt
@@ -20,7 +20,7 @@ include_directories(
         ../api
 )
 
-add_bundle(phase2a_cxx
+add_celix_bundle(phase2a_cxx
     SYMBOLIC_NAME phase2a_cxx
     VERSION 0.0.1
     SOURCES

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/examples/dm_example_cxx/phase2b/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/examples/dm_example_cxx/phase2b/CMakeLists.txt b/examples/dm_example_cxx/phase2b/CMakeLists.txt
index 29ff664..ba93f45 100644
--- a/examples/dm_example_cxx/phase2b/CMakeLists.txt
+++ b/examples/dm_example_cxx/phase2b/CMakeLists.txt
@@ -21,7 +21,7 @@ include_directories(
         ../api
 )
 
-add_bundle(phase2b_cxx
+add_celix_bundle(phase2b_cxx
     SYMBOLIC_NAME phase2b_cxx
     VERSION 0.0.1
     SOURCES

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/examples/dm_example_cxx/phase3/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/examples/dm_example_cxx/phase3/CMakeLists.txt b/examples/dm_example_cxx/phase3/CMakeLists.txt
index 99c3a5b..3c23582 100644
--- a/examples/dm_example_cxx/phase3/CMakeLists.txt
+++ b/examples/dm_example_cxx/phase3/CMakeLists.txt
@@ -20,7 +20,7 @@ include_directories(
         ../api
 )
 
-add_bundle(phase3_cxx
+add_celix_bundle(phase3_cxx
     SYMBOLIC_NAME phase3_cxx
     VERSION 0.0.1
     SOURCES

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/examples/dm_example_cxx/phase3_locking/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/examples/dm_example_cxx/phase3_locking/CMakeLists.txt b/examples/dm_example_cxx/phase3_locking/CMakeLists.txt
index 07c9b54..ef10a33 100644
--- a/examples/dm_example_cxx/phase3_locking/CMakeLists.txt
+++ b/examples/dm_example_cxx/phase3_locking/CMakeLists.txt
@@ -20,7 +20,7 @@ include_directories(
         ../api
 )
 
-add_bundle(phase3_locking_cxx
+add_celix_bundle(phase3_locking_cxx
     SYMBOLIC_NAME phase3_locking_cxx
     VERSION 0.0.1
     SOURCES

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/examples/hello_world/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/examples/hello_world/CMakeLists.txt b/examples/hello_world/CMakeLists.txt
index 0ed7ed6..e90149e 100644
--- a/examples/hello_world/CMakeLists.txt
+++ b/examples/hello_world/CMakeLists.txt
@@ -32,29 +32,29 @@ add_library(hello_test2lib SHARED
 )
 set_library_version(hello_test2lib "3.3.3")
 
-add_bundle(hello
+add_celix_bundle(hello
     VERSION "1.2"
     SOURCES
         private/src/activator.c
     IMPORT_LIBRARIES hello_test2lib
 )
 
-add_bundle(hello_export
+add_celix_bundle(hello_export
     VERSION "1.0"
     NO_ACTIVATOR
     EXPORT_LIBRARIES hello_test2lib
 )
 
-bundle_private_libs(hello
+celix_bundle_private_libs(hello
     hello_testlib
 )
 
-add_deploy(helloworld_byref
+add_celix_container(helloworld_byref
     GROUP hello
     BUNDLES hello_export hello shell shell_tui
 )
 
-add_deploy(helloworld_withcopy
+add_celix_container(helloworld_withcopy
     GROUP hello
     COPY #Ensures that bundles are copied in the deploy location
     BUNDLES hello_export hello shell shell_tui

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/examples/hello_world_test/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/examples/hello_world_test/CMakeLists.txt b/examples/hello_world_test/CMakeLists.txt
index 39198ed..2d146fc 100644
--- a/examples/hello_world_test/CMakeLists.txt
+++ b/examples/hello_world_test/CMakeLists.txt
@@ -16,19 +16,19 @@
 # under the License.
 
 #############################################################################
-## NOTE Examples of using add_bundle and add_deploy and assorted commands ##
+## NOTE Examples of using add_celix_bundle and add_celix_container and assorted commands ##
 #############################################################################
 
 include_directories("${PROJECT_SOURCE_DIR}/utils/public/include")
 include_directories(public/include)
 
-add_bundle(hellotest1
+add_celix_bundle(hellotest1
     VERSION "1.2"
     SOURCES
         private/src/activator
 )
 
-bundle_headers(hellotest1
+celix_bundle_headers(hellotest1
     "X-WebContent: web"
     "X-MediaType: application/json"
 )
@@ -42,20 +42,20 @@ set_library_version(tlib "4.3.2") # sets target propery VERSION to 4.3.2 and SOV
 #    #/usr/local/lib/libjansson.4.dylib
 #    /usr/lib64/libjansson.so.4
 #)
-bundle_private_libs(hellotest1
+celix_bundle_private_libs(hellotest1
     tlib
     #/usr/lib/libcurl.4.dylib 
     #    /usr/lib64/libcurl.so.4
 )
 
 
-add_deploy(hello_test_deploy
+add_celix_container(hello_test_deploy
     BUNDLES hellotest1 hellotest2 #NOTE hellotest2 is still a unknown target
     PROPERTIES 
         "Test=true"
 )
 
-#add_deploy(hello_test_deploy_fail
+#add_celix_container(hello_test_deploy_fail
 #    BUNDLES nonexisting
 #)
 
@@ -72,12 +72,12 @@ add_library(hello2act SHARED
     private/src/activator
 )
 set_library_version(hello2act "3.2.4") #sets VERSION prop to 3.2.4 and SOVERSION to 3
-add_bundle(hellotest2
+add_celix_bundle(hellotest2
     VERSION "1.0.0" #can be the same as activator lib, but does not have to be
     ACTIVATOR hello2act
 )
 
-#add_bundle(hellotest3
+#add_celix_bundle(hellotest3
 #    VERSION "2.1.2"
     #ACTIVATOR /usr/local/lib/libjansson.4.dylib
     #ACTIVATOR /usr/lib64/libjansson.so.4

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/examples/log_service_example/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/examples/log_service_example/CMakeLists.txt b/examples/log_service_example/CMakeLists.txt
index 6b7e681..fffa68f 100644
--- a/examples/log_service_example/CMakeLists.txt
+++ b/examples/log_service_example/CMakeLists.txt
@@ -21,14 +21,14 @@ include_directories("${PROJECT_SOURCE_DIR}/utils/public/include")
 include_directories("public/include")
 include_directories("${CMAKE_SOURCE_DIR}/log_service/public/include")
 
-add_bundle(log_service_example
+add_celix_bundle(log_service_example
     VERSION "1.0"
     SOURCES
         private/src/activator.c
         ${CMAKE_SOURCE_DIR}/log_service/public/src/log_helper.c
 )
 
-add_deploy(log_example
+add_celix_container(log_example
     GROUP log_service
     BUNDLES log_service_example log_service shell shell_tui
 )

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/examples/mongoose/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/examples/mongoose/CMakeLists.txt b/examples/mongoose/CMakeLists.txt
index f4250ef..2de051f 100644
--- a/examples/mongoose/CMakeLists.txt
+++ b/examples/mongoose/CMakeLists.txt
@@ -28,15 +28,15 @@ if(WIN32)
 	  set(LIBS wsock32)
 endif(WIN32)
 
-add_bundle(mongoose
+add_celix_bundle(mongoose
     VERSION 0.0.1
     SOURCES
         private/src/activator
         private/include/mongoose.h
 )
 
-bundle_files(mongoose ${CMAKE_CURRENT_LIST_DIR}/root)
+celix_bundle_files(mongoose ${CMAKE_CURRENT_LIST_DIR}/root)
 
 target_link_libraries(mongoose celix_framework mongooselib ${LIBS})
 
-add_deploy("mongoose_deploy" BUNDLES shell shell_tui log_service mongoose)
+add_celix_container("mongoose_deploy" BUNDLES shell shell_tui log_service mongoose)

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/examples/service_hook_example/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/examples/service_hook_example/CMakeLists.txt b/examples/service_hook_example/CMakeLists.txt
index 8835a85..8348059 100644
--- a/examples/service_hook_example/CMakeLists.txt
+++ b/examples/service_hook_example/CMakeLists.txt
@@ -21,14 +21,14 @@ if(NOT APPLE)
 include_directories("${PROJECT_SOURCE_DIR}/utils/public/include")
 include_directories("public/include")
 
-add_bundle(hook_example
+add_celix_bundle(hook_example
            BUNDLE_SYMBOLICNAME "Hook_Example"
            VERSION "1.0.0"
            SOURCES
                 private/src/activator
 )
 
-add_deploy("hook_service_example"
+add_celix_container("hook_service_example"
             BUNDLES
                 shell
                 shell_tui

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/examples/services_example_c/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/examples/services_example_c/CMakeLists.txt b/examples/services_example_c/CMakeLists.txt
index f6a5066..3fe4a12 100644
--- a/examples/services_example_c/CMakeLists.txt
+++ b/examples/services_example_c/CMakeLists.txt
@@ -26,7 +26,7 @@ if (BUILD_DEPENDENCY_MANAGER)
     add_subdirectory(foo2)
     add_subdirectory(bar)
 
-    add_deploy(services_example_c
+    add_celix_container(services_example_c
         GROUP services_example
         COPY
         BUNDLES

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/examples/services_example_c/bar/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/examples/services_example_c/bar/CMakeLists.txt b/examples/services_example_c/bar/CMakeLists.txt
index 7ebb45c..47c544d 100644
--- a/examples/services_example_c/bar/CMakeLists.txt
+++ b/examples/services_example_c/bar/CMakeLists.txt
@@ -19,7 +19,7 @@ include_directories(
         private/include
 )
 
-add_bundle(bar
+add_celix_bundle(bar
     SYMBOLIC_NAME bar
     VERSION 1.0.0
     SOURCES

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/examples/services_example_c/foo1/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/examples/services_example_c/foo1/CMakeLists.txt b/examples/services_example_c/foo1/CMakeLists.txt
index 0d1b93c..eee5720 100644
--- a/examples/services_example_c/foo1/CMakeLists.txt
+++ b/examples/services_example_c/foo1/CMakeLists.txt
@@ -19,7 +19,7 @@ include_directories(
         private/include
 )
 
-add_bundle(foo1
+add_celix_bundle(foo1
     SYMBOLIC_NAME foo1
     VERSION 1.0.0
     SOURCES

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/examples/services_example_c/foo2/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/examples/services_example_c/foo2/CMakeLists.txt b/examples/services_example_c/foo2/CMakeLists.txt
index 1096c6c..54f4756 100644
--- a/examples/services_example_c/foo2/CMakeLists.txt
+++ b/examples/services_example_c/foo2/CMakeLists.txt
@@ -19,7 +19,7 @@ include_directories(
         private/include
 )
 
-add_bundle(foo2
+add_celix_bundle(foo2
     SYMBOLIC_NAME foo2
     VERSION 1.0.0
     SOURCES

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/examples/services_example_cxx/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/examples/services_example_cxx/CMakeLists.txt b/examples/services_example_cxx/CMakeLists.txt
index 6f45ef7..bd94983 100644
--- a/examples/services_example_cxx/CMakeLists.txt
+++ b/examples/services_example_cxx/CMakeLists.txt
@@ -26,7 +26,7 @@ if (BUILD_DEPENDENCY_MANAGER_CXX)
     add_subdirectory(foo)
     add_subdirectory(baz)
 
-    add_deploy(services_example_cxx
+    add_celix_container(services_example_cxx
         GROUP services_example
         COPY
         BUNDLES

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/examples/services_example_cxx/bar/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/examples/services_example_cxx/bar/CMakeLists.txt b/examples/services_example_cxx/bar/CMakeLists.txt
index b3cdb07..c6c1441 100644
--- a/examples/services_example_cxx/bar/CMakeLists.txt
+++ b/examples/services_example_cxx/bar/CMakeLists.txt
@@ -19,7 +19,7 @@ include_directories(
         private/include
 )
 
-add_bundle(bar_cxx
+add_celix_bundle(bar_cxx
     SYMBOLIC_NAME Bar
     VERSION 1.0.0
     SOURCES

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/examples/services_example_cxx/baz/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/examples/services_example_cxx/baz/CMakeLists.txt b/examples/services_example_cxx/baz/CMakeLists.txt
index 205c716..1f15ae4 100644
--- a/examples/services_example_cxx/baz/CMakeLists.txt
+++ b/examples/services_example_cxx/baz/CMakeLists.txt
@@ -19,7 +19,7 @@ include_directories(
         private/include
 )
 
-add_bundle(baz_cxx
+add_celix_bundle(baz_cxx
     SYMBOLIC_NAME Baz
     VERSION 1.0.0
     SOURCES

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/examples/services_example_cxx/foo/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/examples/services_example_cxx/foo/CMakeLists.txt b/examples/services_example_cxx/foo/CMakeLists.txt
index e01af00..3feddaf 100644
--- a/examples/services_example_cxx/foo/CMakeLists.txt
+++ b/examples/services_example_cxx/foo/CMakeLists.txt
@@ -19,7 +19,7 @@ include_directories(
         private/include
 )
 
-add_bundle(foo_cxx
+add_celix_bundle(foo_cxx
     SYMBOLIC_NAME Foo
     VERSION 1.0.0
     SOURCES

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/examples/whiteboard/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/examples/whiteboard/CMakeLists.txt b/examples/whiteboard/CMakeLists.txt
index b904241..b81d299 100644
--- a/examples/whiteboard/CMakeLists.txt
+++ b/examples/whiteboard/CMakeLists.txt
@@ -20,5 +20,5 @@ add_subdirectory(publisherB)
 add_subdirectory(tracker)
 add_subdirectory(tracker_depman)
 
-add_deploy("whiteboard" GROUP whiteboard BUNDLES tracker publisherA publisherB shell shell_tui log_service log_writer)
-add_deploy("whiteboard_dependency_manager" GROUP whiteboard BUNDLES tracker_depman publisherA publisherB shell shell_tui log_service log_writer dm_shell)
\ No newline at end of file
+add_celix_container("whiteboard" GROUP whiteboard BUNDLES tracker publisherA publisherB shell shell_tui log_service log_writer)
+add_celix_container("whiteboard_dependency_manager" GROUP whiteboard BUNDLES tracker_depman publisherA publisherB shell shell_tui log_service log_writer dm_shell)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/examples/whiteboard/publisherA/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/examples/whiteboard/publisherA/CMakeLists.txt b/examples/whiteboard/publisherA/CMakeLists.txt
index a219360..5e18149 100644
--- a/examples/whiteboard/publisherA/CMakeLists.txt
+++ b/examples/whiteboard/publisherA/CMakeLists.txt
@@ -16,7 +16,7 @@
 # under the License.
 
 
-add_bundle(publisherA VERSION 1.0.0 SOURCES private/src/activator private/src/publisher)
+add_celix_bundle(publisherA VERSION 1.0.0 SOURCES private/src/activator private/src/publisher)
 include_directories("../publisherService/public/include")
 include_directories("../publisherService/private/include")
 include_directories("${PROJECT_SOURCE_DIR}/utils/public/include")

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/examples/whiteboard/publisherB/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/examples/whiteboard/publisherB/CMakeLists.txt b/examples/whiteboard/publisherB/CMakeLists.txt
index 74f0bb5..13a8ac8 100644
--- a/examples/whiteboard/publisherB/CMakeLists.txt
+++ b/examples/whiteboard/publisherB/CMakeLists.txt
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-add_bundle(publisherB VERSION 1.0.0 SOURCES private/src/activator private/src/publisher)
+add_celix_bundle(publisherB VERSION 1.0.0 SOURCES private/src/activator private/src/publisher)
 include_directories("../publisherService/public/include")
 include_directories("../publisherService/private/include")
 target_link_libraries(publisherB celix_framework)

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/examples/whiteboard/tracker/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/examples/whiteboard/tracker/CMakeLists.txt b/examples/whiteboard/tracker/CMakeLists.txt
index c44b206..643fff6 100644
--- a/examples/whiteboard/tracker/CMakeLists.txt
+++ b/examples/whiteboard/tracker/CMakeLists.txt
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-add_bundle(tracker VERSION 1.0.0 SOURCES private/src/activator)
+add_celix_bundle(tracker VERSION 1.0.0 SOURCES private/src/activator)
 include_directories("../publisherService/public/include")
 include_directories("${PROJECT_SOURCE_DIR}/utils/public/include")
 target_link_libraries(tracker celix_framework)

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/examples/whiteboard/tracker_depman/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/examples/whiteboard/tracker_depman/CMakeLists.txt b/examples/whiteboard/tracker_depman/CMakeLists.txt
index 3bd5942..fb31458 100644
--- a/examples/whiteboard/tracker_depman/CMakeLists.txt
+++ b/examples/whiteboard/tracker_depman/CMakeLists.txt
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-add_bundle(tracker_depman VERSION 1.0.0 SOURCES
+add_celix_bundle(tracker_depman VERSION 1.0.0 SOURCES
     private/src/dependency_activator
     private/src/tracker
     

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/framework/private/integration-test/test_bundle1/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/framework/private/integration-test/test_bundle1/CMakeLists.txt b/framework/private/integration-test/test_bundle1/CMakeLists.txt
index a8d9d53..c766b06 100644
--- a/framework/private/integration-test/test_bundle1/CMakeLists.txt
+++ b/framework/private/integration-test/test_bundle1/CMakeLists.txt
@@ -15,6 +15,6 @@
 # specific language governing permissions and limitations
 # under the License.
 
-add_bundle(test_bundle1 SOURCES src/activator VERSION 0.0.1)
+add_celix_bundle(test_bundle1 SOURCES src/activator VERSION 0.0.1)
 include_directories("${PROJECT_SOURCE_DIR}/utils/public/include")
 target_link_libraries(test_bundle1 celix_framework)

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/log_service/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/log_service/CMakeLists.txt b/log_service/CMakeLists.txt
index 131a986..856e21d 100644
--- a/log_service/CMakeLists.txt
+++ b/log_service/CMakeLists.txt
@@ -18,7 +18,7 @@
 celix_subproject(LOG_SERVICE "Option to enable building the Log Service bundles" ON DEPS framework)
 if (LOG_SERVICE)
 
-    add_bundle(log_service
+    add_celix_bundle(log_service
     	SYMBOLIC_NAME "apache_celix_log_service"
     	NAME "Apache Celix Log Service"
     	VERSION "1.1.0"
@@ -36,7 +36,7 @@ if (LOG_SERVICE)
 		    private/include/log_service_impl.h
     )
     
-    install_bundle(log_service
+    install_celix_bundle(log_service
         HEADERS
         	public/include/log_service.h
         	public/include/log_reader_service.h

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/log_writer/log_writer_stdout/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/log_writer/log_writer_stdout/CMakeLists.txt b/log_writer/log_writer_stdout/CMakeLists.txt
index 7874e96..6502792 100644
--- a/log_writer/log_writer_stdout/CMakeLists.txt
+++ b/log_writer/log_writer_stdout/CMakeLists.txt
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-add_bundle(log_writer
+add_celix_bundle(log_writer
 	SYMBOLIC_NAME "apache_celix_log_writer"
 	VERSION "1.1.0"
 	NAME "Apache Celix Log Writer"
@@ -27,7 +27,7 @@ add_bundle(log_writer
 		private/src/log_writer_stdout
 )
 
-install_bundle(log_writer)
+install_celix_bundle(log_writer)
     
 target_link_libraries(log_writer celix_framework)
     

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/log_writer/log_writer_syslog/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/log_writer/log_writer_syslog/CMakeLists.txt b/log_writer/log_writer_syslog/CMakeLists.txt
index 12130cf..faa7905 100644
--- a/log_writer/log_writer_syslog/CMakeLists.txt
+++ b/log_writer/log_writer_syslog/CMakeLists.txt
@@ -18,7 +18,7 @@ celix_subproject(LOG_WRITER_SYSLOG "Option to enable building the Syslog Writer"
 if (LOG_WRITER_SYSLOG)
     find_package(Syslog REQUIRED)
 
-    add_bundle(log_writer_syslog 
+    add_celix_bundle(log_writer_syslog
         VERSION 1.1.0
         SYMBOLIC_NAME "apache_celix_log_writer_syslog"
         NAME "Apache Celix Log Writer Syslog"
@@ -30,7 +30,7 @@ if (LOG_WRITER_SYSLOG)
         private/src/log_writer_syslog
     )
 
-    install_bundle(log_writer_syslog)
+    install_celix_bundle(log_writer_syslog)
         
     target_link_libraries(log_writer_syslog celix_framework)
         

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/pubsub/deploy/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/pubsub/deploy/CMakeLists.txt b/pubsub/deploy/CMakeLists.txt
index ddce160..f73857b 100644
--- a/pubsub/deploy/CMakeLists.txt
+++ b/pubsub/deploy/CMakeLists.txt
@@ -19,7 +19,7 @@ find_program(ETCD_CMD NAMES etcd)
 find_program(XTERM_CMD NAMES xterm)
 
 # UDP Multicast
-add_deploy(pubsub_publisher_udp_mc
+add_celix_container(pubsub_publisher_udp_mc
 	GROUP pubsub
 	BUNDLES
 	   shell
@@ -33,7 +33,7 @@ add_deploy(pubsub_publisher_udp_mc
 )
 target_link_libraries(pubsub_publisher_udp_mc PRIVATE celix_framework celix_utils celix_dfi)
 
-add_deploy("pubsub_subscriber_udp_mc"
+add_celix_container("pubsub_subscriber_udp_mc"
 	GROUP "pubsub"
 	BUNDLES
 	   shell
@@ -46,7 +46,7 @@ add_deploy("pubsub_subscriber_udp_mc"
 )
 target_link_libraries(pubsub_subscriber_udp_mc PRIVATE celix_framework celix_utils celix_dfi)
 
-add_deploy("pubsub_subscriber2_udp_mc"
+add_celix_container("pubsub_subscriber2_udp_mc"
 	GROUP "pubsub"
 	BUNDLES
 	   shell
@@ -77,7 +77,7 @@ endif ()
 if (BUILD_PUBSUB_PSA_ZMQ)
 
 	# Dynamic ZMQ / UDP admin
-	add_deploy("pubsub_publisher"
+	add_celix_container("pubsub_publisher"
 	    GROUP "pubsub"
 	    BUNDLES
 	       shell
@@ -95,7 +95,7 @@ if (BUILD_PUBSUB_PSA_ZMQ)
 	)
 	target_link_libraries(pubsub_publisher PRIVATE celix_framework celix_utils celix_dfi)
 
-	add_deploy("pubsub_subscriber"
+	add_celix_container("pubsub_subscriber"
 	    GROUP "pubsub"
 	    BUNDLES
 	       shell
@@ -113,7 +113,7 @@ if (BUILD_PUBSUB_PSA_ZMQ)
 	target_link_libraries(pubsub_subscriber PRIVATE celix_framework celix_utils celix_dfi)
 
 	# ZMQ
-	add_deploy("pubsub_zmq"
+	add_celix_container("pubsub_zmq"
 	    GROUP "pubsub"
 	    BUNDLES
 	       shell
@@ -127,7 +127,7 @@ if (BUILD_PUBSUB_PSA_ZMQ)
 	)
 	target_link_libraries(pubsub_zmq PRIVATE celix_framework celix_utils celix_dfi)
 
-	add_deploy("pubsub_publisher_zmq"
+	add_celix_container("pubsub_publisher_zmq"
 	    GROUP "pubsub"
 	    BUNDLES
 	       shell
@@ -143,7 +143,7 @@ if (BUILD_PUBSUB_PSA_ZMQ)
 	)
 	target_link_libraries(pubsub_publisher_zmq PRIVATE celix_framework celix_utils celix_dfi)
 
-	add_deploy("pubsub_subscriber_zmq"
+	add_celix_container("pubsub_subscriber_zmq"
 	    GROUP "pubsub"
 	    BUNDLES
 	       shell
@@ -156,7 +156,7 @@ if (BUILD_PUBSUB_PSA_ZMQ)
 	)
 	target_link_libraries(pubsub_subscriber_zmq PRIVATE celix_framework celix_utils celix_dfi)
 
-	add_deploy("pubsub_subscriber2_zmq"
+	add_celix_container("pubsub_subscriber2_zmq"
 	    GROUP "pubsub"
 	    BUNDLES
 	       shell
@@ -170,7 +170,7 @@ if (BUILD_PUBSUB_PSA_ZMQ)
 	target_link_libraries(pubsub_subscriber2_zmq PRIVATE celix_framework celix_utils celix_dfi)
 
 	# ZMQ Multipart
-	add_deploy("pubsub_mp_subscriber_zmq"
+	add_celix_container("pubsub_mp_subscriber_zmq"
 	    GROUP "pubsub"
 	    BUNDLES
 	       shell
@@ -183,7 +183,7 @@ if (BUILD_PUBSUB_PSA_ZMQ)
 	)
 	target_link_libraries(pubsub_mp_subscriber_zmq PRIVATE celix_framework celix_utils celix_dfi)
 
-	add_deploy("pubsub_mp_publisher_zmq"
+	add_celix_container("pubsub_mp_publisher_zmq"
 	    GROUP "pubsub"
 	    BUNDLES
 	   		shell

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/pubsub/examples/mp_pubsub/publisher/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/pubsub/examples/mp_pubsub/publisher/CMakeLists.txt b/pubsub/examples/mp_pubsub/publisher/CMakeLists.txt
index 76a01f1..d2bd754 100644
--- a/pubsub/examples/mp_pubsub/publisher/CMakeLists.txt
+++ b/pubsub/examples/mp_pubsub/publisher/CMakeLists.txt
@@ -21,7 +21,7 @@ include_directories("${PROJECT_SOURCE_DIR}/pubsub/pubsub_common/public/include")
 include_directories("${PROJECT_SOURCE_DIR}/pubsub/api/pubsub")
 include_directories("${PROJECT_SOURCE_DIR}/pubsub/examples/mp_pubsub/common/include")
 
-add_bundle(org.apache.celix.pubsub_publisher.MpPublisher
+add_celix_bundle(org.apache.celix.pubsub_publisher.MpPublisher
     SYMBOLIC_NAME "apache_celix_pubsub_mp_publisher"
     VERSION "1.0.0"
     SOURCES 

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/pubsub/examples/mp_pubsub/subscriber/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/pubsub/examples/mp_pubsub/subscriber/CMakeLists.txt b/pubsub/examples/mp_pubsub/subscriber/CMakeLists.txt
index a480a73..32258a8 100644
--- a/pubsub/examples/mp_pubsub/subscriber/CMakeLists.txt
+++ b/pubsub/examples/mp_pubsub/subscriber/CMakeLists.txt
@@ -21,7 +21,7 @@ include_directories("${PROJECT_SOURCE_DIR}/pubsub/pubsub_common/public/include")
 include_directories("${PROJECT_SOURCE_DIR}/pubsub/api/pubsub")
 include_directories("${PROJECT_SOURCE_DIR}/pubsub/examples/mp_pubsub/common/include")
 
-add_bundle( org.apache.celix.pubsub_subscriber.MpSubscriber
+add_celix_bundle( org.apache.celix.pubsub_subscriber.MpSubscriber
     SYMBOLIC_NAME "apache_celix_pubsub_mp_subscriber"
     VERSION "1.0.0"
     SOURCES 

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/pubsub/examples/pubsub/publisher/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/pubsub/examples/pubsub/publisher/CMakeLists.txt b/pubsub/examples/pubsub/publisher/CMakeLists.txt
index e35c137..2f7d671 100644
--- a/pubsub/examples/pubsub/publisher/CMakeLists.txt
+++ b/pubsub/examples/pubsub/publisher/CMakeLists.txt
@@ -20,7 +20,7 @@ include_directories("${PROJECT_SOURCE_DIR}/framework/public/include")
 include_directories("${PROJECT_SOURCE_DIR}/pubsub/pubsub_common/public/include")
 include_directories("${PROJECT_SOURCE_DIR}/pubsub/api/pubsub")
 
-add_bundle(org.apache.celix.pubsub_publisher.PoiPublisher
+add_celix_bundle(org.apache.celix.pubsub_publisher.PoiPublisher
     SYMBOLIC_NAME "apache_celix_pubsub_poi_publisher"
     VERSION "1.0.0"
     SOURCES 

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/pubsub/examples/pubsub/publisher2/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/pubsub/examples/pubsub/publisher2/CMakeLists.txt b/pubsub/examples/pubsub/publisher2/CMakeLists.txt
index b83f7dd..c03ac64 100644
--- a/pubsub/examples/pubsub/publisher2/CMakeLists.txt
+++ b/pubsub/examples/pubsub/publisher2/CMakeLists.txt
@@ -20,7 +20,7 @@ include_directories("${PROJECT_SOURCE_DIR}/framework/public/include")
 include_directories("${PROJECT_SOURCE_DIR}/pubsub/pubsub_common/public/include")
 include_directories("${PROJECT_SOURCE_DIR}/pubsub/api/pubsub")
 
-add_bundle(org.apache.celix.pubsub_publisher.PoiPublisher2
+add_celix_bundle(org.apache.celix.pubsub_publisher.PoiPublisher2
     SYMBOLIC_NAME "apache_celix_pubsub_poi_publisher2"
     VERSION "1.0.0"
     SOURCES 

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/pubsub/examples/pubsub/subscriber/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/pubsub/examples/pubsub/subscriber/CMakeLists.txt b/pubsub/examples/pubsub/subscriber/CMakeLists.txt
index 7fd9fae..7f28dfe 100644
--- a/pubsub/examples/pubsub/subscriber/CMakeLists.txt
+++ b/pubsub/examples/pubsub/subscriber/CMakeLists.txt
@@ -21,7 +21,7 @@ include_directories("${PROJECT_SOURCE_DIR}/pubsub/pubsub_common/public/include")
 include_directories("${PROJECT_SOURCE_DIR}/pubsub/api/pubsub")
 include_directories("${PROJECT_SOURCE_DIR}/pubsub/examples/pubsub/common/include")
 
-add_bundle(org.apache.celix.pubsub_subscriber.PoiSubscriber
+add_celix_bundle(org.apache.celix.pubsub_subscriber.PoiSubscriber
     SYMBOLIC_NAME "apache_celix_pubsub_poi_subscriber" 
     VERSION "1.0.0"
     SOURCES 

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/pubsub/pubsub_admin_udp_mc/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/pubsub/pubsub_admin_udp_mc/CMakeLists.txt b/pubsub/pubsub_admin_udp_mc/CMakeLists.txt
index 3ab0c54..fdf43ac 100644
--- a/pubsub/pubsub_admin_udp_mc/CMakeLists.txt
+++ b/pubsub/pubsub_admin_udp_mc/CMakeLists.txt
@@ -26,7 +26,7 @@ include_directories("private/include")
 include_directories("public/include")
 include_directories("${JANSSON_INCLUDE_DIR}")
 
-add_bundle(org.apache.celix.pubsub_admin.PubSubAdminUdpMc
+add_celix_bundle(org.apache.celix.pubsub_admin.PubSubAdminUdpMc
 	BUNDLE_SYMBOLICNAME "apache_celix_pubsub_admin_udp_multicast"
 	VERSION "1.0.0"
 	SOURCES
@@ -44,6 +44,6 @@ add_bundle(org.apache.celix.pubsub_admin.PubSubAdminUdpMc
 set_target_properties(org.apache.celix.pubsub_admin.PubSubAdminUdpMc PROPERTIES INSTALL_RPATH "$ORIGIN")
 target_link_libraries(org.apache.celix.pubsub_admin.PubSubAdminUdpMc celix_framework celix_utils celix_dfi)
 
-install_bundle(org.apache.celix.pubsub_admin.PubSubAdminUdpMc)
+install_celix_bundle(org.apache.celix.pubsub_admin.PubSubAdminUdpMc)
 
 

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/pubsub/pubsub_admin_zmq/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/pubsub/pubsub_admin_zmq/CMakeLists.txt b/pubsub/pubsub_admin_zmq/CMakeLists.txt
index ab250f9..962310e 100644
--- a/pubsub/pubsub_admin_zmq/CMakeLists.txt
+++ b/pubsub/pubsub_admin_zmq/CMakeLists.txt
@@ -41,7 +41,7 @@ if (BUILD_PUBSUB_PSA_ZMQ)
 		set (ZMQ_CRYPTO_C "private/src/zmq_crypto.c")
 	endif()
 
-	add_bundle(org.apache.celix.pubsub_admin.PubSubAdminZmq
+	add_celix_bundle(org.apache.celix.pubsub_admin.PubSubAdminZmq
 	    BUNDLE_SYMBOLICNAME "apache_celix_pubsub_admin_zmq"
 	    VERSION "1.0.0"
 	    SOURCES
@@ -58,6 +58,6 @@ if (BUILD_PUBSUB_PSA_ZMQ)
 
 	set_target_properties(org.apache.celix.pubsub_admin.PubSubAdminZmq PROPERTIES INSTALL_RPATH "$ORIGIN")
 	target_link_libraries(org.apache.celix.pubsub_admin.PubSubAdminZmq celix_framework celix_utils celix_dfi ${ZMQ_LIBRARIES} ${CZMQ_LIBRARIES} ${OPENSSL_CRYPTO_LIBRARY})
-	install_bundle(org.apache.celix.pubsub_admin.PubSubAdminZmq)
+	install_celix_bundle(org.apache.celix.pubsub_admin.PubSubAdminZmq)
 
 endif()

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/pubsub/pubsub_discovery/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/pubsub/pubsub_discovery/CMakeLists.txt b/pubsub/pubsub_discovery/CMakeLists.txt
index 948da3e..42017e7 100644
--- a/pubsub/pubsub_discovery/CMakeLists.txt
+++ b/pubsub/pubsub_discovery/CMakeLists.txt
@@ -26,7 +26,7 @@ include_directories("${PROJECT_SOURCE_DIR}/etcdlib/public/include")
 include_directories("private/include")
 include_directories("public/include")
 
-add_bundle(org.apache.celix.pubsub_discovery.etcd.PubsubDiscovery
+add_celix_bundle(org.apache.celix.pubsub_discovery.etcd.PubsubDiscovery
     BUNDLE_SYMBOLICNAME "apache_celix_pubsub_discovery_etcd"
     VERSION "1.0.0"
     SOURCES
@@ -40,4 +40,4 @@ add_bundle(org.apache.celix.pubsub_discovery.etcd.PubsubDiscovery
 )
 
 target_link_libraries(org.apache.celix.pubsub_discovery.etcd.PubsubDiscovery celix_framework celix_utils etcdlib_static ${CURL_LIBRARIES} ${JANSSON_LIBRARIES})
-install_bundle(org.apache.celix.pubsub_discovery.etcd.PubsubDiscovery)
+install_celix_bundle(org.apache.celix.pubsub_discovery.etcd.PubsubDiscovery)

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/pubsub/pubsub_serializer_json/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/pubsub/pubsub_serializer_json/CMakeLists.txt b/pubsub/pubsub_serializer_json/CMakeLists.txt
index 147873a..2aaa98a 100644
--- a/pubsub/pubsub_serializer_json/CMakeLists.txt
+++ b/pubsub/pubsub_serializer_json/CMakeLists.txt
@@ -26,7 +26,7 @@ include_directories("${PROJECT_SOURCE_DIR}/pubsub/pubsub_common/public/include")
 include_directories("${PROJECT_SOURCE_DIR}/pubsub/api/pubsub")
 include_directories("${JANSSON_INCLUDE_DIR}")
 
-add_bundle(org.apache.celix.pubsub_serializer.PubSubSerializerJson
+add_celix_bundle(org.apache.celix.pubsub_serializer.PubSubSerializerJson
     BUNDLE_SYMBOLICNAME "apache_celix_pubsub_serializer_json"
     VERSION "1.0.0"
     SOURCES
@@ -39,5 +39,5 @@ add_bundle(org.apache.celix.pubsub_serializer.PubSubSerializerJson
 set_target_properties(org.apache.celix.pubsub_serializer.PubSubSerializerJson PROPERTIES INSTALL_RPATH "$ORIGIN")
 target_link_libraries(org.apache.celix.pubsub_serializer.PubSubSerializerJson celix_framework celix_utils celix_dfi ${JANSSON_LIBRARIES})
 
-install_bundle(org.apache.celix.pubsub_serializer.PubSubSerializerJson)
+install_celix_bundle(org.apache.celix.pubsub_serializer.PubSubSerializerJson)
 

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/pubsub/pubsub_topology_manager/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/pubsub/pubsub_topology_manager/CMakeLists.txt b/pubsub/pubsub_topology_manager/CMakeLists.txt
index b6eb796..680673b 100644
--- a/pubsub/pubsub_topology_manager/CMakeLists.txt
+++ b/pubsub/pubsub_topology_manager/CMakeLists.txt
@@ -23,7 +23,7 @@ include_directories("${PROJECT_SOURCE_DIR}/pubsub/api/pubsub")
 include_directories("private/include")
 include_directories("public/include")
 
-add_bundle(org.apache.celix.pubsub_topology_manager.PubSubTopologyManager
+add_celix_bundle(org.apache.celix.pubsub_topology_manager.PubSubTopologyManager
     BUNDLE_SYMBOLICNAME "apache_celix_pubsub_topology_manager"
     VERSION "1.0.0"
     SOURCES
@@ -40,5 +40,5 @@ bundle_files(org.apache.celix.pubsub_topology_manager.PubSubTopologyManager
 )
 
 target_link_libraries(org.apache.celix.pubsub_topology_manager.PubSubTopologyManager celix_framework celix_utils)
-install_bundle(org.apache.celix.pubsub_topology_manager.PubSubTopologyManager)
+install_celix_bundle(org.apache.celix.pubsub_topology_manager.PubSubTopologyManager)
 

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/pubsub/test/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/pubsub/test/CMakeLists.txt b/pubsub/test/CMakeLists.txt
index 8279c0c..4150b3e 100644
--- a/pubsub/test/CMakeLists.txt
+++ b/pubsub/test/CMakeLists.txt
@@ -25,7 +25,7 @@ include_directories(
         test
 )
 
-add_bundle(pubsub_sut
+add_celix_bundle(pubsub_sut
     #"Vanilla" bundle which is under test
     SOURCES
         test/sut_activator.c
@@ -37,7 +37,7 @@ bundle_files(pubsub_sut
     msg_descriptors/sync.descriptor
     DESTINATION "META-INF/descriptors/messages"
 )
-add_deploy(pubsub_udpmc_sut
+add_celix_container(pubsub_udpmc_sut
     NAME deploy_sut
     BUNDLES
         org.apache.celix.pubsub_serializer.PubSubSerializerJson
@@ -47,7 +47,7 @@ add_deploy(pubsub_udpmc_sut
         pubsub_sut
     DIR ${PROJECT_BINARY_DIR}/runtimes/test/pubsub/udpmc
 )
-add_deploy(pubsub_zmq_sut
+add_celix_container(pubsub_zmq_sut
     NAME deploy_sut
     BUNDLES
         org.apache.celix.pubsub_serializer.PubSubSerializerJson
@@ -58,7 +58,7 @@ add_deploy(pubsub_zmq_sut
     DIR ${PROJECT_BINARY_DIR}/runtimes/test/pubsub/zmq
 )
 
-add_bundle(pubsub_tst
+add_celix_bundle(pubsub_tst
     #Test bundle containing cpputests and uses celix_test_runner launcher instead of the celix launcher
     SOURCES
         test/tst_activator.cpp
@@ -76,7 +76,7 @@ bundle_files(pubsub_tst
     msg_descriptors/sync.descriptor
     DESTINATION "META-INF/descriptors/messages"
 )
-add_deploy(pubsub_udpmc_tst
+add_celix_container(pubsub_udpmc_tst
     NAME deploy_tst
     BUNDLES
         org.apache.celix.pubsub_serializer.PubSubSerializerJson
@@ -88,7 +88,7 @@ add_deploy(pubsub_udpmc_tst
     DIR ${PROJECT_BINARY_DIR}/runtimes/test/pubsub/udpmc
     LAUNCHER celix_test_runner
 )
-add_deploy(pubsub_zmq_tst
+add_celix_container(pubsub_zmq_tst
     NAME deploy_tst
     BUNDLES
         org.apache.celix.pubsub_serializer.PubSubSerializerJson

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/remote_services/discovery_configured/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/remote_services/discovery_configured/CMakeLists.txt b/remote_services/discovery_configured/CMakeLists.txt
index edbbc13..c3180ad 100644
--- a/remote_services/discovery_configured/CMakeLists.txt
+++ b/remote_services/discovery_configured/CMakeLists.txt
@@ -31,7 +31,7 @@ if (RSA_DISCOVERY_CONFIGURED)
     include_directories("${PROJECT_SOURCE_DIR}/log_service/public/include")
     include_directories(private/include)
 
-    add_bundle(discovery_configured 
+    add_celix_bundle(discovery_configured
     VERSION 0.9.0
     SYMBOLIC_NAME "apache_celix_rsa_discovery_configured"
     NAME "Apache Celix RSA Configured Discovery"    
@@ -50,7 +50,7 @@ if (RSA_DISCOVERY_CONFIGURED)
 	${PROJECT_SOURCE_DIR}/log_service/public/src/log_helper.c
     )
 
-    install_bundle(discovery_configured)
+    install_celix_bundle(discovery_configured)
 
     target_link_libraries(discovery_configured celix_framework ${CURL_LIBRARIES} ${LIBXML2_LIBRARIES})
 

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/remote_services/discovery_etcd/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/remote_services/discovery_etcd/CMakeLists.txt b/remote_services/discovery_etcd/CMakeLists.txt
index 442d486..ce25d22 100644
--- a/remote_services/discovery_etcd/CMakeLists.txt
+++ b/remote_services/discovery_etcd/CMakeLists.txt
@@ -35,7 +35,7 @@ if (RSA_DISCOVERY_ETCD)
 	include_directories("${PROJECT_SOURCE_DIR}/log_service/public/include")
 	include_directories("private/include")
     
-	add_bundle(discovery_etcd 
+	add_celix_bundle(discovery_etcd
         VERSION 0.9.0
         SYMBOLIC_NAME "apache_celix_rsa_discovery_etcd"
         NAME "Apache Celix RSA Discovery ETCD"
@@ -54,7 +54,7 @@ if (RSA_DISCOVERY_ETCD)
 	    ${PROJECT_SOURCE_DIR}/log_service/public/src/log_helper.c
 	)
 
-	install_bundle(discovery_etcd)
+	install_celix_bundle(discovery_etcd)
 		
 	target_link_libraries(discovery_etcd celix_framework etcdlib ${CURL_LIBRARIES} ${LIBXML2_LIBRARIES} ${JANSSON_LIBRARIES})
 

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/remote_services/discovery_shm/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/remote_services/discovery_shm/CMakeLists.txt b/remote_services/discovery_shm/CMakeLists.txt
index 862096c..3eec195 100644
--- a/remote_services/discovery_shm/CMakeLists.txt
+++ b/remote_services/discovery_shm/CMakeLists.txt
@@ -32,7 +32,7 @@ find_package(CURL REQUIRED)
 	include_directories("${PROJECT_SOURCE_DIR}/log_service/public/include")
 	include_directories("private/include")
 
-	add_bundle(discovery_shm 
+	add_celix_bundle(discovery_shm
         VERSION 0.0.1
         SYMBOLIC_NAME "apache_celix_rsa_discovery_shm"
         NAME "Apache Celix RSA Discovery SHM"
@@ -51,7 +51,7 @@ find_package(CURL REQUIRED)
 	    ${PROJECT_SOURCE_DIR}/log_service/public/src/log_helper.c
 	)
 
-	install_bundle(discovery_shm)
+	install_celix_bundle(discovery_shm)
 		
 	target_link_libraries(discovery_shm celix_framework ${CURL_LIBRARIES} ${LIBXML2_LIBRARIES})
 

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/remote_services/examples/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/remote_services/examples/CMakeLists.txt b/remote_services/examples/CMakeLists.txt
index 44b7733..b919760 100644
--- a/remote_services/examples/CMakeLists.txt
+++ b/remote_services/examples/CMakeLists.txt
@@ -28,7 +28,7 @@ if (RSA_EXAMPLES)
     add_subdirectory(calculator_shell)
 
     if(BUILD_RSA_REMOTE_SERVICE_ADMIN_HTTP AND BUILD_RSA_DISCOVERY_CONFIGURED)
-        add_deploy(remote-services-cfg-server 
+        add_celix_container(remote-services-cfg-server
             NAME "server"
             GROUP "remote-services/remote-services-cfg"
             BUNDLES discovery_configured topology_manager remote_service_admin_http calculator shell shell_tui log_service log_writer
@@ -42,7 +42,7 @@ if (RSA_EXAMPLES)
             org.apache.celix.calc.api.Calculator2_endpoint
         )
 
-        add_deploy(remote-services-cfg-client
+        add_celix_container(remote-services-cfg-client
             NAME "client"
             GROUP "remote-services/remote-services-cfg"
             BUNDLES topology_manager remote_service_admin_http shell shell_tui log_service log_writer calculator_shell discovery_configured
@@ -57,7 +57,7 @@ if (RSA_EXAMPLES)
     endif()
 
     if (BUILD_RSA_REMOTE_SERVICE_ADMIN_SHM AND BUILD_RSA_DISCOVERY_SHM)
-        add_deploy(remote-services-shm 
+        add_celix_container(remote-services-shm
             NAME "server"
             GROUP "remote-services/remote-services-shm"
             BUNDLES discovery_shm topology_manager remote_service_admin_shm calculator shell shell_tui log_service log_writer
@@ -66,7 +66,7 @@ if (RSA_EXAMPLES)
             BUNDLES org.apache.celix.calc.api.Calculator_endpoint
         )
 
-        add_deploy(remote-services-shm-client 
+        add_celix_container(remote-services-shm-client
             NAME "client"
             GROUP "remote-services/remote-services-shm"
             BUNDLES topology_manager remote_service_admin_shm shell shell_tui log_service log_writer calculator_shell discovery_shm
@@ -77,7 +77,7 @@ if (RSA_EXAMPLES)
     endif ()
 
     if (BUILD_RSA_DISCOVERY_ETCD AND BUILD_RSA_REMOTE_SERVICE_ADMIN_HTTP)
-        add_deploy(remote-services-etcd 
+        add_celix_container(remote-services-etcd
             NAME "server"
             GROUP "remote-services/remote-services-etcd"
             BUNDLES discovery_etcd topology_manager remote_service_admin_http calculator shell shell_tui log_service log_writer
@@ -88,7 +88,7 @@ if (RSA_EXAMPLES)
             	org.apache.celix.calc.api.Calculator2_endpoint
         )
 
-        add_deploy("remote-services-etcd-client" 
+        add_celix_container("remote-services-etcd-client"
             NAME "client"
             GROUP "remote-services/remote-services-etcd"
             BUNDLES topology_manager remote_service_admin_http shell shell_tui log_service log_writer calculator_shell discovery_etcd
@@ -99,13 +99,13 @@ if (RSA_EXAMPLES)
     endif ()
 
     if (BUILD_RSA_DISCOVERY_ETCD AND BUILD_RSA_REMOTE_SERVICE_ADMIN_DFI)
-        add_deploy(remote-services-dfi 
+        add_celix_container(remote-services-dfi
             NAME "server"
             GROUP "remote-services/remote-services-dfi"
             BUNDLES discovery_etcd topology_manager remote_service_admin_dfi calculator shell shell_tui log_service log_writer
         )
 
-        add_deploy("remote-services-dfi-client" 
+        add_celix_container("remote-services-dfi-client"
             NAME "client"
             GROUP "remote-services/remote-services-dfi"
             BUNDLES topology_manager remote_service_admin_dfi shell shell_tui log_service log_writer calculator_shell discovery_etcd

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/remote_services/examples/calculator_endpoint/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/remote_services/examples/calculator_endpoint/CMakeLists.txt b/remote_services/examples/calculator_endpoint/CMakeLists.txt
index 6e9c928..beb4ddb 100644
--- a/remote_services/examples/calculator_endpoint/CMakeLists.txt
+++ b/remote_services/examples/calculator_endpoint/CMakeLists.txt
@@ -23,7 +23,7 @@ include_directories("../../remote_service_admin/public/include")
 include_directories("../calculator_service/public/include")
 include_directories("private/include")
 
-add_bundle(org.apache.celix.calc.api.Calculator_endpoint SOURCES
+add_celix_bundle(org.apache.celix.calc.api.Calculator_endpoint SOURCES
 	private/src/calculator_endpoint_activator
 	private/src/calculator_endpoint_impl.c
     

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/remote_services/examples/calculator_endpoint2/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/remote_services/examples/calculator_endpoint2/CMakeLists.txt b/remote_services/examples/calculator_endpoint2/CMakeLists.txt
index b75e6df..2bd829f 100644
--- a/remote_services/examples/calculator_endpoint2/CMakeLists.txt
+++ b/remote_services/examples/calculator_endpoint2/CMakeLists.txt
@@ -23,7 +23,7 @@ include_directories("../../remote_service_admin/public/include")
 include_directories("../calculator_service/public/include")
 include_directories("private/include")
 
-add_bundle(org.apache.celix.calc.api.Calculator2_endpoint SOURCES
+add_celix_bundle(org.apache.celix.calc.api.Calculator2_endpoint SOURCES
 	private/src/calculator_endpoint_activator
 	private/src/calculator_endpoint_impl.c
     

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/remote_services/examples/calculator_proxy/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/remote_services/examples/calculator_proxy/CMakeLists.txt b/remote_services/examples/calculator_proxy/CMakeLists.txt
index 9bbf089..3696347 100644
--- a/remote_services/examples/calculator_proxy/CMakeLists.txt
+++ b/remote_services/examples/calculator_proxy/CMakeLists.txt
@@ -24,7 +24,7 @@ include_directories("private/include")
 include_directories("../calculator_service/public/include")
 include_directories("../../endpoint_listener/public/include")
 
-add_bundle(org.apache.celix.calc.api.Calculator_proxy SOURCES
+add_celix_bundle(org.apache.celix.calc.api.Calculator_proxy SOURCES
 	private/src/calculator_proxy_activator
 	private/src/calculator_proxy_impl.c
     ../../remote_service_admin/private/src/remote_proxy_factory_impl.c

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/remote_services/examples/calculator_proxy2/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/remote_services/examples/calculator_proxy2/CMakeLists.txt b/remote_services/examples/calculator_proxy2/CMakeLists.txt
index 01556e3..73ec103 100644
--- a/remote_services/examples/calculator_proxy2/CMakeLists.txt
+++ b/remote_services/examples/calculator_proxy2/CMakeLists.txt
@@ -24,7 +24,7 @@ include_directories("private/include")
 include_directories("../calculator_service/public/include")
 include_directories("../../endpoint_listener/public/include")
 
-add_bundle(org.apache.celix.calc.api.Calculator2_proxy SOURCES
+add_celix_bundle(org.apache.celix.calc.api.Calculator2_proxy SOURCES
 	private/src/calculator_proxy_activator
 	private/src/calculator_proxy_impl.c
     ../../remote_service_admin/private/src/remote_proxy_factory_impl.c

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/remote_services/examples/calculator_service/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/remote_services/examples/calculator_service/CMakeLists.txt b/remote_services/examples/calculator_service/CMakeLists.txt
index a18f22b..d1cf31d 100644
--- a/remote_services/examples/calculator_service/CMakeLists.txt
+++ b/remote_services/examples/calculator_service/CMakeLists.txt
@@ -21,7 +21,7 @@ include_directories("../../remote_service_admin/public/include")
 include_directories("private/include")
 include_directories("public/include")
 
-add_bundle(calculator SOURCES
+add_celix_bundle(calculator SOURCES
 	private/src/calculator_impl
 	private/src/calculator_activator
     

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/remote_services/examples/calculator_shell/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/remote_services/examples/calculator_shell/CMakeLists.txt b/remote_services/examples/calculator_shell/CMakeLists.txt
index 361b688..f6948a0 100644
--- a/remote_services/examples/calculator_shell/CMakeLists.txt
+++ b/remote_services/examples/calculator_shell/CMakeLists.txt
@@ -20,7 +20,7 @@ include_directories("../../../utils/public/include")
 include_directories("../calculator_service/public/include")
 include_directories("../../../shell/public/include")
 
-add_bundle(calculator_shell SOURCES
+add_celix_bundle(calculator_shell SOURCES
     private/src/add_command 
     private/src/sub_command
     private/src/sqrt_command

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/remote_services/remote_service_admin_dfi/rsa/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/remote_services/remote_service_admin_dfi/rsa/CMakeLists.txt b/remote_services/remote_service_admin_dfi/rsa/CMakeLists.txt
index 7e2675c..b0fb0aa 100644
--- a/remote_services/remote_service_admin_dfi/rsa/CMakeLists.txt
+++ b/remote_services/remote_service_admin_dfi/rsa/CMakeLists.txt
@@ -27,7 +27,7 @@ include_directories(
     ${PROJECT_SOURCE_DIR}/remote_services/examples/calculator_service/public/include
 )
 
-add_bundle(remote_service_admin_dfi 
+add_celix_bundle(remote_service_admin_dfi
     VERSION 0.9.0
     SYMBOLIC_NAME "apache_celix_remote_service_admin_dfi"
     NAME "Apache Celix Remote Service Admin Dynamic Function Interface (DFI)"
@@ -45,4 +45,4 @@ add_bundle(remote_service_admin_dfi
 )
 target_link_libraries(remote_service_admin_dfi celix_framework celix_utils celix_dfi ${CURL_LIBRARIES} ${JANSSON_LIBRARIES})
 
-install_bundle(remote_service_admin_dfi)
+install_celix_bundle(remote_service_admin_dfi)

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/remote_services/remote_service_admin_dfi/rsa_tst/bundle/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/remote_services/remote_service_admin_dfi/rsa_tst/bundle/CMakeLists.txt b/remote_services/remote_service_admin_dfi/rsa_tst/bundle/CMakeLists.txt
index d172087..d25517e 100644
--- a/remote_services/remote_service_admin_dfi/rsa_tst/bundle/CMakeLists.txt
+++ b/remote_services/remote_service_admin_dfi/rsa_tst/bundle/CMakeLists.txt
@@ -23,7 +23,7 @@ include_directories(
 )
 
 
-add_bundle(rsa_dfi_tst_bundle
+add_celix_bundle(rsa_dfi_tst_bundle
     VERSION 0.0.1
     SOURCES
         tst_activator.c


[07/13] celix git commit: CELIX-412: Updates release notes

Posted by pn...@apache.org.
CELIX-412: Updates release notes


Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/fd206906
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/fd206906
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/fd206906

Branch: refs/heads/develop
Commit: fd2069069d8d34bc15b667fddc9b6c37fd866273
Parents: 68775a0
Author: Pepijn Noltes <pe...@gmail.com>
Authored: Tue Jan 16 21:25:49 2018 +0100
Committer: Pepijn Noltes <pe...@gmail.com>
Committed: Tue Jan 16 21:25:49 2018 +0100

----------------------------------------------------------------------
 CHANGES       | 215 ---------------------------------------------
 CHANGES.md    | 252 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 RELEASE_NOTES |  24 ++++-
 3 files changed, 272 insertions(+), 219 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/fd206906/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
deleted file mode 100644
index 2d8ff39..0000000
--- a/CHANGES
+++ /dev/null
@@ -1,215 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You 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.
-
-Changes for 2.0.0
-** New Features
-    [CELIX-77] Configuration Admin Implementation
-    [CELIX-116] Event admin
-    [CELIX-119] Remove apr usage from framework
-    [CELIX-172] Bonjour Shell
-    [CELIX-237] RSA with libffi
-    [CELIX-269] New Dependency Manager
-    [CELIX-370] Add C++ support
-** Improvements
-    [CELIX-63] make cmake directory useable for custom bundle projects
-    [CELIX-66] Refactor shell service struct
-    [CELIX-90] add additional build options for RSA components
-    [CELIX-111] Support multiple libraries
-    [CELIX-115] logservice bundle entries list grows indefinitely
-    [CELIX-118] Deployment Admin - Support auditlog of Apache ACE
-    [CELIX-123] enable code coverage for utils_test
-    [CELIX-125] CMakeCelix module
-    [CELIX-134] Update source from incubator structure to TLP
-    [CELIX-138] Parameterise launcher
-    [CELIX-144] Document Developing Celix with Eclipse
-    [CELIX-146] Replace printfs wit fw_log calls
-    [CELIX-149] Add log_writer_syslog
-    [CELIX-152] Added Discovery/ETCD support
-    [CELIX-153] add cmake configuration options for rsa_bundles
-    [CELIX-156] Enable all warnings
-    [CELIX-158] RSA is unable to re-use already started proxy factory
-    [CELIX-165] Add port collision auto-correction to RSA
-    [CELIX-169] Add port collision auto-correction to discovery
-    [CELIX-182] loghelper eases log_service tracking
-    [CELIX-187] discovery_etcd: add watchindex, handle expire action
-    [CELIX-193] support portable celix_thread_t initalization
-    [CELIX-199] Code Coverage should be optional rather than required by cmake
-    [CELIX-200] SEGFAULT occurs when remote services are closed
-    [CELIX-216] Replace strtok with strtok_r
-    [CELIX-230] Refactoring of the shell command service
-    [CELIX-242] Fix Warnings
-    [CELIX-245] Update civetweb to latest version
-    [CELIX-246] enable Travis CI for Apache Celix
-    [CELIX-247] Enable ANDROID support
-    [CELIX-249] Refactor most char * usage to const char *
-    [CELIX-251] missing includes in device access example
-    [CELIX-255] Update default BUILD option
-    [CELIX-258] framework uses  dlopen/dlsym to set the bundleActivator
-    [CELIX-259] dispatcherThread does not perform a graceful shutdown
-    [CELIX-275] Can't do mkstemp on root system (deploymentAdmin_download)
-    [CELIX-278] Adding tags to ACE target through deployment admin
-    [CELIX-284] Restrict export and imports based on properties
-    [CELIX-285] Discovery SHM: remove obsolete jansson dependency
-    [CELIX-295] Many compiling warnings in unit tests
-    [CELIX-296] Framework unit tests improvement
-    [CELIX-309] Make DFI available for common use
-    [CELIX-317] Dependency Manager suspend state
-    [CELIX-320] outdated utils tests (threads, hashmap)
-    [CELIX-323] Version and version_range moved from framework to utils
-    [CELIX-326] Add service version support to dependency manager
-    [CELIX-327] Filter does not support greater than and lesser than operators
-    [CELIX-328] Service version support for RSA DFI
-    [CELIX-330] document using markdown
-    [CELIX-333] integrate coverity scans
-    [CELIX-335] Refactor deploying bundles with cmake
-    [CELIX-339] celix_log_mock doesnt show logs to the user
-    [CELIX-341] Fix coverity issues in Shell / Shell TUI
-    [CELIX-348] The utils_stringHash does not generate unique hashes.
-    [CELIX-352] RSA_DFI and embedded celix
-    [CELIX-353] Make bundle context retrievable form dm component
-    [CELIX-365] Refactor some usage of void* to const void*
-** Bug
-    [CELIX-104] deployment_admin bundle won't start when missing properties
-    [CELIX-105] Fixed array_list_test
-    [CELIX-114] Potential deadlock in log_service bundle during stop
-    [CELIX-122] missing dependency uuid
-    [CELIX-124] Celix memory leaks fixing
-    [CELIX-127] Makefiles not generated using CMake 3.0
-    [CELIX-128] remote_shell port cannot be changed
-    [CELIX-129] Update RSA to be compatible with the Amdatu RSA implementation
-    [CELIX-130] Implement Configured Endpoint discovery compatible with Amdatu RSA
-    [CELIX-136] [contrib] Configured endpoint discovery
-    [CELIX-137] Possible concurrency issues in topology manager
-    [CELIX-139] Update tests and mocks to latest CppUTest
-    [CELIX-147] RSA_SHM: concurrency issue when client segfaults
-    [CELIX-150] Topology Manager segfaults when RSA/bundle w/ exp. service stops in wrong order
-    [CELIX-154] echo exampe not working
-    [CELIX-155] Fix CMake warnings during configuration
-    [CELIX-157] service_reference misses functions to get property keys and values
-    [CELIX-159] PThread usage not correct for Linux
-    [CELIX-161] newly added RSA cannot manage already exported/imported services
-    [CELIX-162] Update encoding/decoding of replies.
-    [CELIX-167] Update command to be able to pass a pointer (handle)
-    [CELIX-168] discovery_etcd:Make root-path configurable
-    [CELIX-170] Remote services can fail to restart when felix restarts
-    [CELIX-173] stopping rsa_http bundle does not stop rsa webserver
-    [CELIX-174]  invalid bundle_context during fw shutdown
-    [CELIX-175] segfault during shutdown when calculator is already stopped
-    [CELIX-177] not all endpoints are unistalled when rsa_http bundle is stopped
-    [CELIX-178] Shell_Tui bundle hangs on stop
-    [CELIX-179] memory leak in rsa_http callback
-    [CELIX-180] framework_tests do not compile
-    [CELIX-181] Incorrect reply status when no data is returned on a remote call.
-    [CELIX-185] Memory leaks in Discovery Endpoint Descriptor Reader
-    [CELIX-186] deployment_admin segfaults while downloading bundle
-    [CELIX-188] Add missing log_service headers to installations
-    [CELIX-189] LogService segfaults when log message pointer is overwritten
-    [CELIX-190] remote services memory leaks
-    [CELIX-192] rsa_http: add locking
-    [CELIX-194] Refactor RemoteService proxy factory
-    [CELIX-195] SEGFAULT occurs when running a log command.
-    [CELIX-197] insufficient memory allocated
-    [CELIX-198] Logging can segfault for strings 512 characters or longer
-    [CELIX-201] SEGFAULT occurs when restarting apache_celix_rs_topology_manager
-    [CELIX-202] Not all components are disabled with a clean build
-    [CELIX-205] RSA Discovery (Configured) bundle gets stuck
-    [CELIX-213] SEGFAULT occurs due to memory access after memory is free'd
-    [CELIX-215] curl_global_init() not called directly
-    [CELIX-218] Memory leaks in service_registry.c
-    [CELIX-219] Memory Leaks
-    [CELIX-221] Deployment admin segfaults when deploying a bundle
-    [CELIX-223] Celix crashes because of wrong bundle versions
-    [CELIX-224] Wrong use of errno in launcher.c
-    [CELIX-226] __unused atttibute does not work with  Linux
-    [CELIX-227] compile error under linux due to missing header include
-    [CELIX-229] Make APR optional
-    [CELIX-231] Missing log_helper creation in discovery_etcd
-    [CELIX-238] Contributing page links incorrect
-    [CELIX-239] TopologyManager does not maintain exportedServices
-    [CELIX-240] RSA: deadlock when stopping
-    [CELIX-241] remote_interface incorrect
-    [CELIX-248] too many arguments for format
-    [CELIX-250] config.h is not exported
-    [CELIX-252] discovery_etcd cannot handle celix restarts
-    [CELIX-253] Deployment admin does not always download the latest version from ACE
-    [CELIX-254] Memory leakage in deployment_admin
-    [CELIX-260] missing include in deployment admin
-    [CELIX-262] Fix minor issues in hashMap/linkedList
-    [CELIX-263] replace utils cunit tests w/ cpputest tests
-    [CELIX-264] Missing strdup leads to invalid free
-    [CELIX-270] Fix Code Coverage
-    [CELIX-271] setup coveralls.io
-    [CELIX-272] framework: improve locking / synchronization
-    [CELIX-274] waitForShutdown issue when starting two embedded celix frameworks.
-    [CELIX-279] Celix fails to compile w/ CMake 3.3
-    [CELIX-280] deployment_admin misses proper shutdown functionality
-    [CELIX-287] racecondition for framework event listener
-    [CELIX-288] Archive directory not properly read
-    [CELIX-289] Fix celix mocks
-    [CELIX-290] Mock fixes, CMakelist fix, build warning fix
-    [CELIX-292] Memory leak in refactored shell
-    [CELIX-294] changed dfi library from static to shared
-    [CELIX-298] Memory leaks in rsa_dfi
-    [CELIX-300] Invalid read in serviceRegistry during framework_shutdown
-    [CELIX-301] Memory leaks in rsa_shm
-    [CELIX-302] Service Tracker Test error breaks the build
-    [CELIX-304] Memory leaks in manifest parser, requirement, capability; out-of-date tests
-    [CELIX-305] Memory leaks in RSA_SHM, RSA_DFI, RSA_HTTP
-    [CELIX-306] Memory leaks in remote_proxy_factory, unit tests issues
-    [CELIX-307] "service registration set properties" deadlocks
-    [CELIX-308] Dependency Manager memory leaks
-    [CELIX-310] "serviceRegistry_getRegisteredServices" deadlocks
-    [CELIX-311] Framework Tests Build broken
-    [CELIX-312] ServiceReference usage counter inconsistent state
-    [CELIX-313] out of date/defunct tests
-    [CELIX-316] Wrong conversion for 'N' type in json_serializer
-    [CELIX-322] Memory leaks in resolver and framework tests
-    [CELIX-324] Version support in dfi library
-    [CELIX-325] Bundle test sporadicly fails
-    [CELIX-329] framework "service_" tests are outdates, some small bugs in the sources
-    [CELIX-331] test configuraiton needs update for newer CMake
-    [CELIX-332] filter tests absent, small bugs in the source
-    [CELIX-334] Race Condition in Topology Manager causes spurious segfaults
-    [CELIX-336] resolver_test doesn't compile
-    [CELIX-343] configuration_unbind never called
-    [CELIX-344] service tracker removes wrong service
-    [CELIX-345] Typo in Dependency Manager interface
-    [CELIX-346] celix-bootstrap problems
-    [CELIX-347] Memory leaks in dm_service_dependency
-    [CELIX-349] ServiceTracker update references list after invoking added callback
-    [CELIX-350] shell_tui wrong handling service reference
-    [CELIX-354] Coverity High Impact issues
-    [CELIX-356] Import libraries not supported in revamped cmake commands
-    [CELIX-357] Coverity Medium Impact issues
-    [CELIX-358] Coverity Low+New High Impact issues
-    [CELIX-359] Android build stopped working
-    [CELIX-360] Coverity leftover issues
-    [CELIX-361] etcd_watcher notifications loss when ETCD transaction rate is high
-    [CELIX-363] Memory leak in DFI exportRegistration_create
-    [CELIX-364] Incorrect destroy of dependency manager info struct
-    [CELIX-366] eclipse launch file not correctly generated
-    [CELIX-367] Memory leak in properties
-    [CELIX-369] Tests fail with sanitizer
-    [CELIX-371] Due to a fixed maximum length of lines in property file not all bundles are started
-    [CELIX-372] serviceRegistry_clearReferencesFor warning info unclear
-    [CELIX-373] Endpoint Server number is fixed and too low
-    [CELIX-374] RTLD_NODELETE flag
-    [CELIX-375] Topology manager deadlocks when interacts with dependency manager
-    [CELIX-377] wrong rpath setup in CMake files
-    [CELIX-378] Travis build errors on Max OSX
-    [CELIX-379] Extend cmake fucntion add_deploy with an option to specify the launcher
-    [CELIX-376] serviceRegistration sometimes paired to invalidated serviceReference
-    [CELIX-380] PROPERTIES_FOR_EACH macro does not iterate over all keys
-    [CELIX-381] Invoke set for dependency manager called before suspending the component

http://git-wip-us.apache.org/repos/asf/celix/blob/fd206906/CHANGES.md
----------------------------------------------------------------------
diff --git a/CHANGES.md b/CHANGES.md
new file mode 100644
index 0000000..3595f3c
--- /dev/null
+++ b/CHANGES.md
@@ -0,0 +1,252 @@
+<!--
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
+-->
+
+# Changes for 2.1.0
+
+## New Features:
+    CELIX-408: Adds support for generating runtime shell scripts so that multiple Celix containers and other executable can be run with a single command.
+    CELIX-418: Adds support for generating properties in the Celix container launcher.
+    CELIX-407: Adds support for serializers as a service for PubSub. This way PubSubAdmin are purely focused on transport techniques.
+    CELIX-401: Adds support for creating Celix docker images using a CMake function.
+    CELIX-397: Adds support for PubSub selection based on a match function. This way multiple PubSubAdmin can be active.
+    CELIX-389: Adds the PubSub implementation. A set of bundles which together operates as a service based publish subscribe technology agnostic abstraction.
+    CELIX-385: Adds etcdlib as library. This libray can be used to communicate with etcd using a C abstraction.
+    CELIX-370: Adds C++11 support by adding a C++ Dependency Manager library. This is moslty a header based library.
+
+## Improvements:
+    CELIX-415: Improves handling of ANSI control sequences to better support running in IDE's.
+    CELIX-414: Improves support for running Celix container inside IDE's by basicly handling Celix containers as add_executable CMake target.
+    CELIX-406: Improves handling of descriptor files, by allowing different directories for Remote Services and PubSub.
+    CELIX-399: Improves PubSub to use etcdlib instead of local copy of etcd.c file.
+    CELIX-396: Improves the ZMQ PubSub security so that enabling/disable of security can be done per topic.
+    CELIX-395: Improves Remote Service to use the etcdlib instead of a local etcd.c file.
+    CELIX-392: Removes the use of the deprecated readdir_r function. 
+
+## Bugs:
+    CELIX-416: Fixes an issue for the Android build.
+    CELIX-410: Fixes an issue where spaces and tabs are duplicated when loading properties.
+    CELIX-405: Fixes an issue with crashes because of invalid DFI descriptors.
+    CELIX-404: Fixes an issue with crashes using the inspect shell command.
+    CELIX-403: Fixes an memory leak in the service tracker.
+    CELIX-400: Fixes an issue with private libraries being loaded twice.
+    CELIX-398: Fixes an issue with PubSub and multiple UDP connections.
+    CELIX-393: Fixes an issue with the add_bundle CMake function and using existing libaries.
+    CELIX-391: Fixes an issue with the utils_stringHash not genering unique (enough) hashes.
+    CELIX-390: Fixes an issue with cycle dependency between the Celix framework and Celix utils libraries.
+    CELIX-387: Fixes an issue with the travis build and OSX
+    CELIX-386: Fixes an issue with the C++ dependency manager and register multiple C++ services.
+
+# Changes for 2.0.0
+## New Features
+    [CELIX-77] Configuration Admin Implementation
+    [CELIX-116] Event admin
+    [CELIX-119] Remove apr usage from framework
+    [CELIX-172] Bonjour Shell
+    [CELIX-237] RSA with libffi
+    [CELIX-269] New Dependency Manager
+    [CELIX-370] Add C++ support
+## Improvements
+    [CELIX-63] make cmake directory useable for custom bundle projects
+    [CELIX-66] Refactor shell service struct
+    [CELIX-90] add additional build options for RSA components
+    [CELIX-111] Support multiple libraries
+    [CELIX-115] logservice bundle entries list grows indefinitely
+    [CELIX-118] Deployment Admin - Support auditlog of Apache ACE
+    [CELIX-123] enable code coverage for utils_test
+    [CELIX-125] CMakeCelix module
+    [CELIX-134] Update source from incubator structure to TLP
+    [CELIX-138] Parameterise launcher
+    [CELIX-144] Document Developing Celix with Eclipse
+    [CELIX-146] Replace printfs wit fw_log calls
+    [CELIX-149] Add log_writer_syslog
+    [CELIX-152] Added Discovery/ETCD support
+    [CELIX-153] add cmake configuration options for rsa_bundles
+    [CELIX-156] Enable all warnings
+    [CELIX-158] RSA is unable to re-use already started proxy factory
+    [CELIX-165] Add port collision auto-correction to RSA
+    [CELIX-169] Add port collision auto-correction to discovery
+    [CELIX-182] loghelper eases log_service tracking
+    [CELIX-187] discovery_etcd: add watchindex, handle expire action
+    [CELIX-193] support portable celix_thread_t initalization
+    [CELIX-199] Code Coverage should be optional rather than required by cmake
+    [CELIX-200] SEGFAULT occurs when remote services are closed
+    [CELIX-216] Replace strtok with strtok_r
+    [CELIX-230] Refactoring of the shell command service
+    [CELIX-242] Fix Warnings
+    [CELIX-245] Update civetweb to latest version
+    [CELIX-246] enable Travis CI for Apache Celix
+    [CELIX-247] Enable ANDROID support
+    [CELIX-249] Refactor most char * usage to const char *
+    [CELIX-251] missing includes in device access example
+    [CELIX-255] Update default BUILD option
+    [CELIX-258] framework uses  dlopen/dlsym to set the bundleActivator
+    [CELIX-259] dispatcherThread does not perform a graceful shutdown
+    [CELIX-275] Can't do mkstemp on root system (deploymentAdmin_download)
+    [CELIX-278] Adding tags to ACE target through deployment admin
+    [CELIX-284] Restrict export and imports based on properties
+    [CELIX-285] Discovery SHM: remove obsolete jansson dependency
+    [CELIX-295] Many compiling warnings in unit tests
+    [CELIX-296] Framework unit tests improvement
+    [CELIX-309] Make DFI available for common use
+    [CELIX-317] Dependency Manager suspend state
+    [CELIX-320] outdated utils tests (threads, hashmap)
+    [CELIX-323] Version and version_range moved from framework to utils
+    [CELIX-326] Add service version support to dependency manager
+    [CELIX-327] Filter does not support greater than and lesser than operators
+    [CELIX-328] Service version support for RSA DFI
+    [CELIX-330] document using markdown
+    [CELIX-333] integrate coverity scans
+    [CELIX-335] Refactor deploying bundles with cmake
+    [CELIX-339] celix_log_mock doesnt show logs to the user
+    [CELIX-341] Fix coverity issues in Shell / Shell TUI
+    [CELIX-348] The utils_stringHash does not generate unique hashes.
+    [CELIX-352] RSA_DFI and embedded celix
+    [CELIX-353] Make bundle context retrievable form dm component
+    [CELIX-365] Refactor some usage of void* to const void*
+## Bugs
+    [CELIX-104] deployment_admin bundle won't start when missing properties
+    [CELIX-105] Fixed array_list_test
+    [CELIX-114] Potential deadlock in log_service bundle during stop
+    [CELIX-122] missing dependency uuid
+    [CELIX-124] Celix memory leaks fixing
+    [CELIX-127] Makefiles not generated using CMake 3.0
+    [CELIX-128] remote_shell port cannot be changed
+    [CELIX-129] Update RSA to be compatible with the Amdatu RSA implementation
+    [CELIX-130] Implement Configured Endpoint discovery compatible with Amdatu RSA
+    [CELIX-136] [contrib] Configured endpoint discovery
+    [CELIX-137] Possible concurrency issues in topology manager
+    [CELIX-139] Update tests and mocks to latest CppUTest
+    [CELIX-147] RSA_SHM: concurrency issue when client segfaults
+    [CELIX-150] Topology Manager segfaults when RSA/bundle w/ exp. service stops in wrong order
+    [CELIX-154] echo exampe not working
+    [CELIX-155] Fix CMake warnings during configuration
+    [CELIX-157] service_reference misses functions to get property keys and values
+    [CELIX-159] PThread usage not correct for Linux
+    [CELIX-161] newly added RSA cannot manage already exported/imported services
+    [CELIX-162] Update encoding/decoding of replies.
+    [CELIX-167] Update command to be able to pass a pointer (handle)
+    [CELIX-168] discovery_etcd:Make root-path configurable
+    [CELIX-170] Remote services can fail to restart when felix restarts
+    [CELIX-173] stopping rsa_http bundle does not stop rsa webserver
+    [CELIX-174]  invalid bundle_context during fw shutdown
+    [CELIX-175] segfault during shutdown when calculator is already stopped
+    [CELIX-177] not all endpoints are unistalled when rsa_http bundle is stopped
+    [CELIX-178] Shell_Tui bundle hangs on stop
+    [CELIX-179] memory leak in rsa_http callback
+    [CELIX-180] framework_tests do not compile
+    [CELIX-181] Incorrect reply status when no data is returned on a remote call.
+    [CELIX-185] Memory leaks in Discovery Endpoint Descriptor Reader
+    [CELIX-186] deployment_admin segfaults while downloading bundle
+    [CELIX-188] Add missing log_service headers to installations
+    [CELIX-189] LogService segfaults when log message pointer is overwritten
+    [CELIX-190] remote services memory leaks
+    [CELIX-192] rsa_http: add locking
+    [CELIX-194] Refactor RemoteService proxy factory
+    [CELIX-195] SEGFAULT occurs when running a log command.
+    [CELIX-197] insufficient memory allocated
+    [CELIX-198] Logging can segfault for strings 512 characters or longer
+    [CELIX-201] SEGFAULT occurs when restarting apache_celix_rs_topology_manager
+    [CELIX-202] Not all components are disabled with a clean build
+    [CELIX-205] RSA Discovery (Configured) bundle gets stuck
+    [CELIX-213] SEGFAULT occurs due to memory access after memory is free'd
+    [CELIX-215] curl_global_init() not called directly
+    [CELIX-218] Memory leaks in service_registry.c
+    [CELIX-219] Memory Leaks
+    [CELIX-221] Deployment admin segfaults when deploying a bundle
+    [CELIX-223] Celix crashes because of wrong bundle versions
+    [CELIX-224] Wrong use of errno in launcher.c
+    [CELIX-226] __unused atttibute does not work with  Linux
+    [CELIX-227] compile error under linux due to missing header include
+    [CELIX-229] Make APR optional
+    [CELIX-231] Missing log_helper creation in discovery_etcd
+    [CELIX-238] Contributing page links incorrect
+    [CELIX-239] TopologyManager does not maintain exportedServices
+    [CELIX-240] RSA: deadlock when stopping
+    [CELIX-241] remote_interface incorrect
+    [CELIX-248] too many arguments for format
+    [CELIX-250] config.h is not exported
+    [CELIX-252] discovery_etcd cannot handle celix restarts
+    [CELIX-253] Deployment admin does not always download the latest version from ACE
+    [CELIX-254] Memory leakage in deployment_admin
+    [CELIX-260] missing include in deployment admin
+    [CELIX-262] Fix minor issues in hashMap/linkedList
+    [CELIX-263] replace utils cunit tests w/ cpputest tests
+    [CELIX-264] Missing strdup leads to invalid free
+    [CELIX-270] Fix Code Coverage
+    [CELIX-271] setup coveralls.io
+    [CELIX-272] framework: improve locking / synchronization
+    [CELIX-274] waitForShutdown issue when starting two embedded celix frameworks.
+    [CELIX-279] Celix fails to compile w/ CMake 3.3
+    [CELIX-280] deployment_admin misses proper shutdown functionality
+    [CELIX-287] racecondition for framework event listener
+    [CELIX-288] Archive directory not properly read
+    [CELIX-289] Fix celix mocks
+    [CELIX-290] Mock fixes, CMakelist fix, build warning fix
+    [CELIX-292] Memory leak in refactored shell
+    [CELIX-294] changed dfi library from static to shared
+    [CELIX-298] Memory leaks in rsa_dfi
+    [CELIX-300] Invalid read in serviceRegistry during framework_shutdown
+    [CELIX-301] Memory leaks in rsa_shm
+    [CELIX-302] Service Tracker Test error breaks the build
+    [CELIX-304] Memory leaks in manifest parser, requirement, capability; out-of-date tests
+    [CELIX-305] Memory leaks in RSA_SHM, RSA_DFI, RSA_HTTP
+    [CELIX-306] Memory leaks in remote_proxy_factory, unit tests issues
+    [CELIX-307] "service registration set properties" deadlocks
+    [CELIX-308] Dependency Manager memory leaks
+    [CELIX-310] "serviceRegistry_getRegisteredServices" deadlocks
+    [CELIX-311] Framework Tests Build broken
+    [CELIX-312] ServiceReference usage counter inconsistent state
+    [CELIX-313] out of date/defunct tests
+    [CELIX-316] Wrong conversion for 'N' type in json_serializer
+    [CELIX-322] Memory leaks in resolver and framework tests
+    [CELIX-324] Version support in dfi library
+    [CELIX-325] Bundle test sporadicly fails
+    [CELIX-329] framework "service_" tests are outdates, some small bugs in the sources
+    [CELIX-331] test configuraiton needs update for newer CMake
+    [CELIX-332] filter tests absent, small bugs in the source
+    [CELIX-334] Race Condition in Topology Manager causes spurious segfaults
+    [CELIX-336] resolver_test doesn't compile
+    [CELIX-343] configuration_unbind never called
+    [CELIX-344] service tracker removes wrong service
+    [CELIX-345] Typo in Dependency Manager interface
+    [CELIX-346] celix-bootstrap problems
+    [CELIX-347] Memory leaks in dm_service_dependency
+    [CELIX-349] ServiceTracker update references list after invoking added callback
+    [CELIX-350] shell_tui wrong handling service reference
+    [CELIX-354] Coverity High Impact issues
+    [CELIX-356] Import libraries not supported in revamped cmake commands
+    [CELIX-357] Coverity Medium Impact issues
+    [CELIX-358] Coverity Low+New High Impact issues
+    [CELIX-359] Android build stopped working
+    [CELIX-360] Coverity leftover issues
+    [CELIX-361] etcd_watcher notifications loss when ETCD transaction rate is high
+    [CELIX-363] Memory leak in DFI exportRegistration_create
+    [CELIX-364] Incorrect destroy of dependency manager info struct
+    [CELIX-366] eclipse launch file not correctly generated
+    [CELIX-367] Memory leak in properties
+    [CELIX-369] Tests fail with sanitizer
+    [CELIX-371] Due to a fixed maximum length of lines in property file not all bundles are started
+    [CELIX-372] serviceRegistry_clearReferencesFor warning info unclear
+    [CELIX-373] Endpoint Server number is fixed and too low
+    [CELIX-374] RTLD_NODELETE flag
+    [CELIX-375] Topology manager deadlocks when interacts with dependency manager
+    [CELIX-377] wrong rpath setup in CMake files
+    [CELIX-378] Travis build errors on Max OSX
+    [CELIX-379] Extend cmake fucntion add_deploy with an option to specify the launcher
+    [CELIX-376] serviceRegistration sometimes paired to invalidated serviceReference
+    [CELIX-380] PROPERTIES_FOR_EACH macro does not iterate over all keys
+    [CELIX-381] Invoke set for dependency manager called before suspending the component

http://git-wip-us.apache.org/repos/asf/celix/blob/fd206906/RELEASE_NOTES
----------------------------------------------------------------------
diff --git a/RELEASE_NOTES b/RELEASE_NOTES
index 0987fc7..b82d2bb 100644
--- a/RELEASE_NOTES
+++ b/RELEASE_NOTES
@@ -1,7 +1,23 @@
-Release Notes for 2.1.0
-Remarks:
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
 
-* Library versions:
+# Release Notes for Apache Celix 2.1.0
+
+#   # Versions
+
+### Libraries:
  - Celix Framework library: 2.1.0
  - Celix Utils library: 2.1.0
  - Dependency Manager:
@@ -10,7 +26,7 @@ Remarks:
  - Celix DFI library: 1.1.0
  - Celix etcdlib: 1.0.0
 
-* Bundle versions:
+### Bundles
  - Shell Tui: 1.1.0
  - Shell Bonjour: 0.1.0 
  - Shell: 2.1.0


[12/13] celix git commit: CELIX-412: Updates celix version

Posted by pn...@apache.org.
CELIX-412: Updates celix version


Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/353ac0d2
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/353ac0d2
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/353ac0d2

Branch: refs/heads/develop
Commit: 353ac0d2e0f819f8f59d4cdf8ea1dfd701201d74
Parents: 34ed6ba
Author: Pepijn Noltes <pe...@gmail.com>
Authored: Wed Jan 24 13:19:35 2018 +0100
Committer: Pepijn Noltes <pe...@gmail.com>
Committed: Wed Jan 24 13:19:35 2018 +0100

----------------------------------------------------------------------
 CMakeLists.txt | 4 ++--
 RELEASE_NOTES  | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/353ac0d2/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8151cd2..f67d32f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -63,8 +63,8 @@ ELSE ()
 ENDIF()
 
 # Set version for the framework package/release
-set(CELIX_MAJOR "1")
-set(CELIX_MINOR "0")
+set(CELIX_MAJOR "2")
+set(CELIX_MINOR "1")
 set(CELIX_MICRO "0")
 set(CELIX_QUALIFIER "")
 

http://git-wip-us.apache.org/repos/asf/celix/blob/353ac0d2/RELEASE_NOTES
----------------------------------------------------------------------
diff --git a/RELEASE_NOTES b/RELEASE_NOTES
index b82d2bb..b9947fc 100644
--- a/RELEASE_NOTES
+++ b/RELEASE_NOTES
@@ -15,7 +15,7 @@
 
 # Release Notes for Apache Celix 2.1.0
 
-#   # Versions
+## Versions
 
 ### Libraries:
  - Celix Framework library: 2.1.0


[11/13] celix git commit: CELIX-412: Updates building and getting started documentation

Posted by pn...@apache.org.
CELIX-412: Updates building and getting started documentation


Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/34ed6ba3
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/34ed6ba3
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/34ed6ba3

Branch: refs/heads/develop
Commit: 34ed6ba364539f9ba320e16ea22408935617c232
Parents: 5f0bc1c
Author: Pepijn Noltes <pe...@gmail.com>
Authored: Wed Jan 24 12:58:17 2018 +0100
Committer: Pepijn Noltes <pe...@gmail.com>
Committed: Wed Jan 24 12:58:17 2018 +0100

----------------------------------------------------------------------
 documents/building/readme.md                    |  14 +--
 .../getting_started/creating_a_simple_bundle.md | 100 +++++++++--------
 .../getting_started/getting_started_img3.png    | Bin 127686 -> 0 bytes
 documents/getting_started/readme.md             |   5 +-
 .../getting_started/using_services_with_c.md    | 108 +++++++++----------
 5 files changed, 114 insertions(+), 113 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/34ed6ba3/documents/building/readme.md
----------------------------------------------------------------------
diff --git a/documents/building/readme.md b/documents/building/readme.md
index e624d26..79f1a64 100644
--- a/documents/building/readme.md
+++ b/documents/building/readme.md
@@ -48,7 +48,6 @@ For debian based systems (apt), the following command should work:
 ```bash
 sudo apt-get install -yq --no-install-recommends \
 	build-essential \
-    ninja \ 
   	curl \
   	git \
   	libjansson-dev \
@@ -64,7 +63,6 @@ For Fedora based systems (dnf), the following command should work:
 sudo dnf group install -y "C Development Tools and Libraries"
 sudo dnf install \
     cmake \
-    ninja-build \
     make \
     git \
     java \
@@ -96,8 +94,7 @@ git clone --single-branch --branch master https://github.com/apache/celix.git
 ```
 
 ## Building Apache Celix
-Apache Celix uses [CMake](https://cmake.org) as build system. CMake can generate (among others) makefiles or ninja build files. 
-using ninja build files will result in a faster build.
+Apache Celix uses [CMake](https://cmake.org) as build system. CMake can generate (among others) makefiles. 
 
 ### Building using CMake and makefiles:
 ```bash
@@ -108,15 +105,6 @@ cmake ..
 make 
 ```
 
-### Building using CMake and Ninja
-```bash
-cd ${WS}/celix
-mkdir build
-cd build
-cmake -G Ninja ..
-ninja
-```
-
 ## Editing Build options
 With use of CMake, Apache Celix makes it possible to edit build options. This enabled users, among other options, to configure a install location and select additional bundles.
 To edit the options use ccmake or cmake-gui. For cmake-gui an additional package install can be necessary (Fedora: `dnf install cmake-gui`). 

http://git-wip-us.apache.org/repos/asf/celix/blob/34ed6ba3/documents/getting_started/creating_a_simple_bundle.md
----------------------------------------------------------------------
diff --git a/documents/getting_started/creating_a_simple_bundle.md b/documents/getting_started/creating_a_simple_bundle.md
index e580477..8f10869 100644
--- a/documents/getting_started/creating_a_simple_bundle.md
+++ b/documents/getting_started/creating_a_simple_bundle.md
@@ -68,8 +68,8 @@ find_package(CELIX REQUIRED)
 include_directories(${CELIX_INCLUDE_DIRS})
 
 #Part 4. Choose C, C++ or both
-add_subdirectory(bundles/hello_world) #C
-add_subdirectory(bundles/HelloWorld) #C++
+add_subdirectory(bundles/HelloWorld_c) #C
+add_subdirectory(bundles/HelloWorld_cxx) #C++
 ```
 		
 This CMakeLists.txt file, sets up the following:
@@ -94,49 +94,46 @@ Create the sub directory:
 ```CMake
 #Create directory structure for the hello_world bundles
 cd ${WS}/myproject
-mkdir -p bundles/hello_world/private/src
-mkdir -p bundles/HelloWorld/private/src
-mkdir -p bundles/HelloWorld/private/include
+mkdir -p bundles/HelloWorld_c/src
+mkdir -p bundles/HelloWorld_cxx/src
+mkdir -p bundles/HelloWorld_cxx/include
 ```
 
 
 And add the following CMakeLists.txt file for the C Bundle:
 
 ```CMake	
-#${WS}/myproject/bundles/hello_world/CMakeLists.txt
+#${WS}/myproject/bundles/HelloWorld_c/CMakeLists.txt
 
-add_celix_bundle(hello_world
+add_celix_bundle(HelloWorld_c
     VERSION 1.0.0
 	SOURCES
-        private/src/hello_world_activator.c
+        src/HelloWorld_activator.c
 )	
 
 if(APPLE)
-    target_link_libraries(hello_world ${CELIX_LIBRARIES} -Wl,-all_load ${CELIX_DM_STATIC_LIB})
+    target_link_libraries(HelloWorld_c ${CELIX_LIBRARIES} -Wl,-all_load ${CELIX_DM_STATIC_LIB})
 else()  
-    target_link_libraries(hello_world -Wl,--no-undefined -Wl,--whole-archive ${CELIX_DM_STATIC_LIB} -Wl,--no-whole-archive ${CELIX_LIBRARIES})
+    target_link_libraries(HelloWorld_c -Wl,--no-undefined -Wl,--whole-archive ${CELIX_DM_STATIC_LIB} -Wl,--no-whole-archive ${CELIX_LIBRARIES})
 endif()
 ```
 
 And/or the following CMakeLists.txt for the C++ bundle:
 
 ```CMake
-#${WS}/myproject/bundles/HelloWorld/CMakeLists.txt
+#${WS}/myproject/bundles/HelloWorld_cxx/CMakeLists.txt
 
-include_directories(
-    private/include
-)
-
-add_celix_bundle(HelloWorld
+add_celix_bundle(HelloWorld_cxx
     VERSION 1.0.0
 	SOURCES
-        private/src/HelloWorldActivator.cc
+        src/HelloWorldActivator.cc
 )
+target_include_directories(HelloWorld_cxx PRIVATE include)
 
 IF(APPLE)
-    target_link_libraries(HelloWorld ${CELIX_LIBRARIES} -Wl,-all_load ${CELIX_DM_STATIC_CXX_LIB})
+    target_link_libraries(HelloWorld_cxx ${CELIX_LIBRARIES} -Wl,-all_load ${CELIX_DM_STATIC_CXX_LIB})
 else()
-    target_link_libraries(HelloWorld -Wl,--no-undefined -Wl,--whole-archive ${CELIX_DM_STATIC_CXX_LIB} -Wl,--no-whole-archive ${CELIX_LIBRARIES})
+    target_link_libraries(HelloWorld_cxx -Wl,--no-undefined -Wl,--whole-archive ${CELIX_DM_STATIC_CXX_LIB} -Wl,--no-whole-archive ${CELIX_LIBRARIES})
 endif()
 ```
 	
@@ -151,7 +148,7 @@ The dependency manager uses a higher abstraction and is more simple to understan
 
 The C Bundle Activator:
 ```C
-//${WS}/myproject/bundles/hello_world/private/src/hello_world_activator.c
+//${WS}/myproject/bundles/hello_world/src/HelloWorld_activator.c
 #include <stdlib.h>
 #include <stdio.h>
 
@@ -188,32 +185,30 @@ celix_status_t dm_destroy(void* userData, bundle_context_pt context, dm_dependen
 	
 The C++ Bundle Activator (header + source):
 ```C++
-//${WS}/myproject/bundles/HelloWorld/private/include/HelloWorldActivator.h
+//${WS}/myproject/bundles/HelloWorld/include/HelloWorldActivator.h
 #ifndef HELLOWORLDACTIVATOR_H_
 #define HELLOWORLDACTIVATOR_H_
 
 #include "celix/dm/DmActivator.h"
 
-using namespace celix::dm;
-
-class HelloWorldActivator : public DmActivator {
+class HelloWorldActivator : public celix::dm::DmActivator {
 private:
-    const std::string word {"C++ World"}; 
+    const std::string word {"C++ World"};
 public:
-    HelloWorldActivator(DependencyManager& mng) : DmActivator {mng} {}
+    HelloWorldActivator(celix::dm::DependencyManager& mng) : DmActivator {mng} {}
     virtual void init();
     virtual void deinit();
 };
 
 #endif //HELLOWORLDACTIVATOR_H_
+```
 
+```C++
 //${WS}/myproject/bundles/HelloWorld/private/src/HelloWorldActivator.cc
 #include "HelloWorldActivator.h"
 #include <iostream>
 
-using namespace celix::dm;
-
-DmActivator* DmActivator::create(DependencyManager& mng) {
+DmActivator* DmActivator::create(celix::dm::DependencyManager& mng) {
     return new HelloWorldActivator(mng);
 }
 
@@ -241,14 +236,16 @@ cmake ../myproject
 make all  
 ```	
 
-Hopefully you will some some build results scrolling over the screen and actual build results in the build directory. There should be a hello_world.zip in the bundles/hello_world directory, this the actual bundle.  
-A bundle on its own has no real value, so lets setup a deployment and run the Apache Celix framwork with these bundles.
+Hopefully you will some some build results scrolling over the screen and actual build results in the build directory.
+There should be a HelloWorld_c.zip in the bundles/HelloWorld_c directory and a HelloWorld_cxx.zip in the bundles/HelloWorld_cxx directory,
+these are the actual bundles.
+A bundle on its own has no real value, so lets setup a Celix container and run Celix with these bundles.
 
 ### Running
 
 To create a deployment for the hello world bundles two things are needed: 
 	
-1. Add a `add_celix_container` statement in the `CMakeLists.txt` file declaring what to deploy and under which name.
+1. Add a `add_celix_container` statement in the (top level) `CMakeLists.txt` file declaring what to deploy and under which name.
 
 ```CMake
 #${WS}/myproject/CMakeLists.txt
@@ -258,11 +255,14 @@ add_celix_container(myproject
 	    ${CELIX_BUNDLES_DIR}/shell.zip 
 	    ${CELIX_BUNDLES_DIR}/shell_tui.zip
 	    ${CELIX_BUNDLES_DIR}/dm_shell.zip 
-	    hello_world #C bundle
-	    HelloWorld #C++ bundle
+	    HelloWorld_c #C bundle
+	    HelloWorld_cxx #C++ bundle
 )		
 ```
- 		   
+
+With the `add_celix_container` CMake function a Celix container will be configured, which bundles to use can be specified with absolute paths to
+bundle files (e.g. the shell.zip bundle) or Celix bundle CMake target (e.g. the HelloWorld_c bundle).
+
 Rerun make again form the build project. the make files generated by CMake will ensure cmake is run it again to update the actual make files.
 
 ```bash 		
@@ -274,20 +274,19 @@ Now a deploy directory myproject should be available in the deploy directory. Th
 
 ```bash
 cd ${WS}/myproject-build/deploy/myproject
-. ./release.sh
-./hello
+./myproject
 ```
 
-The hello_world bundle should be started with the famous "Hello World" text printed twice from the C and C++ bundle. The shell and shell_tui bundle are also deployed and these can be used to query and control the running framework. Below some commands are shown for querying the installed bundles, listing all known shell command, showing the help of a specific command and stopping a specific bundle (note that bundle 0 is the framework "bundle"):
+The HelloWorld_c and HelloWorld_cxx bundles should be started with their own famous "Hello World" text variant printed. One for the C and one for the C++ bundle.
+The shell and shell_tui bundle are also deployed and these can be used to query and control the running framework. Below some commands are shown for querying the installed bundles, listing all known shell command, showing the help of a specific command and stopping a specific bundle (note that bundle 0 is the framework "bundle"):
 
 ```
 lb 
 help
-help inspect
 stop 0
 ```
 	
-## Apache Celix Bundle Project in Eclipse
+## Apache Celix Projects in Eclipse
 
 A nice feature of CMake is the ability to generate Eclipse project files, with this feature bundles can also be developed with use of Eclipse. This should help speed up the development process. 
 To get started change directory to the build directory and generate a eclipse project file.
@@ -303,17 +302,30 @@ Import the project with existing project.
 
 ![import project](getting_started_img2.png)
 
-To build the project, use Project->Build All. To run or debug from Eclipse navigate to the myproject deploy directory and right click on the 'myproject-deploy.launch' file. And select Run As or Debug As to run or debug the bundle.
+To build the project, use Project->Build All.
+To run or debug from Eclipse navigate to the myproject deploy directory and right click on
+the 'myproject' executable and as "Local C/C++ Application"
+
+
+## Apache Celix Projects in CLion
+
+Using Apache Celix projects in CLion quite easy.
+Just use `File -> Open ...` and select a Apache Celix project.
+Because CLion is a IDE for CMake projects and Apache Celix projects are CMake projects this works out of the box.
+
+To run a Celix container just select the target from CLion and press Run.
 
-![run project](getting_started_img3.png) 
  
 ## Next
 
+The get a complete overview of the available Celix CMake commands see:
+ - [Apache Celix - Celix CMake Commands](../cmake_commands/readme.md)
+
 The idea behind service oriented programming is that functionality is provided and used by abstract service, which hide implementation details.
 For a guide how to provide and use services see
 
-* [Apache Celix - Getting Started Guide: Using Services with C](using_services_with_c.md)
-* [Apache Celix - Getting Started Guide: Using Services with C++](using_services_with_cxx.md)
+- [Apache Celix - Getting Started Guide: Using Services with C](using_services_with_c.md)
+- [Apache Celix - Getting Started Guide: Using Services with C++](using_services_with_cxx.md)
  
 
 

http://git-wip-us.apache.org/repos/asf/celix/blob/34ed6ba3/documents/getting_started/getting_started_img3.png
----------------------------------------------------------------------
diff --git a/documents/getting_started/getting_started_img3.png b/documents/getting_started/getting_started_img3.png
deleted file mode 100644
index 3d4cf42..0000000
Binary files a/documents/getting_started/getting_started_img3.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/celix/blob/34ed6ba3/documents/getting_started/readme.md
----------------------------------------------------------------------
diff --git a/documents/getting_started/readme.md b/documents/getting_started/readme.md
index 6dd798c..9692bc0 100644
--- a/documents/getting_started/readme.md
+++ b/documents/getting_started/readme.md
@@ -21,5 +21,6 @@ limitations under the License.
 There are several guide to help you get started. The first guide is [Getting Started: Creating a simple bundle](creating_a_simple_bundle.md) 
 and this should get you started for your first C and/or C++ bundle.
 
-After that you can extend the example by providing and use services using the 
-guide [Getting Started: Using Services with C](using_services_with_c.md) or [Getting Started: Using Services with C++](using_services_with_cxx.md). 
+After that you can extend the example by using services with the following guides:
+ - [Getting Started: Using Services with C](using_services_with_c.md) 
+ - [Getting Started: Using Services with C++](using_services_with_cxx.md). 

http://git-wip-us.apache.org/repos/asf/celix/blob/34ed6ba3/documents/getting_started/using_services_with_c.md
----------------------------------------------------------------------
diff --git a/documents/getting_started/using_services_with_c.md b/documents/getting_started/using_services_with_c.md
index 258b147..6622cba 100644
--- a/documents/getting_started/using_services_with_c.md
+++ b/documents/getting_started/using_services_with_c.md
@@ -32,9 +32,9 @@ By convention use the following service layout:
 #ifndef EXAMPLE_H_
 #define EXAMPLE_H_
 
-#define EXAMPLE_NAME 			"org.example"
-#define EXAMPLE_VERSION 		"1.0.0"
-#define EXAMPLE_CONSUMER_RANGE   "[1.0.0,2.0.0)"
+#define EXAMPLE_NAME            "org.example"
+#define EXAMPLE_VERSION         "1.0.0"
+#define EXAMPLE_CONSUMER_RANGE  "[1.0.0,2.0.0)"
 
 
 struct example_struct {
@@ -98,7 +98,7 @@ For C services generally platform specific calling convention are used therefore
 ## Components
 
 Component should use the ADT principle (see [ADT in C](http://inst.eecs.berkeley.edu/~selfpace/studyguide/9C.sg/Output/ADTs.in.C.html)).
-Note that is a a convention.
+Note that is a convention.
 
 Components should have a `<cmpName>_create` and `<cmpName>_destroy` function.
 Components can have a `<cmpName>_start` and `<cmpName>_stop` function to start/stop threads or invoke functionality needed a fully created component. 
@@ -180,44 +180,44 @@ struct activator {
 };
 
 celix_status_t dm_create(bundle_context_pt context, void **userData) {
-	celix_status_t status = CELIX_SUCCESS;
-	struct activator *act = calloc(1, sizeof(*act));
-	if (act != NULL) {
+    celix_status_t status = CELIX_SUCCESS;
+    struct activator *act = calloc(1, sizeof(*act));
+    if (act != NULL) {
 
-		act->bar = bar_create();
-		act->exampleService.handle = act->bar;
-		act->exampleService.method = (void*) bar_method;
+        act->bar = bar_create();
+        act->exampleService.handle = act->bar;
+        act->exampleService.method = (void*) bar_method;
 
-		if (act->bar != NULL) {
+        if (act->bar != NULL) {
             *userData = act;
         } else {
             free(act);
         }
-	} else {
-		status = CELIX_ENOMEM;
+    } else {
+        status = CELIX_ENOMEM;
 	}
 	return status;
 }
 
 celix_status_t dm_init(void *userData, bundle_context_pt context, dm_dependency_manager_pt manager) {
     celix_status_t status = CELIX_SUCCESS;
-	struct activator *activator = userData;
+    struct activator *activator = userData;
 
-	dm_component_pt cmp = NULL;
-	component_create(context, "BAR", &cmp);
-	component_setImplementation(cmp, activator->bar);
-	component_addInterface(cmp, EXAMPLE_NAME, EXAMPLE_VERSION, &activator->exampleService, NULL);
+    dm_component_pt cmp = NULL;
+    component_create(context, "BAR", &cmp);
+    component_setImplementation(cmp, activator->bar);
+    component_addInterface(cmp, EXAMPLE_NAME, EXAMPLE_VERSION, &activator->exampleService, NULL);
 
-	dependencyManager_add(manager, cmp);
+    dependencyManager_add(manager, cmp);
     return status;
 }
 
 celix_status_t dm_destroy(void *userData, bundle_context_pt context, dm_dependency_manager_pt manager) {
-	celix_status_t status = CELIX_SUCCESS;
-	struct activator *activator = userData;
-	bar_destroy(activator->bar);
-	free(activator);
-	return status;
+    celix_status_t status = CELIX_SUCCESS;
+    struct activator *activator = userData;
+    bar_destroy(activator->bar);
+    free(activator);
+    return status;
 };
 ```
 
@@ -342,53 +342,53 @@ struct activator {
 };
 
 celix_status_t dm_create(bundle_context_pt context, void **userData) {
-	celix_status_t status = CELIX_SUCCESS;
-	struct activator *act = calloc(1, sizeof(*act));
-	if (act != NULL) {
-		act->foo = foo1_create();
+    celix_status_t status = CELIX_SUCCESS;
+    struct activator *act = calloc(1, sizeof(*act));
+    if (act != NULL) {
+        act->foo = foo1_create();
         if (act->foo != NULL) {
             *userData = act;
         } else {
             free(act);
         }
-	} else {
-		status = CELIX_ENOMEM;
-	}
-	return status;
+    } else {
+        status = CELIX_ENOMEM;
+    }
+    return status;
 }
 
 celix_status_t dm_init(void *userData, bundle_context_pt context, dm_dependency_manager_pt manager) {
     celix_status_t status = CELIX_SUCCESS;
-	struct activator *activator = userData;
+    struct activator *activator = userData;
 
-	dm_component_pt cmp = NULL;
-	component_create(context, "FOO1", &cmp);
-	component_setImplementation(cmp, activator->foo);
+    dm_component_pt cmp = NULL;
+    component_create(context, "FOO1", &cmp);
+    component_setImplementation(cmp, activator->foo);
 
-	/*
-	With the component_setCallbacksSafe we register callbacks when a component is started / stopped using a component
-	 with type foo1_t*
-	*/
+    /*
+    With the component_setCallbacksSafe we register callbacks when a component is started / stopped using a component
+     with type foo1_t*
+    */
     component_setCallbacksSafe(cmp, foo1_t*, NULL, foo1_start, foo1_stop, NULL);
 
-	dm_service_dependency_pt dep = NULL;
-	serviceDependency_create(&dep);
-	serviceDependency_setRequired(dep, true);
-	serviceDependency_setService(dep, EXAMPLE_NAME, EXAMPLE_CONSUMER_RANGE, NULL);
-	serviceDependency_setStrategy(dep, DM_SERVICE_DEPENDENCY_STRATEGY_LOCKING);
+    dm_service_dependency_pt dep = NULL;
+    serviceDependency_create(&dep);
+    serviceDependency_setRequired(dep, true);
+    serviceDependency_setService(dep, EXAMPLE_NAME, EXAMPLE_CONSUMER_RANGE, NULL);
+    serviceDependency_setStrategy(dep, DM_SERVICE_DEPENDENCY_STRATEGY_LOCKING);
 
-	/*
-	With the serviceDependency_setCallbacksSafe we register callbacks when a service
-	is added and about to be removed for the component type foo1_t* and service type example_t*.
+    /*
+    With the serviceDependency_setCallbacksSafe we register callbacks when a service
+    is added and about to be removed for the component type foo1_t* and service type example_t*.
 
-	We should protect the usage of the
- 	service because after removal of the service the memory location of that service
-	could be freed
-	*/
+    We should protect the usage of the
+    service because after removal of the service the memory location of that service
+    could be freed
+    */
     serviceDependency_setCallbacksSafe(dep, foo1_t*, const example_t*, foo1_setExample, NULL, NULL, NULL, NULL);
-	component_addServiceDependency(cmp, dep);
+    component_addServiceDependency(cmp, dep);
 
-	dependencyManager_add(manager, cmp);
+    dependencyManager_add(manager, cmp);
 
     return status;
 }


[10/13] celix git commit: CELIX-418: disable building docker dir in osx

Posted by pn...@apache.org.
CELIX-418: disable building docker dir in osx


Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/5f0bc1ce
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/5f0bc1ce
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/5f0bc1ce

Branch: refs/heads/develop
Commit: 5f0bc1ce9c1b1f9df62a55b4632071625e604316
Parents: 06e4d11
Author: Pepijn Noltes <pe...@gmail.com>
Authored: Wed Jan 17 21:03:22 2018 +0100
Committer: Pepijn Noltes <pe...@gmail.com>
Committed: Wed Jan 17 21:03:22 2018 +0100

----------------------------------------------------------------------
 cmake/cmake_celix/DockerPackaging.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/5f0bc1ce/cmake/cmake_celix/DockerPackaging.cmake
----------------------------------------------------------------------
diff --git a/cmake/cmake_celix/DockerPackaging.cmake b/cmake/cmake_celix/DockerPackaging.cmake
index e0ffe5e..74279c4 100644
--- a/cmake/cmake_celix/DockerPackaging.cmake
+++ b/cmake/cmake_celix/DockerPackaging.cmake
@@ -130,7 +130,7 @@ $<JOIN:$<TARGET_PROPERTY:${DOCKER_TARGET},DOCKER_PROPERTIES>,\\n\\
                 INPUT "${LAUNCHER_STAGE1}"
         )
 
-        add_executable(${DOCKER_TARGET} ${LAUNCHER_SRC})
+        add_executable(${DOCKER_TARGET} EXCLUDE_FROM_ALL ${LAUNCHER_SRC})
         #   set_target_properties(${DOCKER_TARGET} PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${DOCKER_LOC})
         target_include_directories(${DOCKER_TARGET} PRIVATE ${CELIX_INCLUDE_DIRS})
         target_link_libraries(${DOCKER_TARGET} PRIVATE ${CELIX_FRAMEWORK_LIBRARY} ${CELIX_UTILS_LIBRARY})


[03/13] celix git commit: CELIX-412: Adds missing AL comments, based on the output of the apache rat tool

Posted by pn...@apache.org.
CELIX-412: Adds missing AL comments, based on the output of the apache rat tool


Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/f32363ac
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/f32363ac
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/f32363ac

Branch: refs/heads/develop
Commit: f32363ac03007b2109eeada28b03e2341e6c5749
Parents: c5c30a3
Author: Pepijn Noltes <pe...@gmail.com>
Authored: Mon Jan 15 21:18:19 2018 +0100
Committer: Pepijn Noltes <pe...@gmail.com>
Committed: Mon Jan 15 21:18:19 2018 +0100

----------------------------------------------------------------------
 cmake/cmake_celix/Runtimes.cmake                | 17 +++++++++++++++
 pubsub/examples/keys/publisher/private/.gitkeep | 14 +++++++++++++
 pubsub/examples/keys/publisher/public/.gitkeep  | 16 ++++++++++++++
 .../examples/keys/subscriber/private/.gitkeep   | 16 ++++++++++++++
 pubsub/examples/keys/subscriber/public/.gitkeep | 16 ++++++++++++++
 .../pubsub/msg_descriptors/poi1.properties      | 17 +++++++++++++++
 .../pubsub/msg_descriptors/poi2.properties      | 17 +++++++++++++++
 .../private/src/topic_publication.c             | 11 ++--------
 .../private/src/topic_publication.c             |  9 +-------
 .../public/include/pubsub_admin_match.h         | 21 +++++++++++++++----
 .../public/src/pubsub_admin_match.c             | 22 +++++++++++++++-----
 11 files changed, 150 insertions(+), 26 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/f32363ac/cmake/cmake_celix/Runtimes.cmake
----------------------------------------------------------------------
diff --git a/cmake/cmake_celix/Runtimes.cmake b/cmake/cmake_celix/Runtimes.cmake
index a55a089..785a8c0 100644
--- a/cmake/cmake_celix/Runtimes.cmake
+++ b/cmake/cmake_celix/Runtimes.cmake
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.
+
 add_custom_target(runtimes ALL
     DEPENDS "$<TARGET_PROPERTY:runtimes,DEPS>"
 )

http://git-wip-us.apache.org/repos/asf/celix/blob/f32363ac/pubsub/examples/keys/publisher/private/.gitkeep
----------------------------------------------------------------------
diff --git a/pubsub/examples/keys/publisher/private/.gitkeep b/pubsub/examples/keys/publisher/private/.gitkeep
index e69de29..4ea9b31 100644
--- a/pubsub/examples/keys/publisher/private/.gitkeep
+++ b/pubsub/examples/keys/publisher/private/.gitkeep
@@ -0,0 +1,14 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.

http://git-wip-us.apache.org/repos/asf/celix/blob/f32363ac/pubsub/examples/keys/publisher/public/.gitkeep
----------------------------------------------------------------------
diff --git a/pubsub/examples/keys/publisher/public/.gitkeep b/pubsub/examples/keys/publisher/public/.gitkeep
index e69de29..978b68a 100644
--- a/pubsub/examples/keys/publisher/public/.gitkeep
+++ b/pubsub/examples/keys/publisher/public/.gitkeep
@@ -0,0 +1,16 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.

http://git-wip-us.apache.org/repos/asf/celix/blob/f32363ac/pubsub/examples/keys/subscriber/private/.gitkeep
----------------------------------------------------------------------
diff --git a/pubsub/examples/keys/subscriber/private/.gitkeep b/pubsub/examples/keys/subscriber/private/.gitkeep
index e69de29..978b68a 100644
--- a/pubsub/examples/keys/subscriber/private/.gitkeep
+++ b/pubsub/examples/keys/subscriber/private/.gitkeep
@@ -0,0 +1,16 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.

http://git-wip-us.apache.org/repos/asf/celix/blob/f32363ac/pubsub/examples/keys/subscriber/public/.gitkeep
----------------------------------------------------------------------
diff --git a/pubsub/examples/keys/subscriber/public/.gitkeep b/pubsub/examples/keys/subscriber/public/.gitkeep
index e69de29..978b68a 100644
--- a/pubsub/examples/keys/subscriber/public/.gitkeep
+++ b/pubsub/examples/keys/subscriber/public/.gitkeep
@@ -0,0 +1,16 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.

http://git-wip-us.apache.org/repos/asf/celix/blob/f32363ac/pubsub/examples/pubsub/msg_descriptors/poi1.properties
----------------------------------------------------------------------
diff --git a/pubsub/examples/pubsub/msg_descriptors/poi1.properties b/pubsub/examples/pubsub/msg_descriptors/poi1.properties
index 634a20f..16a1962 100644
--- a/pubsub/examples/pubsub/msg_descriptors/poi1.properties
+++ b/pubsub/examples/pubsub/msg_descriptors/poi1.properties
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.
+
 #
 # included in the bundle at location META-INF/topics/[pub|sub]/poi1.properties
 #

http://git-wip-us.apache.org/repos/asf/celix/blob/f32363ac/pubsub/examples/pubsub/msg_descriptors/poi2.properties
----------------------------------------------------------------------
diff --git a/pubsub/examples/pubsub/msg_descriptors/poi2.properties b/pubsub/examples/pubsub/msg_descriptors/poi2.properties
index 2edbdf6..739075c 100644
--- a/pubsub/examples/pubsub/msg_descriptors/poi2.properties
+++ b/pubsub/examples/pubsub/msg_descriptors/poi2.properties
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.
+
 #
 # included in the bundle at location META-INF/topics/[pub|sub]/poi2.properties
 #

http://git-wip-us.apache.org/repos/asf/celix/blob/f32363ac/pubsub/pubsub_admin_udp_mc/private/src/topic_publication.c
----------------------------------------------------------------------
diff --git a/pubsub/pubsub_admin_udp_mc/private/src/topic_publication.c b/pubsub/pubsub_admin_udp_mc/private/src/topic_publication.c
index e43ec29..44106df 100644
--- a/pubsub/pubsub_admin_udp_mc/private/src/topic_publication.c
+++ b/pubsub/pubsub_admin_udp_mc/private/src/topic_publication.c
@@ -7,7 +7,7 @@
  *"License"); you may not use this file except in compliance
  *with the License.  You may obtain a copy of the License at
  *
- *  htPSA_UDP_MC_TP://www.apache.org/licenses/LICENSE-2.0
+ *  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
@@ -16,13 +16,6 @@
  *specific language governing permissions and limitations
  *under the License.
  */
-/*
- * topic_publication.c
- *
- *  \date       Sep 24, 2015
- *  \author    	<a href="mailto:dev@celix.apache.org">Apache Celix Project Team</a>
- *  \copyright	Apache License, Version 2.0
- */
 
 #include <stdlib.h>
 #include <string.h>
@@ -318,7 +311,7 @@ static int pubsub_topicPublicationSend(void* handle, unsigned int msgTypeId, con
 	celixThreadMutex_lock(&(bound->parent->tp_lock));
 	celixThreadMutex_lock(&(bound->mp_lock));
 
-	pubsub_msg_serializer_t* msgSer = (pubsub_msg_serializer_t*)hashMap_get(bound->msgTypes, (void*)(uintptr_t)msgTypeId);
+	pubsub_msg_serializer_t* msgSer = (pubsub_msg_serializer_t*)hashMap_get(bound->msgTypes, (void*)(intptr_t)msgTypeId);
 
 	if (msgSer != NULL) {
 		int major=0, minor=0;

http://git-wip-us.apache.org/repos/asf/celix/blob/f32363ac/pubsub/pubsub_admin_zmq/private/src/topic_publication.c
----------------------------------------------------------------------
diff --git a/pubsub/pubsub_admin_zmq/private/src/topic_publication.c b/pubsub/pubsub_admin_zmq/private/src/topic_publication.c
index 34c25b3..e405866 100644
--- a/pubsub/pubsub_admin_zmq/private/src/topic_publication.c
+++ b/pubsub/pubsub_admin_zmq/private/src/topic_publication.c
@@ -7,7 +7,7 @@
  *"License"); you may not use this file except in compliance
  *with the License.  You may obtain a copy of the License at
  *
- *  htPSA_ZMQ_TP://www.apache.org/licenses/LICENSE-2.0
+ *  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
@@ -16,13 +16,6 @@
  *specific language governing permissions and limitations
  *under the License.
  */
-/*
- * topic_publication.c
- *
- *  \date       Sep 24, 2015
- *  \author    	<a href="mailto:dev@celix.apache.org">Apache Celix Project Team</a>
- *  \copyright	Apache License, Version 2.0
- */
 
 #include <czmq.h>
 /* The following undefs prevent the collision between:

http://git-wip-us.apache.org/repos/asf/celix/blob/f32363ac/pubsub/pubsub_common/public/include/pubsub_admin_match.h
----------------------------------------------------------------------
diff --git a/pubsub/pubsub_common/public/include/pubsub_admin_match.h b/pubsub/pubsub_common/public/include/pubsub_admin_match.h
index a366c34..e95ca7d 100644
--- a/pubsub/pubsub_common/public/include/pubsub_admin_match.h
+++ b/pubsub/pubsub_common/public/include/pubsub_admin_match.h
@@ -1,10 +1,23 @@
-/*
- * pubsub_admin_match.h
+/**
+ *Licensed to the Apache Software Foundation (ASF) under one
+ *or more contributor license agreements.  See the NOTICE file
+ *distributed with this work for additional information
+ *regarding copyright ownership.  The ASF licenses this file
+ *to you 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
  *
- *  Created on: Sep 4, 2017
- *      Author: dn234
+ *  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.
  */
 
+
 #ifndef PUBSUB_ADMIN_MATCH_H_
 #define PUBSUB_ADMIN_MATCH_H_
 

http://git-wip-us.apache.org/repos/asf/celix/blob/f32363ac/pubsub/pubsub_common/public/src/pubsub_admin_match.c
----------------------------------------------------------------------
diff --git a/pubsub/pubsub_common/public/src/pubsub_admin_match.c b/pubsub/pubsub_common/public/src/pubsub_admin_match.c
index 1e821b5..2a695c1 100644
--- a/pubsub/pubsub_common/public/src/pubsub_admin_match.c
+++ b/pubsub/pubsub_common/public/src/pubsub_admin_match.c
@@ -1,11 +1,23 @@
-/*
- * pubsub_admin_match.c
-
+/**
+ *Licensed to the Apache Software Foundation (ASF) under one
+ *or more contributor license agreements.  See the NOTICE file
+ *distributed with this work for additional information
+ *regarding copyright ownership.  The ASF licenses this file
+ *to you 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
  *
- *  Created on: Sep 4, 2017
- *      Author: dn234
+ *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.
  */
 
+
 #include <string.h>
 #include "service_reference.h"
 


[13/13] celix git commit: Merge branch 'master' into develop

Posted by pn...@apache.org.
Merge branch 'master' into develop


Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/e78ecc56
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/e78ecc56
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/e78ecc56

Branch: refs/heads/develop
Commit: e78ecc5653d13e104bffcd79ad267c9149eaa091
Parents: 532273a 353ac0d
Author: Pepijn Noltes <pe...@gmail.com>
Authored: Tue Jan 30 20:33:22 2018 +0100
Committer: Pepijn Noltes <pe...@gmail.com>
Committed: Tue Jan 30 20:33:22 2018 +0100

----------------------------------------------------------------------
 CHANGES                                         | 215 ----------------
 CHANGES.md                                      | 252 +++++++++++++++++++
 CMakeLists.txt                                  |   8 +-
 NOTICE                                          |   1 +
 README.md                                       |  17 ++
 RELEASE_NOTES                                   |  55 ++--
 cmake/cmake_celix/BundlePackaging.cmake         |  90 +++++--
 cmake/cmake_celix/DeployPackaging.cmake         |  39 ++-
 cmake/cmake_celix/DockerPackaging.cmake         |  14 +-
 cmake/cmake_celix/Runtimes.cmake                |  17 ++
 config_admin/CMakeLists.txt                     |   2 +-
 .../example_test/CMakeLists.txt                 |   2 +-
 .../example_test2/CMakeLists.txt                |   2 +-
 config_admin/example/CMakeLists.txt             |   2 +-
 config_admin/readme.md                          |  17 ++
 config_admin/service/CMakeLists.txt             |   2 +-
 dependency_manager/CMakeLists.txt               |   5 +-
 dependency_manager/readme.md                    |  17 ++
 dependency_manager_cxx/CMakeLists.txt           |   5 +-
 dependency_manager_cxx/readme.md                |  17 ++
 deployment_admin/CMakeLists.txt                 |   6 +-
 deployment_admin/README.md                      |  17 ++
 device_access/README.md                         |  17 ++
 device_access/device_access/CMakeLists.txt      |   4 +-
 device_access/driver_locator/CMakeLists.txt     |   4 +-
 device_access/example/CMakeLists.txt            |   4 +-
 .../example/base_driver/CMakeLists.txt          |   2 +-
 .../example/consuming_driver/CMakeLists.txt     |   2 +-
 .../example/refining_driver/CMakeLists.txt      |   2 +-
 dfi/CMakeLists.txt                              |   1 +
 documents/building/readme.md                    |  31 ++-
 documents/cmake_commands/readme.md              | 156 ++++++------
 .../getting_started/creating_a_simple_bundle.md | 128 ++++++----
 .../getting_started/getting_started_img3.png    | Bin 127686 -> 0 bytes
 documents/getting_started/readme.md             |  22 +-
 .../getting_started/using_services_with_c.md    | 125 +++++----
 .../getting_started/using_services_with_cxx.md  |  17 ++
 documents/intro/readme.md                       |  17 ++
 documents/roadmap/api_v3/readme.md              |  19 +-
 documents/roadmap/improvement_ideas.md          |  19 +-
 documents/roadmap/roadmap.md                    |  17 ++
 documents/subprojects/readme.md                 |  17 ++
 etcdlib/CMakeLists.txt                          |   3 +-
 etcdlib/README.md                               |  17 ++
 event_admin/CMakeLists.txt                      |   6 +-
 event_admin/event_admin/CMakeLists.txt          |   4 +-
 event_admin/event_handler/CMakeLists.txt        |   4 +-
 event_admin/event_publisher/CMakeLists.txt      |   4 +-
 examples/dm_example/CMakeLists.txt              |   2 +-
 examples/dm_example/phase1/CMakeLists.txt       |   2 +-
 examples/dm_example/phase2a/CMakeLists.txt      |   2 +-
 examples/dm_example/phase2b/CMakeLists.txt      |   2 +-
 examples/dm_example/phase3/CMakeLists.txt       |   2 +-
 examples/dm_example_cxx/CMakeLists.txt          |   2 +-
 examples/dm_example_cxx/phase1/CMakeLists.txt   |   2 +-
 examples/dm_example_cxx/phase2a/CMakeLists.txt  |   2 +-
 examples/dm_example_cxx/phase2b/CMakeLists.txt  |   2 +-
 examples/dm_example_cxx/phase3/CMakeLists.txt   |   2 +-
 .../phase3_locking/CMakeLists.txt               |   2 +-
 examples/hello_world/CMakeLists.txt             |  10 +-
 examples/hello_world_test/CMakeLists.txt        |  16 +-
 examples/log_service_example/CMakeLists.txt     |   4 +-
 examples/mongoose/CMakeLists.txt                |   6 +-
 examples/service_hook_example/CMakeLists.txt    |   4 +-
 examples/services_example_c/CMakeLists.txt      |   2 +-
 examples/services_example_c/bar/CMakeLists.txt  |   2 +-
 examples/services_example_c/foo1/CMakeLists.txt |   2 +-
 examples/services_example_c/foo2/CMakeLists.txt |   2 +-
 examples/services_example_cxx/CMakeLists.txt    |   2 +-
 .../services_example_cxx/bar/CMakeLists.txt     |   2 +-
 .../services_example_cxx/baz/CMakeLists.txt     |   2 +-
 .../services_example_cxx/foo/CMakeLists.txt     |   2 +-
 examples/whiteboard/CMakeLists.txt              |   4 +-
 examples/whiteboard/publisherA/CMakeLists.txt   |   2 +-
 examples/whiteboard/publisherB/CMakeLists.txt   |   2 +-
 examples/whiteboard/tracker/CMakeLists.txt      |   2 +-
 .../whiteboard/tracker_depman/CMakeLists.txt    |   2 +-
 .../test_bundle1/CMakeLists.txt                 |   2 +-
 framework/private/src/celix_launcher.c          |  12 +-
 launcher/README.md                              |  17 ++
 log_service/CMakeLists.txt                      |   4 +-
 log_service/README.md                           |  17 ++
 log_writer/README.md                            |  17 ++
 log_writer/log_writer_stdout/CMakeLists.txt     |   4 +-
 log_writer/log_writer_syslog/CMakeLists.txt     |   4 +-
 pubsub/CMakeLists.txt                           |   2 +-
 pubsub/README.md                                |  17 ++
 pubsub/deploy/CMakeLists.txt                    |  22 +-
 pubsub/examples/keys/README.md                  |  17 ++
 pubsub/examples/keys/publisher/private/.gitkeep |  14 ++
 pubsub/examples/keys/publisher/public/.gitkeep  |  16 ++
 .../examples/keys/subscriber/private/.gitkeep   |  16 ++
 pubsub/examples/keys/subscriber/public/.gitkeep |  16 ++
 .../examples/mp_pubsub/publisher/CMakeLists.txt |   8 +-
 .../mp_pubsub/subscriber/CMakeLists.txt         |   8 +-
 .../pubsub/msg_descriptors/poi1.properties      |  17 ++
 .../pubsub/msg_descriptors/poi2.properties      |  17 ++
 pubsub/examples/pubsub/publisher/CMakeLists.txt |  10 +-
 .../examples/pubsub/publisher2/CMakeLists.txt   |  10 +-
 .../examples/pubsub/subscriber/CMakeLists.txt   |  10 +-
 pubsub/pubsub_admin_udp_mc/CMakeLists.txt       |   4 +-
 pubsub/pubsub_admin_udp_mc/README.md            |  17 ++
 .../private/src/topic_publication.c             |  11 +-
 pubsub/pubsub_admin_zmq/CMakeLists.txt          |   4 +-
 .../private/src/topic_publication.c             |   9 +-
 .../public/include/pubsub_admin_match.h         |  21 +-
 .../public/src/pubsub_admin_match.c             |  22 +-
 pubsub/pubsub_discovery/CMakeLists.txt          |   4 +-
 pubsub/pubsub_serializer_json/CMakeLists.txt    |   4 +-
 pubsub/pubsub_topology_manager/CMakeLists.txt   |   6 +-
 pubsub/test/CMakeLists.txt                      |  16 +-
 rat-excludes.txt                                |   7 +-
 remote_services/README.md                       |  17 ++
 .../discovery_configured/CMakeLists.txt         |   4 +-
 remote_services/discovery_etcd/CMakeLists.txt   |   4 +-
 remote_services/discovery_etcd/README.md        |  17 ++
 remote_services/discovery_shm/CMakeLists.txt    |   4 +-
 remote_services/examples/CMakeLists.txt         |  28 +--
 .../examples/calculator_endpoint/CMakeLists.txt |   2 +-
 .../calculator_endpoint2/CMakeLists.txt         |   2 +-
 .../examples/calculator_proxy/CMakeLists.txt    |   2 +-
 .../examples/calculator_proxy2/CMakeLists.txt   |   2 +-
 .../examples/calculator_service/CMakeLists.txt  |   4 +-
 .../examples/calculator_shell/CMakeLists.txt    |   4 +-
 remote_services/remote_service_admin/README.md  |  17 ++
 .../remote_service_admin_dfi/rsa/CMakeLists.txt |   4 +-
 .../rsa_tst/bundle/CMakeLists.txt               |   4 +-
 .../remote_service_admin_http/CMakeLists.txt    |   4 +-
 .../remote_service_admin_shm/CMakeLists.txt     |   4 +-
 remote_services/topology_manager/CMakeLists.txt |   4 +-
 remote_services/topology_manager/README.md      |  17 ++
 .../tms_tst/bundle/CMakeLists.txt               |   4 +-
 .../tms_tst/disc_mock/CMakeLists.txt            |   2 +-
 remote_shell/CMakeLists.txt                     |   6 +-
 remote_shell/README.md                          |  17 ++
 shell/CMakeLists.txt                            |   6 +-
 shell/README.md                                 |  17 ++
 shell_bonjour/CMakeLists.txt                    |   4 +-
 shell_tui/CMakeLists.txt                        |   4 +-
 shell_tui/README.md                             |  17 ++
 utils/README.md                                 |  17 ++
 141 files changed, 1482 insertions(+), 692 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/e78ecc56/NOTICE
----------------------------------------------------------------------


[08/13] celix git commit: CELIX-412: Add AL info for project markdown files

Posted by pn...@apache.org.
CELIX-412: Add AL info for project markdown files


Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/01620951
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/01620951
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/01620951

Branch: refs/heads/develop
Commit: 01620951036854117eab7ef3d7dd6911a5001759
Parents: fd20690
Author: Pepijn Noltes <pe...@gmail.com>
Authored: Wed Jan 17 10:58:26 2018 +0100
Committer: Pepijn Noltes <pe...@gmail.com>
Committed: Wed Jan 17 10:58:26 2018 +0100

----------------------------------------------------------------------
 CHANGES.md                                      | 28 ++++++++++----------
 README.md                                       | 17 ++++++++++++
 config_admin/readme.md                          | 17 ++++++++++++
 dependency_manager/readme.md                    | 17 ++++++++++++
 dependency_manager_cxx/readme.md                | 17 ++++++++++++
 deployment_admin/README.md                      | 17 ++++++++++++
 device_access/README.md                         | 17 ++++++++++++
 documents/building/readme.md                    | 17 ++++++++++++
 documents/cmake_commands/readme.md              | 19 ++++++++++++-
 .../getting_started/creating_a_simple_bundle.md | 17 ++++++++++++
 documents/getting_started/readme.md             | 17 ++++++++++++
 .../getting_started/using_services_with_c.md    | 17 ++++++++++++
 .../getting_started/using_services_with_cxx.md  | 17 ++++++++++++
 documents/intro/readme.md                       | 17 ++++++++++++
 documents/roadmap/api_v3/readme.md              | 19 ++++++++++++-
 documents/roadmap/improvement_ideas.md          | 19 ++++++++++++-
 documents/roadmap/roadmap.md                    | 17 ++++++++++++
 documents/subprojects/readme.md                 | 17 ++++++++++++
 etcdlib/README.md                               | 17 ++++++++++++
 launcher/README.md                              | 17 ++++++++++++
 log_service/README.md                           | 17 ++++++++++++
 log_writer/README.md                            | 17 ++++++++++++
 pubsub/README.md                                | 17 ++++++++++++
 pubsub/examples/keys/README.md                  | 17 ++++++++++++
 pubsub/pubsub_admin_udp_mc/README.md            | 17 ++++++++++++
 rat-excludes.txt                                |  7 +++--
 remote_services/README.md                       | 17 ++++++++++++
 remote_services/discovery_etcd/README.md        | 17 ++++++++++++
 remote_services/remote_service_admin/README.md  | 17 ++++++++++++
 remote_services/topology_manager/README.md      | 17 ++++++++++++
 remote_shell/README.md                          | 17 ++++++++++++
 shell/README.md                                 | 17 ++++++++++++
 shell_tui/README.md                             | 17 ++++++++++++
 utils/README.md                                 | 17 ++++++++++++
 34 files changed, 566 insertions(+), 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/01620951/CHANGES.md
----------------------------------------------------------------------
diff --git a/CHANGES.md b/CHANGES.md
index 3595f3c..9cf39f6 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -1,18 +1,18 @@
 <!--
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You 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.
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
 -->
 
 # Changes for 2.1.0

http://git-wip-us.apache.org/repos/asf/celix/blob/01620951/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 3834801..c6905a5 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,20 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
+-->
+
 # Apache Celix [![Build Status](https://travis-ci.org/apache/celix.svg?branch=develop)](https://travis-ci.org/apache/celix) [![Coverage Status](https://coveralls.io/repos/apache/celix/badge.svg?branch=develop&service=github)](https://coveralls.io/github/apache/celix?branch=develop) [![Coverity Scan Build Status](https://scan.coverity.com/projects/6685/badge.svg)](https://scan.coverity.com/projects/6685)
 Apache Celix is an implementation of the OSGi specification adapted to C and C++ (C++11). It is a provides a framework to develop (dynamic) modular software applications using component and/or service-oriented programming.
 

http://git-wip-us.apache.org/repos/asf/celix/blob/01620951/config_admin/readme.md
----------------------------------------------------------------------
diff --git a/config_admin/readme.md b/config_admin/readme.md
index db13504..607a810 100644
--- a/config_admin/readme.md
+++ b/config_admin/readme.md
@@ -1,3 +1,20 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
+-->
+
 # Configuration Admin
 
 ---

http://git-wip-us.apache.org/repos/asf/celix/blob/01620951/dependency_manager/readme.md
----------------------------------------------------------------------
diff --git a/dependency_manager/readme.md b/dependency_manager/readme.md
index 8b9ce71..5b21ecb 100644
--- a/dependency_manager/readme.md
+++ b/dependency_manager/readme.md
@@ -1,3 +1,20 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
+-->
+
 # Apache Celix Dependency Manager
 
 ## Introduction

http://git-wip-us.apache.org/repos/asf/celix/blob/01620951/dependency_manager_cxx/readme.md
----------------------------------------------------------------------
diff --git a/dependency_manager_cxx/readme.md b/dependency_manager_cxx/readme.md
index 80de7af..416ff7e 100644
--- a/dependency_manager_cxx/readme.md
+++ b/dependency_manager_cxx/readme.md
@@ -1,3 +1,20 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
+-->
+
 # Apache Celix C++ Dependency Manager
 
 ## Introduction

http://git-wip-us.apache.org/repos/asf/celix/blob/01620951/deployment_admin/README.md
----------------------------------------------------------------------
diff --git a/deployment_admin/README.md b/deployment_admin/README.md
index d28559c..40b112b 100644
--- a/deployment_admin/README.md
+++ b/deployment_admin/README.md
@@ -1,3 +1,20 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
+-->
+
 ## Deployment Admin
 
 The Celix Deployment Admin implements the OSGi Deployment Admin specification, which provides functionality to manage deployment packages. Deployment package are bundles and other artifacts that can be installed, updated and uninstalled as single unit.

http://git-wip-us.apache.org/repos/asf/celix/blob/01620951/device_access/README.md
----------------------------------------------------------------------
diff --git a/device_access/README.md b/device_access/README.md
index d58601d..274e78d 100644
--- a/device_access/README.md
+++ b/device_access/README.md
@@ -1,3 +1,20 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
+-->
+
 ## Device Access
 
 The Device Access contains a for Celix adapted implementation of the OSGi Compendium Device Access Specification.

http://git-wip-us.apache.org/repos/asf/celix/blob/01620951/documents/building/readme.md
----------------------------------------------------------------------
diff --git a/documents/building/readme.md b/documents/building/readme.md
index d47a364..e624d26 100644
--- a/documents/building/readme.md
+++ b/documents/building/readme.md
@@ -1,3 +1,20 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
+-->
+
 # Apache Celix - Building and Installing
 Apache Celix aims to be support a broad range of UNIX platforms.
  

http://git-wip-us.apache.org/repos/asf/celix/blob/01620951/documents/cmake_commands/readme.md
----------------------------------------------------------------------
diff --git a/documents/cmake_commands/readme.md b/documents/cmake_commands/readme.md
index 661f5cc..df62ff3 100644
--- a/documents/cmake_commands/readme.md
+++ b/documents/cmake_commands/readme.md
@@ -1,4 +1,21 @@
-# Apache Celix - CMake Commands
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
+-->
+
+# Apache Celix - CMake Commands
 
 For Apache Celix several cmake command are added to be able to work with Apache Celix bundles and deployments.
 

http://git-wip-us.apache.org/repos/asf/celix/blob/01620951/documents/getting_started/creating_a_simple_bundle.md
----------------------------------------------------------------------
diff --git a/documents/getting_started/creating_a_simple_bundle.md b/documents/getting_started/creating_a_simple_bundle.md
index 784e11c..e580477 100644
--- a/documents/getting_started/creating_a_simple_bundle.md
+++ b/documents/getting_started/creating_a_simple_bundle.md
@@ -1,3 +1,20 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
+-->
+
 # Apache Celix - Getting Started Guide: Creating a Simple Bundle
 
 ## Intro

http://git-wip-us.apache.org/repos/asf/celix/blob/01620951/documents/getting_started/readme.md
----------------------------------------------------------------------
diff --git a/documents/getting_started/readme.md b/documents/getting_started/readme.md
index 871f6e8..6dd798c 100644
--- a/documents/getting_started/readme.md
+++ b/documents/getting_started/readme.md
@@ -1,3 +1,20 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
+-->
+
 # Apache Celix - Getting Started Guide
 
 ## Guides

http://git-wip-us.apache.org/repos/asf/celix/blob/01620951/documents/getting_started/using_services_with_c.md
----------------------------------------------------------------------
diff --git a/documents/getting_started/using_services_with_c.md b/documents/getting_started/using_services_with_c.md
index de69d55..258b147 100644
--- a/documents/getting_started/using_services_with_c.md
+++ b/documents/getting_started/using_services_with_c.md
@@ -1,3 +1,20 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
+-->
+
 # Apache Celix - Using Services with C
 
 ## Intro 

http://git-wip-us.apache.org/repos/asf/celix/blob/01620951/documents/getting_started/using_services_with_cxx.md
----------------------------------------------------------------------
diff --git a/documents/getting_started/using_services_with_cxx.md b/documents/getting_started/using_services_with_cxx.md
index e215e37..d8ad2ca 100644
--- a/documents/getting_started/using_services_with_cxx.md
+++ b/documents/getting_started/using_services_with_cxx.md
@@ -1,3 +1,20 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
+-->
+
 # Apache Celix - Using Services with C++
 
 ## Intro 

http://git-wip-us.apache.org/repos/asf/celix/blob/01620951/documents/intro/readme.md
----------------------------------------------------------------------
diff --git a/documents/intro/readme.md b/documents/intro/readme.md
index 4d4b73b..b91a0e0 100644
--- a/documents/intro/readme.md
+++ b/documents/intro/readme.md
@@ -1,3 +1,20 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
+-->
+
 # Apache Celix Introduction
 
 ## What is Apache Celix

http://git-wip-us.apache.org/repos/asf/celix/blob/01620951/documents/roadmap/api_v3/readme.md
----------------------------------------------------------------------
diff --git a/documents/roadmap/api_v3/readme.md b/documents/roadmap/api_v3/readme.md
index 4fef085..f180aae 100644
--- a/documents/roadmap/api_v3/readme.md
+++ b/documents/roadmap/api_v3/readme.md
@@ -1,4 +1,21 @@
-# Celix Version 3
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
+-->
+
+# Celix Version 3 (Proposal)
 
 ## Intro
 The [celix.h](celix/celix.h) header contains a proposed API for Apache Celix version 3.

http://git-wip-us.apache.org/repos/asf/celix/blob/01620951/documents/roadmap/improvement_ideas.md
----------------------------------------------------------------------
diff --git a/documents/roadmap/improvement_ideas.md b/documents/roadmap/improvement_ideas.md
index 1218106..32db322 100644
--- a/documents/roadmap/improvement_ideas.md
+++ b/documents/roadmap/improvement_ideas.md
@@ -1,3 +1,20 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
+-->
+
 # Improvement Ideas
  
 # Introduce dlmopen for library imports.
@@ -34,4 +51,4 @@ create a more clear root directory structure.
 # Add pub sub admins. 
 The current implementation uses JSON over multicast UDP or over ZMQ.  
 One or more could be added. i.e. serialization based on Apache-Avro, communication over TCP / Kafka / Shared Memory  
-Add interfaces for other languages (Python / Rust / Go / ...)  
\ No newline at end of file
+Add interfaces for other languages (Python / Rust / Go / ...)  

http://git-wip-us.apache.org/repos/asf/celix/blob/01620951/documents/roadmap/roadmap.md
----------------------------------------------------------------------
diff --git a/documents/roadmap/roadmap.md b/documents/roadmap/roadmap.md
index 2594800..a3100be 100644
--- a/documents/roadmap/roadmap.md
+++ b/documents/roadmap/roadmap.md
@@ -1,3 +1,20 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
+-->
+
 # Roadmap
 
 Note this roadmap is still a draft.

http://git-wip-us.apache.org/repos/asf/celix/blob/01620951/documents/subprojects/readme.md
----------------------------------------------------------------------
diff --git a/documents/subprojects/readme.md b/documents/subprojects/readme.md
index 6c95600..49da63e 100644
--- a/documents/subprojects/readme.md
+++ b/documents/subprojects/readme.md
@@ -1,3 +1,20 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
+-->
+
 #Apache Celix - Subprojects
 
 Apache Celix is organized into several subprojects. The following subproject are currently available:

http://git-wip-us.apache.org/repos/asf/celix/blob/01620951/etcdlib/README.md
----------------------------------------------------------------------
diff --git a/etcdlib/README.md b/etcdlib/README.md
index 49f18d6..28cc442 100644
--- a/etcdlib/README.md
+++ b/etcdlib/README.md
@@ -1,3 +1,20 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
+-->
+
 # Etcdlib
 etcd is a distributed, consistent key-value store for shared configuration and service discovery, part of the CoreOS project.
 

http://git-wip-us.apache.org/repos/asf/celix/blob/01620951/launcher/README.md
----------------------------------------------------------------------
diff --git a/launcher/README.md b/launcher/README.md
index a1e29fb..68ea743 100644
--- a/launcher/README.md
+++ b/launcher/README.md
@@ -1,3 +1,20 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
+-->
+
 ## Launcher
 
 The Celix Launcher is a generic executable for launching the Framework. It reads a java properties based configuration file.

http://git-wip-us.apache.org/repos/asf/celix/blob/01620951/log_service/README.md
----------------------------------------------------------------------
diff --git a/log_service/README.md b/log_service/README.md
index 32ee520..b3504cb 100644
--- a/log_service/README.md
+++ b/log_service/README.md
@@ -1,3 +1,20 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
+-->
+
 ## Log Service
 
 The Celix Log Service realizes an adapted implementation of the OSGi Compendium Log Service. This is a very simple implementation which only stores the log in memory. It can be combined with one of the available Log Writers to forward the buffered entries to e.g. stdout or syslog.

http://git-wip-us.apache.org/repos/asf/celix/blob/01620951/log_writer/README.md
----------------------------------------------------------------------
diff --git a/log_writer/README.md b/log_writer/README.md
index 6de181d..a7c4533 100644
--- a/log_writer/README.md
+++ b/log_writer/README.md
@@ -1,3 +1,20 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
+-->
+
 ## Log Writer
 
 The Celix Log Writers are components that read/listen to the Log Service and print the Log entries to the console or syslog, respectively.

http://git-wip-us.apache.org/repos/asf/celix/blob/01620951/pubsub/README.md
----------------------------------------------------------------------
diff --git a/pubsub/README.md b/pubsub/README.md
index 7d741e5..1b533be 100644
--- a/pubsub/README.md
+++ b/pubsub/README.md
@@ -1,3 +1,20 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
+-->
+
 # Publisher / subscriber implementation
 
 This subdirectory contains an implementation for a publish-subscribe remote services system, that use dfi library for message serialization.

http://git-wip-us.apache.org/repos/asf/celix/blob/01620951/pubsub/examples/keys/README.md
----------------------------------------------------------------------
diff --git a/pubsub/examples/keys/README.md b/pubsub/examples/keys/README.md
index 8517415..200acc9 100644
--- a/pubsub/examples/keys/README.md
+++ b/pubsub/examples/keys/README.md
@@ -1,4 +1,21 @@
 
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
+-->
+
 Store the AES key for encrypting and decrypting the encoded secret keys safe in a file!
 Default file is `/etc/pubsub.keys` with the following format:
 ```

http://git-wip-us.apache.org/repos/asf/celix/blob/01620951/pubsub/pubsub_admin_udp_mc/README.md
----------------------------------------------------------------------
diff --git a/pubsub/pubsub_admin_udp_mc/README.md b/pubsub/pubsub_admin_udp_mc/README.md
index 0f3f637..7520fef 100644
--- a/pubsub/pubsub_admin_udp_mc/README.md
+++ b/pubsub/pubsub_admin_udp_mc/README.md
@@ -1,3 +1,20 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
+-->
+
 # PUBSUB-Admin UDP Multicast
 
 ---

http://git-wip-us.apache.org/repos/asf/celix/blob/01620951/rat-excludes.txt
----------------------------------------------------------------------
diff --git a/rat-excludes.txt b/rat-excludes.txt
index 45c1e75..c6914e9 100644
--- a/rat-excludes.txt
+++ b/rat-excludes.txt
@@ -63,8 +63,8 @@ fmemopen.h
 open_memstream.c
 open_memstream.h
 
- Documentation files
-(.)*.md
+# thpool and memstream documentation files
+./utils/public/include/memstream/README.md
 
 .travis.yml
 
@@ -76,3 +76,6 @@ scope.*\.json
  MIT - C Thread Pool
 thpool.c
 thpool.h
+Design.md
+FAQ.md
+README.md

http://git-wip-us.apache.org/repos/asf/celix/blob/01620951/remote_services/README.md
----------------------------------------------------------------------
diff --git a/remote_services/README.md b/remote_services/README.md
index 2afcb81..15365b2 100644
--- a/remote_services/README.md
+++ b/remote_services/README.md
@@ -1,3 +1,20 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
+-->
+
 Title: Apache Celix Remote Service Admin Service
 
 ## Introduction

http://git-wip-us.apache.org/repos/asf/celix/blob/01620951/remote_services/discovery_etcd/README.md
----------------------------------------------------------------------
diff --git a/remote_services/discovery_etcd/README.md b/remote_services/discovery_etcd/README.md
index ff879ce..e560264 100644
--- a/remote_services/discovery_etcd/README.md
+++ b/remote_services/discovery_etcd/README.md
@@ -1,3 +1,20 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
+-->
+
 ## Discovery ETCD
 
 The Celix Discovery ETCD bundles realizes OSGi services discovery based on [etcd](https://github.com/coreos/etcd).

http://git-wip-us.apache.org/repos/asf/celix/blob/01620951/remote_services/remote_service_admin/README.md
----------------------------------------------------------------------
diff --git a/remote_services/remote_service_admin/README.md b/remote_services/remote_service_admin/README.md
index c4bdebd..2b146e1 100644
--- a/remote_services/remote_service_admin/README.md
+++ b/remote_services/remote_service_admin/README.md
@@ -1,3 +1,20 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
+-->
+
 ## Remote Service Admin
 
 The Remote Service Admin (RSA) provides the mechanisms to import and export services when instructed to do so by the Topology Manager. 

http://git-wip-us.apache.org/repos/asf/celix/blob/01620951/remote_services/topology_manager/README.md
----------------------------------------------------------------------
diff --git a/remote_services/topology_manager/README.md b/remote_services/topology_manager/README.md
index e97c9e3..6200cc4 100644
--- a/remote_services/topology_manager/README.md
+++ b/remote_services/topology_manager/README.md
@@ -1,3 +1,20 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
+-->
+
 ## Topology Manager
 
 The Topology Manager decides which services should be imported and exported according to a defined policy. Currently, only one policy is implemented in Celix, the *promiscuous* policy, which simply imports and exports all services. Note that the Topology Manager is essential to use remote services.

http://git-wip-us.apache.org/repos/asf/celix/blob/01620951/remote_shell/README.md
----------------------------------------------------------------------
diff --git a/remote_shell/README.md b/remote_shell/README.md
index 09edcd8..af28421 100644
--- a/remote_shell/README.md
+++ b/remote_shell/README.md
@@ -1,3 +1,20 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
+-->
+
 ## Remote Shell
 
 The Celix Remote Shell implements a telnet interface for the Celix Shell.

http://git-wip-us.apache.org/repos/asf/celix/blob/01620951/shell/README.md
----------------------------------------------------------------------
diff --git a/shell/README.md b/shell/README.md
index b830edc..b4cd530 100644
--- a/shell/README.md
+++ b/shell/README.md
@@ -1,3 +1,20 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
+-->
+
 # Shell
 
 The Celix Shell provides a service interface which can be used to interact with the Celix framework. Note that it does not offer a user interface. This modular approach enables having multiple frontends, e.g. textual or graphical.

http://git-wip-us.apache.org/repos/asf/celix/blob/01620951/shell_tui/README.md
----------------------------------------------------------------------
diff --git a/shell_tui/README.md b/shell_tui/README.md
index a637214..802259d 100644
--- a/shell_tui/README.md
+++ b/shell_tui/README.md
@@ -1,3 +1,20 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
+-->
+
 # Shell TUI
 
 The Celix Shell TUI implements a textual user interface for the Celix Shell.

http://git-wip-us.apache.org/repos/asf/celix/blob/01620951/utils/README.md
----------------------------------------------------------------------
diff --git a/utils/README.md b/utils/README.md
index 9f02e8a..90aaccc 100644
--- a/utils/README.md
+++ b/utils/README.md
@@ -1,3 +1,20 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
+-->
+
 ## Utils
 
 Celix Utils contains several useful containers/lists implementation used with the Celix project. The following types are available:


[09/13] celix git commit: CELIX-412: Some more refactoring for update Celix CMake function names

Posted by pn...@apache.org.
CELIX-412: Some more refactoring for update Celix CMake function names


Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/06e4d113
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/06e4d113
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/06e4d113

Branch: refs/heads/develop
Commit: 06e4d113abaacf3e3d1cdb6349b63cd70739c97e
Parents: 0162095
Author: Pepijn Noltes <pe...@gmail.com>
Authored: Wed Jan 17 20:40:36 2018 +0100
Committer: Pepijn Noltes <pe...@gmail.com>
Committed: Wed Jan 17 20:40:36 2018 +0100

----------------------------------------------------------------------
 CMakeLists.txt                                          |  2 +-
 cmake/cmake_celix/BundlePackaging.cmake                 |  4 ++--
 device_access/example/CMakeLists.txt                    |  2 +-
 framework/private/src/celix_launcher.c                  | 12 +++++++-----
 pubsub/CMakeLists.txt                                   |  2 +-
 pubsub/examples/mp_pubsub/publisher/CMakeLists.txt      |  6 +++---
 pubsub/examples/mp_pubsub/subscriber/CMakeLists.txt     |  6 +++---
 pubsub/examples/pubsub/publisher/CMakeLists.txt         |  8 ++++----
 pubsub/examples/pubsub/publisher2/CMakeLists.txt        |  8 ++++----
 pubsub/examples/pubsub/subscriber/CMakeLists.txt        |  8 ++++----
 pubsub/pubsub_topology_manager/CMakeLists.txt           |  2 +-
 pubsub/test/CMakeLists.txt                              |  4 ++--
 remote_services/examples/CMakeLists.txt                 | 12 ++++++------
 .../examples/calculator_service/CMakeLists.txt          |  2 +-
 .../examples/calculator_shell/CMakeLists.txt            |  2 +-
 .../rsa_tst/bundle/CMakeLists.txt                       |  2 +-
 .../topology_manager/tms_tst/bundle/CMakeLists.txt      |  2 +-
 17 files changed, 43 insertions(+), 41 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/06e4d113/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2fbf62d..8151cd2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -91,7 +91,7 @@ add_subdirectory(framework)
 
 include_directories(framework/public/include)
 add_subdirectory(launcher)
-add_subdirectory(config_admin)
+#add_subdirectory(config_admin) config admin is unstable
 add_subdirectory(device_access)
 add_subdirectory(deployment_admin)
 add_subdirectory(remote_services)

http://git-wip-us.apache.org/repos/asf/celix/blob/06e4d113/cmake/cmake_celix/BundlePackaging.cmake
----------------------------------------------------------------------
diff --git a/cmake/cmake_celix/BundlePackaging.cmake b/cmake/cmake_celix/BundlePackaging.cmake
index 7a126e9..e336dbb 100644
--- a/cmake/cmake_celix/BundlePackaging.cmake
+++ b/cmake/cmake_celix/BundlePackaging.cmake
@@ -338,7 +338,7 @@ function(celix_bundle_libs)
         if ("${LIB}" STREQUAL "${BUNDLE}")
             #ignore. Do not have to link agaist own lib
         elseif(IS_LIB)
-            target_link_libraries(${BUNDLE} ${LIB})
+		target_link_libraries(${BUNDLE} PRIVATE ${LIB})
         endif()
     endforeach()
 
@@ -370,7 +370,7 @@ function(celix_bundle_import_libs)
             list(APPEND LIBS "$<TARGET_SONAME_FILE_NAME:${LIB}>")
         endif()
 
-        target_link_libraries(${BUNDLE} ${LIB})
+	target_link_libraries(${BUNDLE} PRIVATE ${LIB})
     endforeach()
 
 

http://git-wip-us.apache.org/repos/asf/celix/blob/06e4d113/device_access/example/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/device_access/example/CMakeLists.txt b/device_access/example/CMakeLists.txt
index 89b4f21..f7062b4 100644
--- a/device_access/example/CMakeLists.txt
+++ b/device_access/example/CMakeLists.txt
@@ -25,7 +25,7 @@ if(DEVICE_ACCESS_EXAMPLE)
         BUNDLES device_manager driver_locator shell shell_tui log_service base_driver
     )
 
-    deploy_bundles_dir(device_access_example
+    celix_container_bundles_dir(device_access_example
             DIR_NAME "drivers"
             BUNDLES word_consumingdriver char_refiningdriver
     )

http://git-wip-us.apache.org/repos/asf/celix/blob/06e4d113/framework/private/src/celix_launcher.c
----------------------------------------------------------------------
diff --git a/framework/private/src/celix_launcher.c b/framework/private/src/celix_launcher.c
index 16410bc..126d8d3 100644
--- a/framework/private/src/celix_launcher.c
+++ b/framework/private/src/celix_launcher.c
@@ -244,11 +244,13 @@ int celixLauncher_launchWithProperties(properties_pt config, framework_pt *frame
 				unsigned int i;
 
 				linkedList_create(&bundles);
-				result = strtok_r(autoStart, delims, &save_ptr);
-				while (result != NULL) {
-					char *location = strdup(result);
-					linkedList_addElement(bundles, location);
-					result = strtok_r(NULL, delims, &save_ptr);
+				if (autoStart != NULL) {
+					result = strtok_r(autoStart, delims, &save_ptr);
+					while (result != NULL) {
+						char *location = strdup(result);
+						linkedList_addElement(bundles, location);
+						result = strtok_r(NULL, delims, &save_ptr);
+					}
 				}
 				// First install all bundles
 				// Afterwards start them

http://git-wip-us.apache.org/repos/asf/celix/blob/06e4d113/pubsub/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/pubsub/CMakeLists.txt b/pubsub/CMakeLists.txt
index 2c2c50f..5afc296 100644
--- a/pubsub/CMakeLists.txt
+++ b/pubsub/CMakeLists.txt
@@ -41,7 +41,7 @@ if (PUBSUB)
 	if (ENABLE_TESTING)
         option(BUILD_PUBSUB_TESTS "Enable Tests for PUBSUB" OFF)
 	endif()
-	if (ENABLE_TESTING AND BUILD_PUBSUB_TESTS)
+	if (ENABLE_TESTING AND BUILD_PUBSUB_TESTS AND BUILD_PUBSUB_PSA_ZMQ)
 		add_subdirectory(test)
 	endif()
 

http://git-wip-us.apache.org/repos/asf/celix/blob/06e4d113/pubsub/examples/mp_pubsub/publisher/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/pubsub/examples/mp_pubsub/publisher/CMakeLists.txt b/pubsub/examples/mp_pubsub/publisher/CMakeLists.txt
index d2bd754..fef69e4 100644
--- a/pubsub/examples/mp_pubsub/publisher/CMakeLists.txt
+++ b/pubsub/examples/mp_pubsub/publisher/CMakeLists.txt
@@ -30,19 +30,19 @@ add_celix_bundle(org.apache.celix.pubsub_publisher.MpPublisher
     	${PROJECT_SOURCE_DIR}/pubsub/pubsub_common/public/src/pubsub_utils.c
 )
 
-bundle_files(org.apache.celix.pubsub_publisher.MpPublisher
+celix_bundle_files(org.apache.celix.pubsub_publisher.MpPublisher
 	${PROJECT_SOURCE_DIR}/pubsub/examples/mp_pubsub/msg_descriptors/msg_ew.descriptor
 	${PROJECT_SOURCE_DIR}/pubsub/examples/mp_pubsub/msg_descriptors/msg_ide.descriptor
 	${PROJECT_SOURCE_DIR}/pubsub/examples/mp_pubsub/msg_descriptors/msg_kinematics.descriptor
 	DESTINATION "META-INF/descriptors"
 )
 
-bundle_files(org.apache.celix.pubsub_publisher.MpPublisher
+celix_bundle_files(org.apache.celix.pubsub_publisher.MpPublisher
 		${PROJECT_SOURCE_DIR}/pubsub/examples/keys/publisher
     DESTINATION "META-INF/keys"
 )
 
-bundle_files(org.apache.celix.pubsub_publisher.MpPublisher
+celix_bundle_files(org.apache.celix.pubsub_publisher.MpPublisher
 		${PROJECT_SOURCE_DIR}/pubsub/examples/keys/subscriber/public
     DESTINATION "META-INF/keys/subscriber"
 )

http://git-wip-us.apache.org/repos/asf/celix/blob/06e4d113/pubsub/examples/mp_pubsub/subscriber/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/pubsub/examples/mp_pubsub/subscriber/CMakeLists.txt b/pubsub/examples/mp_pubsub/subscriber/CMakeLists.txt
index 32258a8..f2d2aaa 100644
--- a/pubsub/examples/mp_pubsub/subscriber/CMakeLists.txt
+++ b/pubsub/examples/mp_pubsub/subscriber/CMakeLists.txt
@@ -30,19 +30,19 @@ add_celix_bundle( org.apache.celix.pubsub_subscriber.MpSubscriber
 		${PROJECT_SOURCE_DIR}/pubsub/pubsub_common/public/src/pubsub_utils.c
 )
 
-bundle_files( org.apache.celix.pubsub_subscriber.MpSubscriber
+celix_bundle_files( org.apache.celix.pubsub_subscriber.MpSubscriber
     ${PROJECT_SOURCE_DIR}/pubsub/examples/mp_pubsub/msg_descriptors/msg_ew.descriptor
     ${PROJECT_SOURCE_DIR}/pubsub/examples/mp_pubsub/msg_descriptors/msg_ide.descriptor
     ${PROJECT_SOURCE_DIR}/pubsub/examples/mp_pubsub/msg_descriptors/msg_kinematics.descriptor
 	DESTINATION "META-INF/descriptors"
 )
 
-bundle_files(org.apache.celix.pubsub_subscriber.MpSubscriber
+celix_bundle_files(org.apache.celix.pubsub_subscriber.MpSubscriber
 		${PROJECT_SOURCE_DIR}/pubsub/examples/keys/subscriber
     DESTINATION "META-INF/keys"
 )
 
-bundle_files(org.apache.celix.pubsub_subscriber.MpSubscriber
+celix_bundle_files(org.apache.celix.pubsub_subscriber.MpSubscriber
 		${PROJECT_SOURCE_DIR}/pubsub/examples/keys/publisher/public
     DESTINATION "META-INF/keys/publisher"
 )

http://git-wip-us.apache.org/repos/asf/celix/blob/06e4d113/pubsub/examples/pubsub/publisher/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/pubsub/examples/pubsub/publisher/CMakeLists.txt b/pubsub/examples/pubsub/publisher/CMakeLists.txt
index 2f7d671..dec002d 100644
--- a/pubsub/examples/pubsub/publisher/CMakeLists.txt
+++ b/pubsub/examples/pubsub/publisher/CMakeLists.txt
@@ -29,24 +29,24 @@ add_celix_bundle(org.apache.celix.pubsub_publisher.PoiPublisher
     	${PROJECT_SOURCE_DIR}/pubsub/pubsub_common/public/src/pubsub_utils.c	
 )
 
-bundle_files(org.apache.celix.pubsub_publisher.PoiPublisher
+celix_bundle_files(org.apache.celix.pubsub_publisher.PoiPublisher
 		${PROJECT_SOURCE_DIR}/pubsub/examples/pubsub/msg_descriptors/msg_poi1.descriptor
 		${PROJECT_SOURCE_DIR}/pubsub/examples/pubsub/msg_descriptors/msg_poi2.descriptor
     DESTINATION "META-INF/descriptors"
 )
 
-bundle_files(org.apache.celix.pubsub_publisher.PoiPublisher
+celix_bundle_files(org.apache.celix.pubsub_publisher.PoiPublisher
 		${PROJECT_SOURCE_DIR}/pubsub/examples/pubsub/msg_descriptors/poi1.properties
 		${PROJECT_SOURCE_DIR}/pubsub/examples/pubsub/msg_descriptors/poi2.properties
     DESTINATION "META-INF/topics/pub"
 )
 
-bundle_files(org.apache.celix.pubsub_publisher.PoiPublisher
+celix_bundle_files(org.apache.celix.pubsub_publisher.PoiPublisher
 		${PROJECT_SOURCE_DIR}/pubsub/examples/keys/publisher
     DESTINATION "META-INF/keys"
 )
 
-bundle_files(org.apache.celix.pubsub_publisher.PoiPublisher
+celix_bundle_files(org.apache.celix.pubsub_publisher.PoiPublisher
 		${PROJECT_SOURCE_DIR}/pubsub/examples/keys/subscriber/public
     DESTINATION "META-INF/keys/subscriber"
 )

http://git-wip-us.apache.org/repos/asf/celix/blob/06e4d113/pubsub/examples/pubsub/publisher2/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/pubsub/examples/pubsub/publisher2/CMakeLists.txt b/pubsub/examples/pubsub/publisher2/CMakeLists.txt
index c03ac64..1defeb0 100644
--- a/pubsub/examples/pubsub/publisher2/CMakeLists.txt
+++ b/pubsub/examples/pubsub/publisher2/CMakeLists.txt
@@ -29,24 +29,24 @@ add_celix_bundle(org.apache.celix.pubsub_publisher.PoiPublisher2
     	${PROJECT_SOURCE_DIR}/pubsub/pubsub_common/public/src/pubsub_utils.c
 )
 
-bundle_files(org.apache.celix.pubsub_publisher.PoiPublisher2
+celix_bundle_files(org.apache.celix.pubsub_publisher.PoiPublisher2
 	${PROJECT_SOURCE_DIR}/pubsub/examples/pubsub/msg_descriptors/msg_poi1.descriptor
 	${PROJECT_SOURCE_DIR}/pubsub/examples/pubsub/msg_descriptors/msg_poi2.descriptor
     DESTINATION "META-INF/descriptors"
 )
 
-bundle_files(org.apache.celix.pubsub_publisher.PoiPublisher2
+celix_bundle_files(org.apache.celix.pubsub_publisher.PoiPublisher2
 		${PROJECT_SOURCE_DIR}/pubsub/examples/pubsub/msg_descriptors/poi1.properties
 		${PROJECT_SOURCE_DIR}/pubsub/examples/pubsub/msg_descriptors/poi2.properties
     DESTINATION "META-INF/topics/pub"
 )
 
-bundle_files(org.apache.celix.pubsub_publisher.PoiPublisher2
+celix_bundle_files(org.apache.celix.pubsub_publisher.PoiPublisher2
 		${PROJECT_SOURCE_DIR}/pubsub/examples/keys/publisher
     DESTINATION "META-INF/keys"
 )
 
-bundle_files(org.apache.celix.pubsub_publisher.PoiPublisher2
+celix_bundle_files(org.apache.celix.pubsub_publisher.PoiPublisher2
 		${PROJECT_SOURCE_DIR}/pubsub/examples/keys/subscriber/public
     DESTINATION "META-INF/keys/subscriber"
 )

http://git-wip-us.apache.org/repos/asf/celix/blob/06e4d113/pubsub/examples/pubsub/subscriber/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/pubsub/examples/pubsub/subscriber/CMakeLists.txt b/pubsub/examples/pubsub/subscriber/CMakeLists.txt
index 7f28dfe..8bcec93 100644
--- a/pubsub/examples/pubsub/subscriber/CMakeLists.txt
+++ b/pubsub/examples/pubsub/subscriber/CMakeLists.txt
@@ -30,24 +30,24 @@ add_celix_bundle(org.apache.celix.pubsub_subscriber.PoiSubscriber
     	${PROJECT_SOURCE_DIR}/pubsub/pubsub_common/public/src/pubsub_utils.c
 )
 
-bundle_files(org.apache.celix.pubsub_subscriber.PoiSubscriber
+celix_bundle_files(org.apache.celix.pubsub_subscriber.PoiSubscriber
 	    ${PROJECT_SOURCE_DIR}/pubsub/examples/pubsub/msg_descriptors/msg_poi1.descriptor
 	    ${PROJECT_SOURCE_DIR}/pubsub/examples/pubsub/msg_descriptors/msg_poi2.descriptor
     DESTINATION "META-INF/descriptors"
 )
 
-bundle_files(org.apache.celix.pubsub_subscriber.PoiSubscriber
+celix_bundle_files(org.apache.celix.pubsub_subscriber.PoiSubscriber
 		${PROJECT_SOURCE_DIR}/pubsub/examples/pubsub/msg_descriptors/poi1.properties
 		${PROJECT_SOURCE_DIR}/pubsub/examples/pubsub/msg_descriptors/poi2.properties
     DESTINATION "META-INF/topics/sub"
 )
 
-bundle_files(org.apache.celix.pubsub_subscriber.PoiSubscriber
+celix_bundle_files(org.apache.celix.pubsub_subscriber.PoiSubscriber
 		${PROJECT_SOURCE_DIR}/pubsub/examples/keys/subscriber
     DESTINATION "META-INF/keys"
 )
 
-bundle_files(org.apache.celix.pubsub_subscriber.PoiSubscriber
+celix_bundle_files(org.apache.celix.pubsub_subscriber.PoiSubscriber
 		${PROJECT_SOURCE_DIR}/pubsub/examples/keys/publisher/public
     DESTINATION "META-INF/keys/publisher"
 )

http://git-wip-us.apache.org/repos/asf/celix/blob/06e4d113/pubsub/pubsub_topology_manager/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/pubsub/pubsub_topology_manager/CMakeLists.txt b/pubsub/pubsub_topology_manager/CMakeLists.txt
index 680673b..a064143 100644
--- a/pubsub/pubsub_topology_manager/CMakeLists.txt
+++ b/pubsub/pubsub_topology_manager/CMakeLists.txt
@@ -34,7 +34,7 @@ add_celix_bundle(org.apache.celix.pubsub_topology_manager.PubSubTopologyManager
     	${PROJECT_SOURCE_DIR}/pubsub/pubsub_common/public/src/pubsub_utils.c	
 )
 
-bundle_files(org.apache.celix.pubsub_topology_manager.PubSubTopologyManager
+celix_bundle_files(org.apache.celix.pubsub_topology_manager.PubSubTopologyManager
    ${PROJECT_SOURCE_DIR}/pubsub/pubsub_common/public/include/pubsub_topic_info.descriptor
     DESTINATION "META-INF/descriptors/services"
 )

http://git-wip-us.apache.org/repos/asf/celix/blob/06e4d113/pubsub/test/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/pubsub/test/CMakeLists.txt b/pubsub/test/CMakeLists.txt
index 4150b3e..41fffe0 100644
--- a/pubsub/test/CMakeLists.txt
+++ b/pubsub/test/CMakeLists.txt
@@ -32,7 +32,7 @@ add_celix_bundle(pubsub_sut
     VERSION 1.0.0
 )
 target_link_libraries(pubsub_sut celix_framework celix_utils)
-bundle_files(pubsub_sut
+celix_bundle_files(pubsub_sut
     msg_descriptors/msg.descriptor
     msg_descriptors/sync.descriptor
     DESTINATION "META-INF/descriptors/messages"
@@ -71,7 +71,7 @@ else ()
     target_link_libraries(pubsub_tst celix_framework celix_utils)
 endif ()
 
-bundle_files(pubsub_tst
+celix_bundle_files(pubsub_tst
     msg_descriptors/msg.descriptor
     msg_descriptors/sync.descriptor
     DESTINATION "META-INF/descriptors/messages"

http://git-wip-us.apache.org/repos/asf/celix/blob/06e4d113/remote_services/examples/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/remote_services/examples/CMakeLists.txt b/remote_services/examples/CMakeLists.txt
index b919760..8916a18 100644
--- a/remote_services/examples/CMakeLists.txt
+++ b/remote_services/examples/CMakeLists.txt
@@ -37,7 +37,7 @@ if (RSA_EXAMPLES)
                 DISCOVERY_CFG_POLL_ENDPOINTS=http://localhost:8082/org.apache.celix.discovery.configured
                 DISCOVERY_CFG_SERVER_PORT=8081
         )
-        deploy_bundles_dir(remote-services-cfg-server DIR_NAME "endpoints" BUNDLES
+        celix_container_bundles_dir(remote-services-cfg-server DIR_NAME "endpoints" BUNDLES
             org.apache.celix.calc.api.Calculator_endpoint
             org.apache.celix.calc.api.Calculator2_endpoint
         )
@@ -51,7 +51,7 @@ if (RSA_EXAMPLES)
                 DISCOVERY_CFG_POLL_ENDPOINTS=http://localhost:8081/org.apache.celix.discovery.configured
                 DISCOVERY_CFG_SERVER_PORT=8082
         )
-        deploy_bundles_dir(remote-services-cfg-client DIR_NAME "endpoints"
+        celix_container_bundles_dir(remote-services-cfg-client DIR_NAME "endpoints"
             BUNDLES org.apache.celix.calc.api.Calculator_proxy org.apache.celix.calc.api.Calculator2_proxy
         )
     endif()
@@ -62,7 +62,7 @@ if (RSA_EXAMPLES)
             GROUP "remote-services/remote-services-shm"
             BUNDLES discovery_shm topology_manager remote_service_admin_shm calculator shell shell_tui log_service log_writer
         )
-        deploy_bundles_dir(remote-services-shm DIR_NAME "endpoints"
+        celix_container_bundles_dir(remote-services-shm DIR_NAME "endpoints"
             BUNDLES org.apache.celix.calc.api.Calculator_endpoint
         )
 
@@ -71,7 +71,7 @@ if (RSA_EXAMPLES)
             GROUP "remote-services/remote-services-shm"
             BUNDLES topology_manager remote_service_admin_shm shell shell_tui log_service log_writer calculator_shell discovery_shm
         )
-        deploy_bundles_dir(remote-services-shm-client DIR_NAME "endpoints"
+        celix_container_bundles_dir(remote-services-shm-client DIR_NAME "endpoints"
             BUNDLES org.apache.celix.calc.api.Calculator_proxy
         )
     endif ()
@@ -82,7 +82,7 @@ if (RSA_EXAMPLES)
             GROUP "remote-services/remote-services-etcd"
             BUNDLES discovery_etcd topology_manager remote_service_admin_http calculator shell shell_tui log_service log_writer
         )
-        deploy_bundles_dir(remote-services-etcd DIR_NAME "endpoints"
+        celix_container_bundles_dir(remote-services-etcd DIR_NAME "endpoints"
             BUNDLES
             	org.apache.celix.calc.api.Calculator_endpoint
             	org.apache.celix.calc.api.Calculator2_endpoint
@@ -93,7 +93,7 @@ if (RSA_EXAMPLES)
             GROUP "remote-services/remote-services-etcd"
             BUNDLES topology_manager remote_service_admin_http shell shell_tui log_service log_writer calculator_shell discovery_etcd
         )
-        deploy_bundles_dir(remote-services-etcd-client DIR_NAME "endpoints"
+        celix_container_bundles_dir(remote-services-etcd-client DIR_NAME "endpoints"
             BUNDLES org.apache.celix.calc.api.Calculator_proxy
         )
     endif ()

http://git-wip-us.apache.org/repos/asf/celix/blob/06e4d113/remote_services/examples/calculator_service/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/remote_services/examples/calculator_service/CMakeLists.txt b/remote_services/examples/calculator_service/CMakeLists.txt
index d1cf31d..32cbea2 100644
--- a/remote_services/examples/calculator_service/CMakeLists.txt
+++ b/remote_services/examples/calculator_service/CMakeLists.txt
@@ -31,7 +31,7 @@ add_celix_bundle(calculator SOURCES
     VERSION 0.0.1
 )
 
-bundle_files(calculator public/include/org.apache.celix.calc.api.Calculator2.descriptor
+celix_bundle_files(calculator public/include/org.apache.celix.calc.api.Calculator2.descriptor
     DESTINATION .)
 
 target_link_libraries(calculator celix_framework)

http://git-wip-us.apache.org/repos/asf/celix/blob/06e4d113/remote_services/examples/calculator_shell/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/remote_services/examples/calculator_shell/CMakeLists.txt b/remote_services/examples/calculator_shell/CMakeLists.txt
index f6948a0..2a49b3b 100644
--- a/remote_services/examples/calculator_shell/CMakeLists.txt
+++ b/remote_services/examples/calculator_shell/CMakeLists.txt
@@ -34,7 +34,7 @@ add_celix_bundle(calculator_shell SOURCES
     SYMBOLIC_NAME "apache_celix_remoting_calculator_shell"
 )
 
-bundle_files(calculator_shell 
+celix_bundle_files(calculator_shell
     ../calculator_service/public/include/org.apache.celix.calc.api.Calculator2.descriptor
     #private/include/org.apache.celix.calc.api.Calculator2.descriptor ##Use this descriptor in case you want to try out versioning!
     DESTINATION .

http://git-wip-us.apache.org/repos/asf/celix/blob/06e4d113/remote_services/remote_service_admin_dfi/rsa_tst/bundle/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/remote_services/remote_service_admin_dfi/rsa_tst/bundle/CMakeLists.txt b/remote_services/remote_service_admin_dfi/rsa_tst/bundle/CMakeLists.txt
index d25517e..41fbccc 100644
--- a/remote_services/remote_service_admin_dfi/rsa_tst/bundle/CMakeLists.txt
+++ b/remote_services/remote_service_admin_dfi/rsa_tst/bundle/CMakeLists.txt
@@ -29,7 +29,7 @@ add_celix_bundle(rsa_dfi_tst_bundle
         tst_activator.c
 )
 
-bundle_files(rsa_dfi_tst_bundle
+celix_bundle_files(rsa_dfi_tst_bundle
     ${PROJECT_SOURCE_DIR}/remote_services/examples/calculator_service/public/include/org.apache.celix.calc.api.Calculator2.descriptor
     DESTINATION .
 )

http://git-wip-us.apache.org/repos/asf/celix/blob/06e4d113/remote_services/topology_manager/tms_tst/bundle/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/remote_services/topology_manager/tms_tst/bundle/CMakeLists.txt b/remote_services/topology_manager/tms_tst/bundle/CMakeLists.txt
index df49a95..6cf53fb 100644
--- a/remote_services/topology_manager/tms_tst/bundle/CMakeLists.txt
+++ b/remote_services/topology_manager/tms_tst/bundle/CMakeLists.txt
@@ -27,7 +27,7 @@ add_celix_bundle(topology_manager_test_bundle
     SOURCES
         tst_activator.c   
 )
-bundle_files(topology_manager_test_bundle
+celix_bundle_files(topology_manager_test_bundle
     org.apache.celix.test.MyBundle.descriptor
     DESTINATION .
 )


[05/13] celix git commit: CELIX-412: Refactors usage of add_bundle and add_deploy to add_celix_bundle and add_celix_container

Posted by pn...@apache.org.
http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/remote_services/remote_service_admin_http/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/remote_services/remote_service_admin_http/CMakeLists.txt b/remote_services/remote_service_admin_http/CMakeLists.txt
index cc1b99a..a1b756e 100644
--- a/remote_services/remote_service_admin_http/CMakeLists.txt
+++ b/remote_services/remote_service_admin_http/CMakeLists.txt
@@ -30,7 +30,7 @@ if (RSA_REMOTE_SERVICE_ADMIN_HTTP)
 	include_directories("${PROJECT_SOURCE_DIR}/remote_services/remote_service_admin_http/private/include")
 	include_directories("${PROJECT_SOURCE_DIR}/remote_services/endpoint_listener/public/include")
 
-	add_bundle(remote_service_admin_http 
+	add_celix_bundle(remote_service_admin_http
         VERSION 0.9.0
         SYMBOLIC_NAME "apache_celix_remote_service_admin_http"
         NAME "Apache Celix Remote Service Admin HTTP"
@@ -43,7 +43,7 @@ if (RSA_REMOTE_SERVICE_ADMIN_HTTP)
 	${PROJECT_SOURCE_DIR}/log_service/public/src/log_helper.c
 	)
 
-	install_bundle(remote_service_admin_http)
+	install_celix_bundle(remote_service_admin_http)
 
 	target_link_libraries(remote_service_admin_http celix_framework ${CURL_LIBRARIES} ${UUID})
 

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/remote_services/remote_service_admin_shm/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/remote_services/remote_service_admin_shm/CMakeLists.txt b/remote_services/remote_service_admin_shm/CMakeLists.txt
index ab7a1c3..51105f0 100644
--- a/remote_services/remote_service_admin_shm/CMakeLists.txt
+++ b/remote_services/remote_service_admin_shm/CMakeLists.txt
@@ -29,7 +29,7 @@ if (RSA_REMOTE_SERVICE_ADMIN_SHM)
 	include_directories("${PROJECT_SOURCE_DIR}/remote_services/remote_service_admin_shm/private/include")
 	include_directories("${PROJECT_SOURCE_DIR}/remote_services/endpoint_listener/public/include")
 
-	add_bundle(remote_service_admin_shm 
+	add_celix_bundle(remote_service_admin_shm
         VERSION 0.9.0
         SYMBOLIC_NAME "apache_celix_remote_service_admin_shm"
         NAME "Apache Celix Remote Service Admin SHM"
@@ -42,7 +42,7 @@ if (RSA_REMOTE_SERVICE_ADMIN_SHM)
         ${PROJECT_SOURCE_DIR}/log_service/public/src/log_helper.c
 	)
 
-	install_bundle(remote_service_admin_shm
+	install_celix_bundle(remote_service_admin_shm
 		HEADERS
 			${PROJECT_SOURCE_DIR}/remote_services/remote_service_admin_shm/public/include/remote_service_admin_shm.h
 	)

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/remote_services/topology_manager/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/remote_services/topology_manager/CMakeLists.txt b/remote_services/topology_manager/CMakeLists.txt
index 46a3bac..69d14ed 100644
--- a/remote_services/topology_manager/CMakeLists.txt
+++ b/remote_services/topology_manager/CMakeLists.txt
@@ -24,7 +24,7 @@ if (RSA_TOPOLOGY_MANAGER)
     include_directories("${PROJECT_SOURCE_DIR}/log_service/public/include")
     include_directories("${PROJECT_SOURCE_DIR}/remote_services/topology_manager/public/include")
 
-    add_bundle(topology_manager SOURCES
+    add_celix_bundle(topology_manager SOURCES
         private/src/topology_manager
         private/src/scope
         private/src/activator
@@ -39,7 +39,7 @@ if (RSA_TOPOLOGY_MANAGER)
             "Apache Celix RS Topology Manager"
     )
 
-    install_bundle(topology_manager)
+    install_celix_bundle(topology_manager)
 
     if (ENABLE_TESTING)
         find_package(CppUTest REQUIRED)

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/remote_services/topology_manager/tms_tst/bundle/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/remote_services/topology_manager/tms_tst/bundle/CMakeLists.txt b/remote_services/topology_manager/tms_tst/bundle/CMakeLists.txt
index 6e269f5..df49a95 100644
--- a/remote_services/topology_manager/tms_tst/bundle/CMakeLists.txt
+++ b/remote_services/topology_manager/tms_tst/bundle/CMakeLists.txt
@@ -22,7 +22,7 @@ include_directories(
         ${PROJECT_SOURCE_DIR}/utils/public/include
 )
 
-add_bundle(topology_manager_test_bundle
+add_celix_bundle(topology_manager_test_bundle
     VERSION 0.0.1
     SOURCES
         tst_activator.c   

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/remote_services/topology_manager/tms_tst/disc_mock/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/remote_services/topology_manager/tms_tst/disc_mock/CMakeLists.txt b/remote_services/topology_manager/tms_tst/disc_mock/CMakeLists.txt
index a19efc7..cb88a21 100644
--- a/remote_services/topology_manager/tms_tst/disc_mock/CMakeLists.txt
+++ b/remote_services/topology_manager/tms_tst/disc_mock/CMakeLists.txt
@@ -23,7 +23,7 @@ include_directories(
 )
 
 
-add_bundle(topology_manager_disc_mock_bundle
+add_celix_bundle(topology_manager_disc_mock_bundle
     VERSION 0.0.1
     SOURCES
         disc_mock_activator.c

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/remote_shell/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/remote_shell/CMakeLists.txt b/remote_shell/CMakeLists.txt
index 7c37d13..aac0366 100644
--- a/remote_shell/CMakeLists.txt
+++ b/remote_shell/CMakeLists.txt
@@ -17,7 +17,7 @@
 celix_subproject(REMOTE_SHELL "Option to enable building the Remote Shell bundles" ON DEPS LAUNCHER SHELL_TUI)
 if (REMOTE_SHELL)
 
-    add_bundle(remote_shell
+    add_celix_bundle(remote_shell
      	SYMBOLIC_NAME "apache_celix_remote_shell"
      	VERSION "0.0.2"
      	NAME: "Apache Celix Remote Shell"
@@ -33,7 +33,7 @@ if (REMOTE_SHELL)
 			private/include/connection_listener.h
 	)
 	
-	install_bundle(remote_shell)
+	install_celix_bundle(remote_shell)
  
     include_directories("private/include")
     include_directories("${PROJECT_SOURCE_DIR}/utils/public/include")
@@ -42,5 +42,5 @@ if (REMOTE_SHELL)
     
     target_link_libraries(remote_shell celix_framework)
 
-    add_deploy("remote_shell_deploy" NAME "remote_shell"  BUNDLES shell remote_shell shell_tui log_service)
+    add_celix_container("remote_shell_deploy" NAME "remote_shell"  BUNDLES shell remote_shell shell_tui log_service)
 endif (REMOTE_SHELL)

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/shell/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/shell/CMakeLists.txt b/shell/CMakeLists.txt
index 11a16c1..a2bf88e 100644
--- a/shell/CMakeLists.txt
+++ b/shell/CMakeLists.txt
@@ -18,7 +18,7 @@ celix_subproject(SHELL "Option to enable building the Shell bundles" ON DEPS LAU
 if (SHELL)
 	find_package(CURL REQUIRED)
 
-    add_bundle(shell
+    add_celix_bundle(shell
         SYMBOLIC_NAME "apache_celix_shell"
         VERSION "2.1.0"
         NAME "Apache Celix Shell"
@@ -41,7 +41,7 @@ if (SHELL)
 
     )
     
-    install_bundle(shell
+    install_celix_bundle(shell
     	HEADERS
     		public/include/shell.h public/include/command.h public/include/shell_constants.h
 	)

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/shell_bonjour/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/shell_bonjour/CMakeLists.txt b/shell_bonjour/CMakeLists.txt
index 300fef0..e12d250 100644
--- a/shell_bonjour/CMakeLists.txt
+++ b/shell_bonjour/CMakeLists.txt
@@ -36,7 +36,7 @@ if (SHELL_BONJOUR)
 		set(MEMSTREAM_SOURCES ${PROJECT_SOURCE_DIR}/utils/private/src/memstream/open_memstream.c  ${PROJECT_SOURCE_DIR}/utils/private/src/memstream/fmemopen.c)
 		include_directories(${PROJECT_SOURCE_DIR}/utils/public/include/memstream)
 	endif()
-	add_bundle(bonjour_shell
+	add_celix_bundle(bonjour_shell
                 VERSION "1.0.0"
 		SOURCES
 		 	private/src/activator.c
@@ -46,7 +46,7 @@ if (SHELL_BONJOUR)
 	
 	target_link_libraries(bonjour_shell celix_framework celix_utils ${LIBXML2_LIBRARIES} ${DNS_SD_LIB})
 
-	add_deploy("bonjour_shell_deploy" BUNDLES 
+	add_celix_container("bonjour_shell_deploy" BUNDLES
 		shell
 		bonjour_shell
 		PROPERTIES "bonjour.shell.id=Apache Celix"

http://git-wip-us.apache.org/repos/asf/celix/blob/68775a04/shell_tui/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/shell_tui/CMakeLists.txt b/shell_tui/CMakeLists.txt
index 0216261..35153fe 100644
--- a/shell_tui/CMakeLists.txt
+++ b/shell_tui/CMakeLists.txt
@@ -17,7 +17,7 @@
 celix_subproject(SHELL_TUI "Option to enable building the Shell Textual User Interface bundles" ON DEPS LAUNCHER SHELL)
 if (SHELL_TUI)
 
-    add_bundle(shell_tui
+    add_celix_bundle(shell_tui
     	SYMBOLIC_NAME "apache_celix_shell_tui"
     	VERSION "1.1.0"
     	NAME "Apache Celix Shell TUI"
@@ -27,7 +27,7 @@ if (SHELL_TUI)
     		private/src/history
 	)
 	
-	install_bundle(shell_tui)
+	install_celix_bundle(shell_tui)
 	
 	include_directories("private/include")
     include_directories("${PROJECT_SOURCE_DIR}/utils/public/include")