-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbld
More file actions
executable file
·10 lines (10 loc) · 949 Bytes
/
bld
File metadata and controls
executable file
·10 lines (10 loc) · 949 Bytes
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env bash
# Tasks.java uses org.kissweb.json (real JSON parser, stdlib-only deps) for
# the project-management commands. Include its sources in the bootstrap
# compile so they end up on the runtime classpath alongside Tasks.class.
if [ src/main/precompiled/Tasks.java -nt work/exploded/WEB-INF/classes/Tasks.class ] || [ src/main/core/org/kissweb/BuildUtils.java -nt work/exploded/WEB-INF/classes/org/kissweb/BuildUtils.class ]; then
echo building the builder
mkdir -p work/exploded/WEB-INF/classes
javac -cp "libs/commons-compress-1.27.1.jar:libs/commons-io-2.16.1.jar:libs/commons-lang3-3.18.0.jar" src/main/precompiled/Tasks.java src/main/core/org/kissweb/BuildUtils.java src/main/core/org/kissweb/json/*.java -d work/exploded/WEB-INF/classes
fi
java -cp "work/exploded/WEB-INF/classes:libs/commons-compress-1.27.1.jar:libs/commons-io-2.16.1.jar:libs/commons-lang3-3.18.0.jar" -Dsun.security.pkcs11.enable-solaris=false Tasks "$@"