amalgame/commit

move strategy visualiser api to the api directory

authorJacco van Ossenbruggen
Mon Aug 11 14:07:18 2014 +0200
committerJacco van Ossenbruggen
Mon Aug 11 14:07:18 2014 +0200
commitb13432e048d6afc312907f426751b07861e9c715
tree6a140e6bf4c88426fdfa8e9d068d09b1eed79b63
parentc1b13c727a0f138fb99b8c109b2fb47b277f733a
Diff style: patch stat
diff --git a/applications/strategy_viz.pl b/api/strategy_viz.pl
similarity index 99%
rename from applications/strategy_viz.pl
rename to api/strategy_viz.pl
index 02b307d..d53d2da 100644
--- a/applications/strategy_viz.pl
+++ b/api/strategy_viz.pl
@@ -1,4 +1,4 @@
-:- module(strategy_graph_viz,
+:- module(api_strategy_graph_viz,
 	  [ html_strategy_viz//1,
 	    reply_strategy_graph/2
 	  ]).
diff --git a/applications/builder.pl b/applications/builder.pl
index 3e3f3aa..5dbfa0b 100644
--- a/applications/builder.pl
+++ b/applications/builder.pl
@@ -18,6 +18,7 @@
 :- use_module(components(amalgame/util)).
 
 % we need http handlers of these APIs
+:- use_module(api(strategy_viz)).
 :- use_module(api(mapping)).
 :- use_module(api(correspondence)).
 :- use_module(api(hints)).
@@ -26,8 +27,7 @@
 :- use_module(api(virtual_concepts)).
 :- use_module(api(ag_process)).
 
-
-% http handlers for this applications
+% http handlers for this application
 :- http_handler(amalgame(app/build), http_ag_build, []).
 
 ag:menu_item(200=http_ag_build, 'build').
diff --git a/config-available/025-amalgame.pl b/config-available/025-amalgame.pl
index 557bf61..e3b3eaf 100644
--- a/config-available/025-amalgame.pl
+++ b/config-available/025-amalgame.pl
@@ -32,15 +32,13 @@ http:location(img,		 root(img),                  [ priority(-100) ]).
 :- rdf_load_library(amalgame).
 :- rdf_load_library(dc).
 
-/* Now all namespaces should have been defined, we can load the amalgame code: */
+/* Now all namespaces should have been defined, 
+*  we can load the amalgame applications: 
+*/
 :- use_module(applications(startpage)).
 :- use_module(applications(builder)).
-:- use_module(applications(analyser)).
 :- use_module(applications(evaluater)).
 :- use_module(applications(publisher)).
-:- use_module(applications(strategy_viz)).
-
-% :- use_module(api(http_mapping)).
 
 % add local web directories from which static files are served.