jackson databind import
- and some reowrk to use Position more than (x,y) parameters
This commit is contained in:
@@ -1,5 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
fetch_jackson_databind()
|
||||
{
|
||||
libversion_jackson_databind=2.12.0
|
||||
lib_jackson_databind=jackson-databind-${libversion_jackson_databind}.jar
|
||||
if [[ ! -e libs/$lib_jackson_databind ]]
|
||||
then
|
||||
jacksonmaven=https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-databind/${libversion_jackson_databind}/$lib_jackson_databind
|
||||
pushd libs
|
||||
wget $jacksonmaven
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
if [[ ! -d ../sharedrawweb ]]
|
||||
then
|
||||
echo "[ERROR] expected a sharedrawweb project parent ( for exports )" >&2
|
||||
@@ -10,7 +24,14 @@ then
|
||||
mkdir libs
|
||||
fi
|
||||
|
||||
if [[ ! -e libs/artgaphics-0.1.0.jar ]]
|
||||
libversion_artgaphic=0.2.0
|
||||
lib_artgaphic=artgaphics-${libversion_artgaphic}.jar
|
||||
if [[ ! -e libs/$lib_artgaphic ]]
|
||||
then
|
||||
ln -s ../../sharedrawweb/dist/lib/artgaphics-0.1.0.jar libs/
|
||||
fi
|
||||
ln -s ../../sharedrawweb/dist/lib/$lib_artgaphic libs/
|
||||
fi
|
||||
|
||||
if [[ -n $use_jackson ]]
|
||||
then
|
||||
fetch_jackson_databind
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user