Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ jailer.json
downloads/
nbproject/build-impl.xml
condition/
nbproject/
nbproject/
/target/
19 changes: 19 additions & 0 deletions .mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
wrapperVersion=3.3.2
distributionType=only-script
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip
2 changes: 1 addition & 1 deletion driverlist.csv
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PostgreSQL;jdbc:postgresql://<HOST(localhost)>[:<PORT(5432)>]/[<DATABASE>];org.postgresql.Driver;lib/postgresql-42.7.4.jar;;jdbc:postgresql:(//[^/]*/[^\\?]+).* jdbc:postgresql://.*/([^\\?]+).* jdbc:postgresql://([^/:]+).* jdbc:postgresql:([^/:]+).*;postgresql.png
Oracle Thin;jdbc:oracle:thin:@<HOST(localhost)>:<PORT(1521)>:<SID>;oracle.jdbc.driver.OracleDriver;;https://repo1.maven.org/maven2/com/oracle/database/jdbc/ojdbc8/23.6.0.24.10/ojdbc8-23.6.0.24.10.jar https://repo1.maven.org/maven2/com/oracle/database/xml/xdb/23.6.0.24.10/xdb-23.6.0.24.10.jar https://repo1.maven.org/maven2/com/oracle/database/xml/xmlparserv2/23.6.0.24.10/xmlparserv2-23.6.0.24.10.jar https://repo1.maven.org/maven2/com/oracle/database/nls/orai18n/23.6.0.24.10/orai18n-23.6.0.24.10.jar;jdbc:oracle:thin:@([^\\?/\;]+/[^\\?/\;]+).* jdbc:oracle:thin:@([^\\?/\;]+).*;oracle.png
Oracle OCI;jdbc:oracle:oci:@<TNS_NAME>;oracle.jdbc.driver.OracleDriver;;https://repo1.maven.org/maven2/com/oracle/database/jdbc/ojdbc8/23.6.0.24.10/ojdbc8-23.6.0.24.10.jar https://repo1.maven.org/maven2/com/oracle/database/xml/xdb/23.6.0.24.10/xdb-23.6.0.24.10.jar https://repo1.maven.org/maven2/com/oracle/database/xml/xmlparserv2/23.6.0.24.10/xmlparserv2-23.6.0.24.10.jar https://repo1.maven.org/maven2/com/oracle/database/nls/orai18n/23.6.0.24.10/orai18n-23.6.0.24.10.jar;jdbc:oracle:oci:@([^\\?/\;]+).*;oracle.png
MySQL;jdbc:mysql://<HOST(localhost)>:<PORT(3306)>[/<DATABASE>];com.mysql.jdbc.Driver;lib/mysql-connector-java-8.0.21.jar;;jdbc:mysql:(//[^/]*/[^\\?]+).* jdbc:mysql://([^/:]+).* jdbc:mysql:([^/:]+).*;mysql.png
MySQL;jdbc:mysql://<HOST(localhost)>:<PORT(3306)>[/<DATABASE>];com.mysql.cj.jdbc.Driver;lib/mysql-connector-j-9.2.0.jar;;jdbc:mysql:(//[^/]*/[^\\?]+).* jdbc:mysql://([^/:]+).* jdbc:mysql:([^/:]+).*;mysql.png
MySQL 5 (or below);jdbc:mysql://<HOST(localhost)>:<PORT(3306)>[/<DATABASE>];org.gjt.mm.mysql.Driver;lib/mysql-connector-java-5.1.5-bin.jar;;jdbc:mysql:(//[^/]*/[^\\?]+).* jdbc:mysql://([^/:]+).* jdbc:mysql:([^/:]+).*;mysql.png
MariaDB;jdbc:mariadb://<HOST(localhost)>:<PORT(3306)>[/<DATABASE>];org.mariadb.jdbc.Driver;lib/mariadb-java-client-2.7.3.jar;;jdbc:mariadb://.*/([^\\?]+).* jdbc:mariadb://([^/:]+).* jdbc:mariadb:([^/:]+).*;mariadb.png
Microsoft SQL Server;jdbc:sqlserver://<HOST(localhost)>[\\<INSTANCE>][:<PORT>];com.microsoft.sqlserver.jdbc.SQLServerDriver;lib/mssql-jdbc-12.2.0.jre8.jar;;jdbc:sqlserver://(.*\\\\[^:\;]+).* jdbc:sqlserver://([^\\?/\;]+).* jdbc:sqlserver://.*\\binstanceName\\s*=\\s*([^:\;]+).* jdbc:sqlserver://.*\\bdatabaseName\\s*=\\s*([^:\;]+).* jdbc:sqlserver://.*\\bservername\\s*=\\s*([^:\;]+).* jdbc:sqlserver://([^/\\\\:\;]+).*;mssql.png
Expand Down
39 changes: 10 additions & 29 deletions jailerGUI.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -3,38 +3,19 @@
instdir=`dirname $0`
cd $instdir

LIB=lib

# JDBC-driver
# CP=$CP:<driver-jar>
LIB=target/lib
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maven dependency plugin will copy jar files in this folder


# configuration files in the config directory
CP=$CP:config
CLASSPATH="${CLASSPATH}:config"

# the libraries
CP=$CP:$LIB/junit.jar
CP=$CP:$LIB/log4j-api-2.17.2.jar
CP=$CP:$LIB/log4j-core-2.17.2.jar
CP=$CP:$LIB/log4j-slf4j-impl-2.17.2.jar
CP=$CP:$LIB/slf4j-api-1.7.25.jar
CP=$CP:$LIB/flatlaf-3.3.jar
CP=$CP:$LIB/args4j.jar
CP=$CP:$LIB/prefuse.jar
CP=$CP:$LIB/sdoc-0.5.0-beta.jar
CP=$CP:$LIB/liquibase-core-4.27.0.jar
CP=$CP:$LIB/commons-collections4-4.4.jar
CP=$CP:$LIB/commons-lang3-3.14.0.jar
CP=$CP:$LIB/commons-text-1.11.0.jar
CP=$CP:$LIB/opencsv-5.9.jar
CP=$CP:$LIB/snakeyaml-2.2.jar
CP=$CP:$LIB/jackson-core-2.16.1.jar
CP=$CP:$LIB/jackson-annotations-2.16.1.jar
CP=$CP:$LIB/jackson-databind-2.16.1.jar
CP=$CP:$LIB/jsqlparser-3.2.jar
CP=$CP:$LIB/tablefilter-swing-5.3.1.jar
CP=$CP:jailer.jar
# Add all .jar files from the lib directory to the CLASSPATH
for jar in $LIB/*.jar; do
CLASSPATH="${CLASSPATH}:$jar"
done

# echo $CP
# the libraries
CLASSPATH="${CLASSPATH}:target/jailer-gui-1.0.0-SNAPSHOT.jar"

java -Xmx1200M -Djava.util.Arrays.useLegacyMergeSort=true -cp $CP net.sf.jailer.ui.JailerUI "$@"
# echo "${CLASSPATH}"

java -Xmx1200M -Djava.util.Arrays.useLegacyMergeSort=true -cp "${CLASSPATH}" net.sf.jailer.ui.JailerUI "$@"
Binary file removed lib/args4j.jar
Binary file not shown.
Binary file removed lib/commons-collections4-4.4.jar
Binary file not shown.
Binary file removed lib/commons-lang3-3.14.0.jar
Binary file not shown.
Binary file removed lib/commons-text-1.11.0.jar
Binary file not shown.
Binary file removed lib/flatlaf-3.3.jar
Binary file not shown.
Binary file removed lib/jackson-annotations-2.16.1.jar
Binary file not shown.
Binary file removed lib/jackson-core-2.16.1.jar
Binary file not shown.
Binary file removed lib/jackson-databind-2.16.1.jar
Binary file not shown.
Binary file removed lib/jsqlparser-3.2.jar
Binary file not shown.
Binary file removed lib/liquibase-core-4.27.0-sources.jar
Binary file not shown.
Binary file removed lib/liquibase-core-4.27.0.jar
Binary file not shown.
Binary file removed lib/log4j-api-2.17.2.jar
Binary file not shown.
Binary file removed lib/log4j-core-2.17.2.jar
Binary file not shown.
Binary file removed lib/log4j-slf4j-impl-2.17.2.jar
Binary file not shown.
Binary file removed lib/mysql-connector-java-8.0.21.jar
Binary file not shown.
Binary file removed lib/opencsv-5.9.jar
Binary file not shown.
Binary file removed lib/slf4j-api-1.7.25.jar
Binary file not shown.
Binary file removed lib/snakeyaml-2.2.jar
Binary file not shown.
Binary file removed lib/tablefilter-swing-5.3.1.jar
Binary file not shown.
259 changes: 259 additions & 0 deletions mvnw

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading