Skip to content

Commit

Permalink
update to sqlite-jdbc-3.46.1.2.jar which removes slf4j-api dependency…
Browse files Browse the repository at this point in the history
  • Loading branch information
zoff99 committed Sep 25, 2024
1 parent 09e6ae4 commit 8bf1ea9
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion do_compile.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /bin/bash

javac \
-cp "sqlite-jdbc-3.45.2.0.jar:slf4j-api-1.7.2.jar" \
-cp "sqlite-jdbc-3.46.1.2.jar" \
com/zoffcc/applications/sorm/OrmaDatabase.java \
com/zoffcc/applications/sorm/Column.java \
com/zoffcc/applications/sorm/Index.java \
Expand Down
8 changes: 4 additions & 4 deletions do_run.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#! /bin/bash

java \
-classpath ".:sqlite-jdbc-3.45.2.0.jar:slf4j-api-1.7.2.jar:sorma2.jar" \
-classpath ".:sqlite-jdbc-3.46.1.2.jar:sorma2.jar" \
com/zoffcc/applications/sorm/Generator "gen"

cd gen/
/usr/lib/jvm/temurin-8-jdk-amd64/bin/javac \
-cp "sqlite-jdbc-3.45.2.0.jar:slf4j-api-1.7.2.jar" \
-cp "sqlite-jdbc-3.46.1.2.jar" \
com/zoffcc/applications/sorm/*.java && \
jar cf sorma_generated.jar com/zoffcc/applications/sorm/*.class && \
cp sorma_generated.jar ../test/ && \
Expand All @@ -15,12 +15,12 @@ cd ../
# use generated custom jar
cd test/
/usr/lib/jvm/temurin-8-jdk-amd64/bin/javac \
-classpath ".:sqlite-jdbc-3.45.2.0.jar:slf4j-api-1.7.2.jar:sorma_generated.jar" \
-classpath ".:sqlite-jdbc-3.46.1.2.jar:sorma_generated.jar" \
org/example/TestSorma.java

rm -f main.db

/usr/lib/jvm/temurin-8-jdk-amd64/bin/java \
-classpath ".:sqlite-jdbc-3.45.2.0.jar:slf4j-api-1.7.2.jar:sorma_generated.jar" \
-classpath ".:sqlite-jdbc-3.46.1.2.jar:sorma_generated.jar" \
org/example/TestSorma

Binary file modified sorma2.jar
Binary file not shown.
Binary file removed test/slf4j-api-1.7.2.jar
Binary file not shown.
Binary file not shown.

0 comments on commit 8bf1ea9

Please sign in to comment.