don't depend on sharedrawweb
use directly sharedrawweb java code here Signed-off-by: philippe lhardy <philippe.lhardy@astrolabe.coop>
This commit is contained in:
@@ -52,7 +52,10 @@ do
|
||||
use_jackson=$1
|
||||
;;
|
||||
use_zstd)
|
||||
use_zstd=1
|
||||
use_zstd=$1
|
||||
;;
|
||||
use_artgraphic)
|
||||
use_artgraphic=$1
|
||||
;;
|
||||
*)
|
||||
parsemetaarg "$1"
|
||||
@@ -73,18 +76,19 @@ then
|
||||
$metarun mkdir libs
|
||||
fi
|
||||
|
||||
libversion_artgaphic=0.2.0
|
||||
lib_artgaphic=artgaphics-${libversion_artgaphic}.jar
|
||||
if [[ ! -e libs/$lib_artgaphic ]]
|
||||
if [[ -n $user_artgraphic ]]
|
||||
then
|
||||
lib_artgaphic_source_file=sharedrawweb/dist/lib/$lib_artgaphic
|
||||
if [[ -f $lib_artgaphic_source_file ]]
|
||||
if [[ ! -e libs/$lib_artgaphic ]]
|
||||
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"
|
||||
log_info "It is required to build sharedrawweb project first"
|
||||
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"
|
||||
log_info "It is required to build sharedrawweb project first"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user