better dependencies fetching

- provide git url for sharedrawweb
This commit is contained in:
philippe lhardy
2023-07-28 10:27:18 +02:00
committed by philippe lhardy
parent 6d7c03d468
commit 2b050cccda
3 changed files with 37 additions and 2 deletions

18
BUILD.md Normal file
View File

@@ -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
```

2
README
View File

@@ -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. 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. 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 requirement : you need a java jdk environment installed ( java + javac ) and ant

View File

@@ -1,5 +1,20 @@
#!/bin/bash #!/bin/bash
log_any()
{
echo "$@" >&2
}
log_error()
{
log_any "[ERROR] $@"
}
log_info()
{
log_any "[INFO] $@"
}
fetch_jackson_databind() fetch_jackson_databind()
{ {
@@ -28,7 +43,9 @@ fetch_zstd-jni()
if [[ ! -d ../sharedrawweb ]] if [[ ! -d ../sharedrawweb ]]
then 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 fi
if [[ ! -d libs ]] if [[ ! -d libs ]]