http_getter_const.cmx: http_getter_const.cmi
http_getter_debugger.cmo: http_getter_debugger.cmi
http_getter_debugger.cmx: http_getter_debugger.cmi
-http_getter_env.cmo: http_getter_misc.cmi http_getter_types.cmo \
- http_getter_env.cmi
-http_getter_env.cmx: http_getter_misc.cmx http_getter_types.cmx \
- http_getter_env.cmi
+http_getter_env.cmo: http_getter_const.cmi http_getter_misc.cmi \
+ http_getter_types.cmo http_getter_env.cmi
+http_getter_env.cmx: http_getter_const.cmx http_getter_misc.cmx \
+ http_getter_types.cmx http_getter_env.cmi
http_getter_map.cmo: threadSafe.cmi http_getter_map.cmi
http_getter_map.cmx: threadSafe.cmx http_getter_map.cmi
http_getter_misc.cmo: http_getter_debugger.cmi http_getter_misc.cmi
OCAMLDEP = ocamlfind ocamldep $(COMMONOPTS)
MODULES = \
http_getter_debugger threadSafe \
- http_getter_types http_getter_misc http_getter_env \
- http_getter_const http_getter_common http_getter_map \
+ http_getter_types http_getter_misc http_getter_const \
+ http_getter_env http_getter_common http_getter_map \
http_getter_cache
OBJS = $(patsubst %,%.cmo,$(MODULES))
* http://helm.cs.unibo.it/
*)
+let version = "0.2.0"
+let conffile = "http_getter.conf.xml"
+
(* TODO provide a better usage string *)
let usage_string =
"
* http://helm.cs.unibo.it/
*)
+val version: string
+val conffile: string
val usage_string: string
val empty_xml: string
open Pxp_types;;
open Pxp_yacc;;
-let version = "0.2.0"
+let version = Http_getter_const.version
type setting_src =
| Environment (* read setting from environment variables *)
let conf_dir =
Pcre.replace ~pat:"/$" (Sys.getenv "HELM_CONFIGURATION_DIR")
in
- (conf_dir ^ "/configuration.xml", conf_dir)
+ (conf_dir ^ "/" ^ Http_getter_const.conffile, conf_dir)
with Not_found -> failwith "HELM_CONFIGURATION_DIR undefined"
let safe_getenv ?(from = Both) var =