From 2aaa919aa7451546f9576b3a71fc41f896c24b31 Mon Sep 17 00:00:00 2001 From: Maximiliano Geier Date: Tue, 16 Oct 2012 11:42:50 +0200 Subject: [PATCH 1/1] Renamed project to chainsend to avoid confusion --- buildtools/Cmake/DefinePackages.cmake | 2 +- buildtools/Cmake/MakeExe.cmake | 2 +- .../msg/{kadeploy => chainsend}/CMakeLists.txt | 16 ++++++++-------- examples/msg/{kadeploy => chainsend}/README | 10 +++++----- .../msg/{kadeploy => chainsend}/broadcaster.c | 2 +- .../msg/{kadeploy => chainsend}/broadcaster.h | 0 .../kadeploy.c => chainsend/chainsend.c} | 6 +++--- .../chainsend_CLM03.tesh} | 0 .../chainsend_KCCFLN05.tesh} | 0 .../chainsend_Reno.tesh} | 0 .../chainsend_Vegas.tesh} | 0 examples/msg/{kadeploy => chainsend}/common.c | 0 examples/msg/{kadeploy => chainsend}/common.h | 0 .../deployment_chainsend.xml} | 2 +- .../generate_deployment_file.rb | 0 examples/msg/{kadeploy => chainsend}/iterator.c | 0 examples/msg/{kadeploy => chainsend}/iterator.h | 0 examples/msg/{kadeploy => chainsend}/messages.c | 0 examples/msg/{kadeploy => chainsend}/messages.h | 0 examples/msg/{kadeploy => chainsend}/peer.c | 2 +- examples/msg/{kadeploy => chainsend}/peer.h | 0 .../platform_chainsend.xml} | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-) rename examples/msg/{kadeploy => chainsend}/CMakeLists.txt (59%) rename examples/msg/{kadeploy => chainsend}/README (52%) rename examples/msg/{kadeploy => chainsend}/broadcaster.c (98%) rename examples/msg/{kadeploy => chainsend}/broadcaster.h (100%) rename examples/msg/{kadeploy/kadeploy.c => chainsend/chainsend.c} (94%) rename examples/msg/{kadeploy/kadeploy_CLM03.tesh => chainsend/chainsend_CLM03.tesh} (100%) rename examples/msg/{kadeploy/kadeploy_KCCFLN05.tesh => chainsend/chainsend_KCCFLN05.tesh} (100%) rename examples/msg/{kadeploy/kadeploy_Reno.tesh => chainsend/chainsend_Reno.tesh} (100%) rename examples/msg/{kadeploy/kadeploy_Vegas.tesh => chainsend/chainsend_Vegas.tesh} (100%) rename examples/msg/{kadeploy => chainsend}/common.c (100%) rename examples/msg/{kadeploy => chainsend}/common.h (100%) rename examples/msg/{kadeploy/deployment_kadeploy.xml => chainsend/deployment_chainsend.xml} (92%) rename examples/msg/{kadeploy => chainsend}/generate_deployment_file.rb (100%) rename examples/msg/{kadeploy => chainsend}/iterator.c (100%) rename examples/msg/{kadeploy => chainsend}/iterator.h (100%) rename examples/msg/{kadeploy => chainsend}/messages.c (100%) rename examples/msg/{kadeploy => chainsend}/messages.h (100%) rename examples/msg/{kadeploy => chainsend}/peer.c (98%) rename examples/msg/{kadeploy => chainsend}/peer.h (100%) rename examples/msg/{kadeploy/platform_kadeploy.xml => chainsend/platform_chainsend.xml} (95%) diff --git a/buildtools/Cmake/DefinePackages.cmake b/buildtools/Cmake/DefinePackages.cmake index eb923dd441..0b956b8255 100644 --- a/buildtools/Cmake/DefinePackages.cmake +++ b/buildtools/Cmake/DefinePackages.cmake @@ -671,7 +671,7 @@ set(EXAMPLES_CMAKEFILES_TXT examples/msg/priority/CMakeLists.txt examples/msg/properties/CMakeLists.txt examples/msg/sendrecv/CMakeLists.txt - examples/msg/kadeploy/CMakeLists.txt + examples/msg/chainsend/CMakeLists.txt examples/msg/start_kill_time/CMakeLists.txt examples/msg/suspend/CMakeLists.txt examples/msg/token_ring/CMakeLists.txt diff --git a/buildtools/Cmake/MakeExe.cmake b/buildtools/Cmake/MakeExe.cmake index 6fc76d47bc..b297061a91 100644 --- a/buildtools/Cmake/MakeExe.cmake +++ b/buildtools/Cmake/MakeExe.cmake @@ -35,7 +35,7 @@ add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/properties) add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/actions) add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/migration) add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/sendrecv) -add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/kadeploy) +add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/chainsend) add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/suspend) add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/parallel_task) add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/priority) diff --git a/examples/msg/kadeploy/CMakeLists.txt b/examples/msg/chainsend/CMakeLists.txt similarity index 59% rename from examples/msg/kadeploy/CMakeLists.txt rename to examples/msg/chainsend/CMakeLists.txt index f28d923986..40e6701991 100644 --- a/examples/msg/kadeploy/CMakeLists.txt +++ b/examples/msg/chainsend/CMakeLists.txt @@ -2,23 +2,23 @@ cmake_minimum_required(VERSION 2.6) set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}") -add_executable(kadeploy kadeploy.c iterator.c common.c messages.c broadcaster.c peer.c) +add_executable(chainsend chainsend.c iterator.c common.c messages.c broadcaster.c peer.c) ### Add definitions for compile -target_link_libraries(kadeploy simgrid m ) +target_link_libraries(chainsend simgrid m ) set(tesh_files ${tesh_files} - ${CMAKE_CURRENT_SOURCE_DIR}/kadeploy_CLM03.tesh - ${CMAKE_CURRENT_SOURCE_DIR}/kadeploy_KCCFLN05.tesh - ${CMAKE_CURRENT_SOURCE_DIR}/kadeploy_Reno.tesh - ${CMAKE_CURRENT_SOURCE_DIR}/kadeploy_Vegas.tesh + ${CMAKE_CURRENT_SOURCE_DIR}/chainsend_CLM03.tesh + ${CMAKE_CURRENT_SOURCE_DIR}/chainsend_KCCFLN05.tesh + ${CMAKE_CURRENT_SOURCE_DIR}/chainsend_Reno.tesh + ${CMAKE_CURRENT_SOURCE_DIR}/chainsend_Vegas.tesh PARENT_SCOPE ) set(xml_files ${xml_files} - ${CMAKE_CURRENT_SOURCE_DIR}/deployment_kadeploy.xml - ${CMAKE_CURRENT_SOURCE_DIR}/platform_kadeploy.xml + ${CMAKE_CURRENT_SOURCE_DIR}/deployment_chainsend.xml + ${CMAKE_CURRENT_SOURCE_DIR}/platform_chainsend.xml PARENT_SCOPE ) set(examples_src diff --git a/examples/msg/kadeploy/README b/examples/msg/chainsend/README similarity index 52% rename from examples/msg/kadeploy/README rename to examples/msg/chainsend/README index ba36b084e8..a8fcd15e79 100644 --- a/examples/msg/kadeploy/README +++ b/examples/msg/chainsend/README @@ -1,12 +1,12 @@ ==================================================== - Kadeploy MSG implementation + Chainsend MSG implementation ==================================================== -Directory : SG_INSTALL_DIR/examples/msg/kadeploy -Content : Kadeploy MSG implementation +Directory : SG_INSTALL_DIR/examples/msg/chainsend +Content : Chainsend MSG implementation Author : Maximiliano Geier ==================================================== This directory contains an implementation of a -file broadcasting system, similar to the one found -in Kadeploy, using MSG. +file broadcasting system, similar to Kastafoir, +the one found in Kadeploy, using MSG. diff --git a/examples/msg/kadeploy/broadcaster.c b/examples/msg/chainsend/broadcaster.c similarity index 98% rename from examples/msg/kadeploy/broadcaster.c rename to examples/msg/chainsend/broadcaster.c index bcc1097cdb..2d0b1c0fa7 100644 --- a/examples/msg/kadeploy/broadcaster.c +++ b/examples/msg/chainsend/broadcaster.c @@ -1,7 +1,7 @@ #include "broadcaster.h" XBT_LOG_NEW_DEFAULT_CATEGORY(msg_broadcaster, - "Messages specific for kadeploy"); + "Messages specific for the broadcaster"); xbt_dynar_t build_hostlist_from_hostcount(int hostcount) { diff --git a/examples/msg/kadeploy/broadcaster.h b/examples/msg/chainsend/broadcaster.h similarity index 100% rename from examples/msg/kadeploy/broadcaster.h rename to examples/msg/chainsend/broadcaster.h diff --git a/examples/msg/kadeploy/kadeploy.c b/examples/msg/chainsend/chainsend.c similarity index 94% rename from examples/msg/kadeploy/kadeploy.c rename to examples/msg/chainsend/chainsend.c index 2beb023ac3..0c74523b49 100644 --- a/examples/msg/kadeploy/kadeploy.c +++ b/examples/msg/chainsend/chainsend.c @@ -22,12 +22,12 @@ /** @addtogroup MSG_examples * - * - kadeploy/kadeploy.c: Kadeploy implementation. + * - chainsend/chainsend.c: Chainsend implementation. */ -XBT_LOG_NEW_DEFAULT_CATEGORY(msg_kadeploy, - "Messages specific for kadeploy"); +XBT_LOG_NEW_DEFAULT_CATEGORY(msg_chainsend, + "Messages specific for chainsend"); /* Data structures diff --git a/examples/msg/kadeploy/kadeploy_CLM03.tesh b/examples/msg/chainsend/chainsend_CLM03.tesh similarity index 100% rename from examples/msg/kadeploy/kadeploy_CLM03.tesh rename to examples/msg/chainsend/chainsend_CLM03.tesh diff --git a/examples/msg/kadeploy/kadeploy_KCCFLN05.tesh b/examples/msg/chainsend/chainsend_KCCFLN05.tesh similarity index 100% rename from examples/msg/kadeploy/kadeploy_KCCFLN05.tesh rename to examples/msg/chainsend/chainsend_KCCFLN05.tesh diff --git a/examples/msg/kadeploy/kadeploy_Reno.tesh b/examples/msg/chainsend/chainsend_Reno.tesh similarity index 100% rename from examples/msg/kadeploy/kadeploy_Reno.tesh rename to examples/msg/chainsend/chainsend_Reno.tesh diff --git a/examples/msg/kadeploy/kadeploy_Vegas.tesh b/examples/msg/chainsend/chainsend_Vegas.tesh similarity index 100% rename from examples/msg/kadeploy/kadeploy_Vegas.tesh rename to examples/msg/chainsend/chainsend_Vegas.tesh diff --git a/examples/msg/kadeploy/common.c b/examples/msg/chainsend/common.c similarity index 100% rename from examples/msg/kadeploy/common.c rename to examples/msg/chainsend/common.c diff --git a/examples/msg/kadeploy/common.h b/examples/msg/chainsend/common.h similarity index 100% rename from examples/msg/kadeploy/common.h rename to examples/msg/chainsend/common.h diff --git a/examples/msg/kadeploy/deployment_kadeploy.xml b/examples/msg/chainsend/deployment_chainsend.xml similarity index 92% rename from examples/msg/kadeploy/deployment_kadeploy.xml rename to examples/msg/chainsend/deployment_chainsend.xml index 1fb385c05f..e190c889e5 100644 --- a/examples/msg/kadeploy/deployment_kadeploy.xml +++ b/examples/msg/chainsend/deployment_chainsend.xml @@ -1,6 +1,6 @@ - + diff --git a/examples/msg/kadeploy/generate_deployment_file.rb b/examples/msg/chainsend/generate_deployment_file.rb similarity index 100% rename from examples/msg/kadeploy/generate_deployment_file.rb rename to examples/msg/chainsend/generate_deployment_file.rb diff --git a/examples/msg/kadeploy/iterator.c b/examples/msg/chainsend/iterator.c similarity index 100% rename from examples/msg/kadeploy/iterator.c rename to examples/msg/chainsend/iterator.c diff --git a/examples/msg/kadeploy/iterator.h b/examples/msg/chainsend/iterator.h similarity index 100% rename from examples/msg/kadeploy/iterator.h rename to examples/msg/chainsend/iterator.h diff --git a/examples/msg/kadeploy/messages.c b/examples/msg/chainsend/messages.c similarity index 100% rename from examples/msg/kadeploy/messages.c rename to examples/msg/chainsend/messages.c diff --git a/examples/msg/kadeploy/messages.h b/examples/msg/chainsend/messages.h similarity index 100% rename from examples/msg/kadeploy/messages.h rename to examples/msg/chainsend/messages.h diff --git a/examples/msg/kadeploy/peer.c b/examples/msg/chainsend/peer.c similarity index 98% rename from examples/msg/kadeploy/peer.c rename to examples/msg/chainsend/peer.c index ba75b8fac8..cc9723cdc8 100644 --- a/examples/msg/kadeploy/peer.c +++ b/examples/msg/chainsend/peer.c @@ -1,7 +1,7 @@ #include "peer.h" XBT_LOG_NEW_DEFAULT_CATEGORY(msg_peer, - "Messages specific for kadeploy"); + "Messages specific for the peer"); /******************************************************* * Peer * diff --git a/examples/msg/kadeploy/peer.h b/examples/msg/chainsend/peer.h similarity index 100% rename from examples/msg/kadeploy/peer.h rename to examples/msg/chainsend/peer.h diff --git a/examples/msg/kadeploy/platform_kadeploy.xml b/examples/msg/chainsend/platform_chainsend.xml similarity index 95% rename from examples/msg/kadeploy/platform_kadeploy.xml rename to examples/msg/chainsend/platform_chainsend.xml index a1fe77ac10..f5c91052a8 100644 --- a/examples/msg/kadeploy/platform_kadeploy.xml +++ b/examples/msg/chainsend/platform_chainsend.xml @@ -2,7 +2,7 @@ - + -- 2.20.1