diff --git a/BUILD.md b/BUILD.md new file mode 100644 index 0000000..56ffe6a --- /dev/null +++ b/BUILD.md @@ -0,0 +1,18 @@ + +===== How to build this project ? ===== + +This project was done in java so it requires a java compiler to be build under an executable form. + +It is expected you already obtained content of source since you are readeing this BUILD.md + +within same directory as this BUILD.md : + +``` +./init.sh +# will create build scripts from artlog_toolbox +# ./doit.sh +# depends on sharedrawweb for stl export +./fetch_dependencies.sh +ant dist +``` + diff --git a/README b/README index b7e1822..7bb598b 100644 --- a/README +++ b/README @@ -9,7 +9,7 @@ After years i finaly printed one maze, find it at https://www.thingiverse.com/th This is the very first usable part. It was developped under debian 7/8 but since it is java based it might be very easily recompiled or even just copied on other platform. -there is a console gui menu base with ./doit.sh +There is a console gui menu based with ./doit.sh requirement : you need a java jdk environment installed ( java + javac ) and ant diff --git a/fetch_dependencies.sh b/fetch_dependencies.sh index c72584c..29694f7 100755 --- a/fetch_dependencies.sh +++ b/fetch_dependencies.sh @@ -1,5 +1,20 @@ #!/bin/bash +log_any() +{ + echo "$@" >&2 +} + +log_error() +{ + log_any "[ERROR] $@" +} + +log_info() +{ + log_any "[INFO] $@" +} + fetch_jackson_databind() { @@ -16,7 +31,9 @@ fetch_jackson_databind() if [[ ! -d ../sharedrawweb ]] then - echo "[ERROR] expected a sharedrawweb project parent ( for exports )" >&2 + log_error "expected a sharedrawweb project parent ( for exports ). Please clone related project." + sharedrawweb_git_url="ssh://philippe@www4.artisanlogiciel.net:2023/home/philippe/artisanlogiciel/code/sharedrawweb" + log_info "cd ..; git clone sharedrawweb_git_url" fi if [[ ! -d libs ]]