forked from hugegraph/hugegraph-sync
support jdk11 remove config java.ext.dirs (#2070)
This commit is contained in:
parent
2b2a980f91
commit
d28f8f2d5c
|
|
@ -436,6 +436,9 @@ public abstract class HugeElement implements Element, GraphType, Idfiable {
|
|||
continue;
|
||||
}
|
||||
if (val == null) {
|
||||
if (key.equals(T.label)) {
|
||||
throw Element.Exceptions.labelCanNotBeNull();
|
||||
}
|
||||
throw Property.Exceptions.propertyDoesNotExist();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -45,5 +45,7 @@ cd $TOP
|
|||
|
||||
echo "Dumping HugeGraph Config($conf)..."
|
||||
|
||||
exec $JAVA -cp $LIB/hugegraph-dist-*.jar -Djava.ext.dirs=$LIB/ \
|
||||
dump_conf_ext_jar_path=$LIB/hugegraph-dist-*.jar
|
||||
for i in $LIB/*.jar; do dump_conf_ext_jar_path=$dump_conf_ext_jar_path:$i; export dump_conf_ext_jar_path; done
|
||||
exec $JAVA -cp dump_conf_ext_jar_path \
|
||||
org.apache.hugegraph.cmd.ConfDumper $conf
|
||||
|
|
|
|||
|
|
@ -45,5 +45,7 @@ cd $TOP
|
|||
|
||||
echo "Dumping HugeGraph Store($conf)..."
|
||||
|
||||
exec $JAVA -cp $LIB/hugegraph-dist-*.jar -Djava.ext.dirs=$LIB/ \
|
||||
dump_store_ext_jar_path=$LIB/hugegraph-dist-*.jar
|
||||
for i in $LIB/*.jar; do dump_store_ext_jar_path=$dump_store_ext_jar_path:$i; export dump_store_ext_jar_path; done
|
||||
exec $JAVA -cp dump_store_ext_jar_path \
|
||||
org.apache.hugegraph.cmd.StoreDumper $conf $2 $3 $4
|
||||
|
|
|
|||
Loading…
Reference in New Issue