fix dependencies and BUILD.md for public build

Signed-off-by: philippe lhardy <philippe.lhardy@astrolabe.coop>
This commit is contained in:
2025-11-01 23:35:33 +01:00
parent 180718c36f
commit 1b0be89766
3 changed files with 5 additions and 4 deletions

0
.resources.var Normal file
View File

View File

@@ -10,7 +10,7 @@ within same directory as this BUILD.md :
```
# ./doit.sh
# depends on sharedrawweb for stl export
./fetch_dependencies.sh
./fetch_dependencies.sh use_zstd
ant dist
```

View File

@@ -36,7 +36,7 @@ fetch_zstd-jni()
# HARDCODED START
libversion_zstdjni=1.5.2-2
libversion_jackson_databind=2.12.0
sharedrawweb_git_url="ssh://git@www4.artisanlogiciel.net:2023/home/git/artisanlogiciel/code/sharedrawweb"
sharedrawweb_git_url="https://framagit.org/artlog/sharedrawweb.git"
libversion_artgaphic=0.2.0
# HARDCODED END
lib_artgaphic=artgaphics-${libversion_artgaphic}.jar
@@ -77,13 +77,14 @@ libversion_artgaphic=0.2.0
lib_artgaphic=artgaphics-${libversion_artgaphic}.jar
if [[ ! -e libs/$lib_artgaphic ]]
then
lib_artgaphic_source_file=../sharedrawweb/dist/lib/$lib_artgaphic
lib_artgaphic_source_file=sharedrawweb/dist/lib/$lib_artgaphic
if [[ -f $lib_artgaphic_source_file ]]
then
# ../ since libs is one level below current project
$metarun ln -s ../$lib_artgaphic_source_file libs/
else
log_error "Missing $lib_artgaphic_source_file. It is require to build it sharedrawweb project first"
log_error "Missing $lib_artgaphic_source_file"
log_info "It is required to build sharedrawweb project first"
fi
fi