summaryrefslogtreecommitdiffstats
path: root/sca-cpp
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2012-02-20 07:20:27 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2012-02-20 07:20:27 +0000
commit3479cfa1585b752df58873b941b5bfd06a879b04 (patch)
tree9a15741102f845b97d9028e5505d0841fb90dd15 /sca-cpp
parent4f245967cb241021844b678e75ff48c6783113d3 (diff)
Rename some of the utility programs and add them to the install target.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1291135 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp')
-rw-r--r--sca-cpp/trunk/.gitignore8
-rw-r--r--sca-cpp/trunk/modules/java/Makefile.am3
-rw-r--r--sca-cpp/trunk/modules/js/Makefile.am7
-rw-r--r--sca-cpp/trunk/modules/js/js-shell.cpp (renamed from sca-cpp/trunk/modules/js/js-eval.cpp)0
-rwxr-xr-xsca-cpp/trunk/modules/js/util-test2
-rw-r--r--sca-cpp/trunk/modules/opencl/Makefile.am3
-rw-r--r--sca-cpp/trunk/modules/python/Makefile.am3
-rw-r--r--sca-cpp/trunk/modules/scheme/Makefile.am11
-rw-r--r--sca-cpp/trunk/modules/scheme/scheme-shell.cpp (renamed from sca-cpp/trunk/modules/scheme/eval-shell.cpp)0
-rw-r--r--sca-cpp/trunk/modules/scheme/scheme-test.cpp (renamed from sca-cpp/trunk/modules/scheme/eval-test.cpp)0
10 files changed, 23 insertions, 14 deletions
diff --git a/sca-cpp/trunk/.gitignore b/sca-cpp/trunk/.gitignore
index 8d56a49c91..1a45e7cdbd 100644
--- a/sca-cpp/trunk/.gitignore
+++ b/sca-cpp/trunk/.gitignore
@@ -108,8 +108,8 @@ parallel-test
xml-test
xsd-test
atom-test
-eval-test
-eval-shell
+scheme-test
+scheme-shell
json-test
client-test
memcache-test
@@ -133,7 +133,7 @@ curl-connect
rss-test
scribe-cat
js-test
-js-eval
+js-shell
file-test
test-start*
test-stop*
@@ -143,6 +143,8 @@ json-value
value-json
element-value
value-element
+hosting/server/nuvem
+hosting/server/lib
hosting/server/data/apps/*/nuvem
hosting/server/data/apps/*/lib
chat-send
diff --git a/sca-cpp/trunk/modules/java/Makefile.am b/sca-cpp/trunk/modules/java/Makefile.am
index 5242349319..8b80276d15 100644
--- a/sca-cpp/trunk/modules/java/Makefile.am
+++ b/sca-cpp/trunk/modules/java/Makefile.am
@@ -63,7 +63,8 @@ client_test_SOURCES = client-test.cpp
client_test_LDFLAGS = -lxml2 -lcurl -lmozjs
dist_noinst_SCRIPTS = server-test wiring-test
-noinst_PROGRAMS = jni-test java-test java-shell client-test
+noinst_PROGRAMS = jni-test java-test client-test
+mod_PROGRAMS = java-shell
TESTS = jni-test java-test server-test
endif
diff --git a/sca-cpp/trunk/modules/js/Makefile.am b/sca-cpp/trunk/modules/js/Makefile.am
index 5b8e36a5cf..833a764230 100644
--- a/sca-cpp/trunk/modules/js/Makefile.am
+++ b/sca-cpp/trunk/modules/js/Makefile.am
@@ -37,9 +37,10 @@ EXTRA_DIST = htdocs/*.js htdocs/*.css htdocs/all.js
js_test_SOURCES = js-test.cpp
js_test_LDFLAGS = -lmozjs
-js_eval_SOURCES = js-eval.cpp
-js_eval_LDFLAGS = -lmozjs
+js_shell_SOURCES = js-shell.cpp
+js_shell_LDFLAGS = -lmozjs
-noinst_PROGRAMS = js-test js-eval
+noinst_PROGRAMS = js-test
+mod_PROGRAMS = js-shell
dist_noinst_SCRIPTS = util-test
TESTS = js-test util-test
diff --git a/sca-cpp/trunk/modules/js/js-eval.cpp b/sca-cpp/trunk/modules/js/js-shell.cpp
index ee0fa89b31..ee0fa89b31 100644
--- a/sca-cpp/trunk/modules/js/js-eval.cpp
+++ b/sca-cpp/trunk/modules/js/js-shell.cpp
diff --git a/sca-cpp/trunk/modules/js/util-test b/sca-cpp/trunk/modules/js/util-test
index 08407ea2d1..c69f46c67c 100755
--- a/sca-cpp/trunk/modules/js/util-test
+++ b/sca-cpp/trunk/modules/js/util-test
@@ -21,7 +21,7 @@
here=`echo "import os; print os.path.realpath('$0')" | python`; here=`dirname $here`
echo "Testing..."
-cat htdocs/util.js htdocs/elemutil.js htdocs/jsonutil.js json-test.js | ./js-eval 2>/dev/null 1>&2
+cat htdocs/util.js htdocs/elemutil.js htdocs/jsonutil.js json-test.js | ./js-shell 2>/dev/null 1>&2
rc=$?
if [ "$rc" = "0" ]; then
echo "OK"
diff --git a/sca-cpp/trunk/modules/opencl/Makefile.am b/sca-cpp/trunk/modules/opencl/Makefile.am
index 95e30d20b1..3e76a435c8 100644
--- a/sca-cpp/trunk/modules/opencl/Makefile.am
+++ b/sca-cpp/trunk/modules/opencl/Makefile.am
@@ -51,7 +51,8 @@ client_test_SOURCES = client-test.cpp
client_test_LDFLAGS = -lxml2 -lcurl -lmozjs
dist_noinst_SCRIPTS = server-test
-noinst_PROGRAMS = opencl-test opencl-shell client-test
+noinst_PROGRAMS = opencl-test client-test
+mod_PROGRAMS = opencl-shell
TESTS = opencl-test
endif
diff --git a/sca-cpp/trunk/modules/python/Makefile.am b/sca-cpp/trunk/modules/python/Makefile.am
index d24913665e..80c3097b48 100644
--- a/sca-cpp/trunk/modules/python/Makefile.am
+++ b/sca-cpp/trunk/modules/python/Makefile.am
@@ -50,7 +50,8 @@ client_test_SOURCES = client-test.cpp
client_test_LDFLAGS = -lxml2 -lcurl -lmozjs
dist_noinst_SCRIPTS = server-test wiring-test
-noinst_PROGRAMS = python-test python-shell client-test
+noinst_PROGRAMS = python-test client-test
+mod_PROGRAMS = python-shell
TESTS = python-test server-test
endif
diff --git a/sca-cpp/trunk/modules/scheme/Makefile.am b/sca-cpp/trunk/modules/scheme/Makefile.am
index 8e2141e724..130fe14303 100644
--- a/sca-cpp/trunk/modules/scheme/Makefile.am
+++ b/sca-cpp/trunk/modules/scheme/Makefile.am
@@ -18,9 +18,11 @@
incl_HEADERS = *.hpp
incldir = $(prefix)/include/modules/scheme
-eval_test_SOURCES = eval-test.cpp
+moddir = $(prefix)/modules/scheme
-eval_shell_SOURCES = eval-shell.cpp
+scheme_test_SOURCES = scheme-test.cpp
+
+scheme_shell_SOURCES = scheme-shell.cpp
value_element_SOURCES = value-element.cpp
value_element_LDFLAGS =
@@ -40,5 +42,6 @@ json_value_LDFLAGS = -lmozjs
value_json_SOURCES = value-json.cpp
value_json_LDFLAGS = -lmozjs
-noinst_PROGRAMS = eval-test eval-shell element-value value-element xml-value value-xml json-value value-json
-TESTS = eval-test
+noinst_PROGRAMS = scheme-test
+mod_PROGRAMS = scheme-shell element-value value-element xml-value value-xml json-value value-json
+TESTS = scheme-test
diff --git a/sca-cpp/trunk/modules/scheme/eval-shell.cpp b/sca-cpp/trunk/modules/scheme/scheme-shell.cpp
index 4aa67c2375..4aa67c2375 100644
--- a/sca-cpp/trunk/modules/scheme/eval-shell.cpp
+++ b/sca-cpp/trunk/modules/scheme/scheme-shell.cpp
diff --git a/sca-cpp/trunk/modules/scheme/eval-test.cpp b/sca-cpp/trunk/modules/scheme/scheme-test.cpp
index dd97bc358d..dd97bc358d 100644
--- a/sca-cpp/trunk/modules/scheme/eval-test.cpp
+++ b/sca-cpp/trunk/modules/scheme/scheme-test.cpp