From: Eduardo Ramos Testillano Date: Fri, 25 Jul 2014 15:19:08 +0000 (+0200) Subject: Automate examples SConscript regarding pName X-Git-Tag: REFACTORING_TESTING_LIBRARY~243 X-Git-Url: https://git.teslayout.com/public/public/public/?a=commitdiff_plain;h=10acee039e75b859b11fd809ce22fb2aecce47e2;p=anna.git Automate examples SConscript regarding pName --- diff --git a/example/comm/blocker/SConscript b/example/comm/blocker/SConscript index 58f69f7..196656b 100644 --- a/example/comm/blocker/SConscript +++ b/example/comm/blocker/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_comm_blocker" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/comm/brkClient/SConscript b/example/comm/brkClient/SConscript index 8577c54..74e81f5 100644 --- a/example/comm/brkClient/SConscript +++ b/example/comm/brkClient/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_comm_brkClient" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ @@ -13,6 +15,7 @@ for module in modules: anna_libs.append ("anna_" + module) module = module.replace("_", ".") anna_libpaths.append (pwd.replace (pPath, ("source/" + module + "/"))) +pName = "example_comm_brkClient" anna_rlibs = list(anna_libs) anna_rlibs.reverse() diff --git a/example/comm/client/SConscript b/example/comm/client/SConscript index c857898..d601223 100644 --- a/example/comm/client/SConscript +++ b/example/comm/client/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_comm_client" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/comm/codec/SConscript b/example/comm/codec/SConscript index 1ea8fb6..196656b 100644 --- a/example/comm/codec/SConscript +++ b/example/comm/codec/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_comm_codec" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/comm/datagramKClient/SConscript b/example/comm/datagramKClient/SConscript index b0c6fb2..1002d3a 100644 --- a/example/comm/datagramKClient/SConscript +++ b/example/comm/datagramKClient/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_comm_datagramKClient" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/comm/datagramRServer/SConscript b/example/comm/datagramRServer/SConscript index cd069ff..1002d3a 100644 --- a/example/comm/datagramRServer/SConscript +++ b/example/comm/datagramRServer/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_comm_datagramRServer" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/comm/irkClient/SConscript b/example/comm/irkClient/SConscript index 66b4b96..1002d3a 100644 --- a/example/comm/irkClient/SConscript +++ b/example/comm/irkClient/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_comm_irkClient" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/comm/kClient/SConscript b/example/comm/kClient/SConscript index e72d1d4..1002d3a 100644 --- a/example/comm/kClient/SConscript +++ b/example/comm/kClient/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_comm_kClient" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/comm/kxClient/SConscript b/example/comm/kxClient/SConscript index 2ac2033..1002d3a 100644 --- a/example/comm/kxClient/SConscript +++ b/example/comm/kxClient/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_comm_kxClient" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/comm/largeBinaryCodec/SConscript b/example/comm/largeBinaryCodec/SConscript index 68fdb33..196656b 100644 --- a/example/comm/largeBinaryCodec/SConscript +++ b/example/comm/largeBinaryCodec/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_comm_largeBinaryCodec" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/comm/rServer/SConscript b/example/comm/rServer/SConscript index cd9474e..1002d3a 100644 --- a/example/comm/rServer/SConscript +++ b/example/comm/rServer/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_comm_rServer" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/comm/rrClient/SConscript b/example/comm/rrClient/SConscript index a4472d4..9cb697b 100644 --- a/example/comm/rrClient/SConscript +++ b/example/comm/rrClient/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_comm_rrClient" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/comm/rrkClient/SConscript b/example/comm/rrkClient/SConscript index cd8e353..1002d3a 100644 --- a/example/comm/rrkClient/SConscript +++ b/example/comm/rrkClient/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_comm_rrkClient" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/comm/server/SConscript b/example/comm/server/SConscript index 176c16e..1002d3a 100644 --- a/example/comm/server/SConscript +++ b/example/comm/server/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_comm_server" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/core/genLogon/SConscript b/example/core/genLogon/SConscript index 875c340..c4beebb 100644 --- a/example/core/genLogon/SConscript +++ b/example/core/genLogon/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_core_genLogon" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/core/ipManaging/SConscript b/example/core/ipManaging/SConscript index 98123e0..56ba20d 100644 --- a/example/core/ipManaging/SConscript +++ b/example/core/ipManaging/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_core_ipManaging" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/core/recycler/SConscript b/example/core/recycler/SConscript index 7d32311..56ba20d 100644 --- a/example/core/recycler/SConscript +++ b/example/core/recycler/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_core_recycler" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/core/regularExpression/SConscript b/example/core/regularExpression/SConscript index 4223192..56ba20d 100644 --- a/example/core/regularExpression/SConscript +++ b/example/core/regularExpression/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_core_regularExpression" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/core/selectiveTracing/SConscript b/example/core/selectiveTracing/SConscript index e9e7c4e..c83423c 100644 --- a/example/core/selectiveTracing/SConscript +++ b/example/core/selectiveTracing/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_core_selectiveTracing" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/core/showLogon/SConscript b/example/core/showLogon/SConscript index eb54eed..c4beebb 100644 --- a/example/core/showLogon/SConscript +++ b/example/core/showLogon/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_core_showLogon" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/core/sort/SConscript b/example/core/sort/SConscript index 9b5ee8a..158ed7f 100644 --- a/example/core/sort/SConscript +++ b/example/core/sort/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_core_sort" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/core/sortName/SConscript b/example/core/sortName/SConscript index f54f3cc..5dc00ba 100644 --- a/example/core/sortName/SConscript +++ b/example/core/sortName/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_core_sortName" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/core/thread/SConscript b/example/core/thread/SConscript index 52a33ab..5e47b30 100644 --- a/example/core/thread/SConscript +++ b/example/core/thread/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_core_thread" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/core/threadManager/SConscript b/example/core/threadManager/SConscript index 49a0f4c..4db8bdf 100644 --- a/example/core/threadManager/SConscript +++ b/example/core/threadManager/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_core_threadManager" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/core/trace/SConscript b/example/core/trace/SConscript index c56d68e..5dc00ba 100644 --- a/example/core/trace/SConscript +++ b/example/core/trace/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_core_trace" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/core/zBlock/SConscript b/example/core/zBlock/SConscript index 8204440..58237d0 100644 --- a/example/core/zBlock/SConscript +++ b/example/core/zBlock/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_core_zBlock" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/dbms.mysql/insert/SConscript b/example/dbms.mysql/insert/SConscript index 090f079..edb47b5 100644 --- a/example/dbms.mysql/insert/SConscript +++ b/example/dbms.mysql/insert/SConscript @@ -1,7 +1,10 @@ Import ('env') # Process ################################################################# -pName = "example_dbms_mysql_insert" +#pName = "example_dbms.mysql_insert" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] # Libraries ############################################################### # To avoid other libraries accumulation (boost testing, i.e.): diff --git a/example/dbms.mysql/select/SConscript b/example/dbms.mysql/select/SConscript index 605d3da..588eba0 100644 --- a/example/dbms.mysql/select/SConscript +++ b/example/dbms.mysql/select/SConscript @@ -1,7 +1,10 @@ Import ('env') # Process ################################################################# -pName = "example_dbms_mysql_select" +#pName = "example_dbms.mysql_select" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] # Libraries ############################################################### # To avoid other libraries accumulation (boost testing, i.e.): diff --git a/example/dbms.mysql/xInsert/SConscript b/example/dbms.mysql/xInsert/SConscript index 94fab0b..a6fa1d4 100644 --- a/example/dbms.mysql/xInsert/SConscript +++ b/example/dbms.mysql/xInsert/SConscript @@ -1,7 +1,10 @@ Import ('env') # Process ################################################################# -pName = "example_dbms.mysql_xInsert" +#pName = "example_dbms.mysql_xInsert" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/dbms.mysql/xSelect/SConscript b/example/dbms.mysql/xSelect/SConscript index d94e6b1..aa40e7d 100644 --- a/example/dbms.mysql/xSelect/SConscript +++ b/example/dbms.mysql/xSelect/SConscript @@ -1,7 +1,10 @@ Import ('env') # Process ################################################################# -pName = "example_dbms.mysql_xSelect" +#pName = "example_dbms.mysql_xSelect" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/dbos/workdir/SConscript b/example/dbos/workdir/SConscript index 6bfc676..6fc45ff 100644 --- a/example/dbos/workdir/SConscript +++ b/example/dbos/workdir/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_dbos_workdir" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/diameter/launcher/SConscript b/example/diameter/launcher/SConscript index dc48870..e20575f 100644 --- a/example/diameter/launcher/SConscript +++ b/example/diameter/launcher/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_diameter_launcher" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/diameter/stackManagement/SConscript b/example/diameter/stackManagement/SConscript index 3931b22..22f47b8 100644 --- a/example/diameter/stackManagement/SConscript +++ b/example/diameter/stackManagement/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_diameter_stackManagement" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/diameter/tme/SConscript b/example/diameter/tme/SConscript index 01bee90..22f47b8 100644 --- a/example/diameter/tme/SConscript +++ b/example/diameter/tme/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_diameter_tme" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/http/buffer/SConscript b/example/http/buffer/SConscript index 6df6ef1..0380398 100644 --- a/example/http/buffer/SConscript +++ b/example/http/buffer/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_http_buffer" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/http/client/SConscript b/example/http/client/SConscript index 063b5a1..3630e02 100644 --- a/example/http/client/SConscript +++ b/example/http/client/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_http_client" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/http/echo/SConscript b/example/http/echo/SConscript index 253aadc..0380398 100644 --- a/example/http/echo/SConscript +++ b/example/http/echo/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_http_echo" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/http/kClient/SConscript b/example/http/kClient/SConscript index e2061cd..1d98554 100644 --- a/example/http/kClient/SConscript +++ b/example/http/kClient/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_http_kClient" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/http/rServer/SConscript b/example/http/rServer/SConscript index ba089e1..1d98554 100644 --- a/example/http/rServer/SConscript +++ b/example/http/rServer/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_http_rServer" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/http/server/SConscript b/example/http/server/SConscript index 6a52f2a..1d98554 100644 --- a/example/http/server/SConscript +++ b/example/http/server/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_http_server" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/http/wims20Client/SConscript b/example/http/wims20Client/SConscript index 8baf993..0380398 100644 --- a/example/http/wims20Client/SConscript +++ b/example/http/wims20Client/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_http_wims20Client" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/http/wims20RServer/SConscript b/example/http/wims20RServer/SConscript index 88ddb44..0380398 100644 --- a/example/http/wims20RServer/SConscript +++ b/example/http/wims20RServer/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_http_wims20RServer" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/http/wims20XClient/SConscript b/example/http/wims20XClient/SConscript index d8d52d9..3630e02 100644 --- a/example/http/wims20XClient/SConscript +++ b/example/http/wims20XClient/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_http_wims20XClient" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/http/wims20XRServer/SConscript b/example/http/wims20XRServer/SConscript index b6b9b89..1d98554 100644 --- a/example/http/wims20XRServer/SConscript +++ b/example/http/wims20XRServer/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_http_wims20XRServer" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/http/xmlClient/SConscript b/example/http/xmlClient/SConscript index 2f9ac83..3630e02 100644 --- a/example/http/xmlClient/SConscript +++ b/example/http/xmlClient/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_http_xmlClient" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/http/xmlRServer/SConscript b/example/http/xmlRServer/SConscript index 77f7354..1d98554 100644 --- a/example/http/xmlRServer/SConscript +++ b/example/http/xmlRServer/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_http_xmlRServer" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/http/xmlSender/SConscript b/example/http/xmlSender/SConscript index 5279ed0..0380398 100644 --- a/example/http/xmlSender/SConscript +++ b/example/http/xmlSender/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_http_xmlSender" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/io/reader/SConscript b/example/io/reader/SConscript index d531cdf..53c2281 100644 --- a/example/io/reader/SConscript +++ b/example/io/reader/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_io_reader" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/ldap/tSearch/SConscript b/example/ldap/tSearch/SConscript index 1d15b47..879c308 100644 --- a/example/ldap/tSearch/SConscript +++ b/example/ldap/tSearch/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_ldap_tSearch" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/time/conversor/SConscript b/example/time/conversor/SConscript index e0f4481..b6e23dc 100644 --- a/example/time/conversor/SConscript +++ b/example/time/conversor/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_time_conversor" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/timex/ArithmeticHTTPServer/SConscript b/example/timex/ArithmeticHTTPServer/SConscript index f689494..c172b9c 100644 --- a/example/timex/ArithmeticHTTPServer/SConscript +++ b/example/timex/ArithmeticHTTPServer/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_timex_ArithmeticHTTPServer" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/xml/xmlBasic/SConscript b/example/xml/xmlBasic/SConscript index 42836c8..5dc00ba 100644 --- a/example/xml/xmlBasic/SConscript +++ b/example/xml/xmlBasic/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_xml_xmlBasic" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/xml/xmlBinary/SConscript b/example/xml/xmlBinary/SConscript index 7266e25..5dc00ba 100644 --- a/example/xml/xmlBinary/SConscript +++ b/example/xml/xmlBinary/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_xml_xmlBinary" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ diff --git a/example/xml/xpath/SConscript b/example/xml/xpath/SConscript index 3671938..5dc00ba 100644 --- a/example/xml/xpath/SConscript +++ b/example/xml/xpath/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_xml_xpath" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################