Skip to content

chirontt/squirrel-sql-code

 
 

Repository files navigation

SQuirreL SQL Client

SQuirreL SQL Client is a graphical Java program that will allow you to view the structure of a JDBC-compliant database, browse the data in tables, issue SQL commands, etc.

Original Ant build instructions are described in the upstream repository.


This fork is to add Gradle build scripts to the projects, to take advantage of the incremental build feature of Gradle to produce fast builds during development cycles.

Gradle build instructions

There are two projects in the repository, in their own sub-directories:

  • sql12 is the project of the current SquirrelSQL application. It is based on the Swing framework for the user interface, and has been in use for a long time.
  • sqfx is the next-gen SquirrelSQLFX application which is based on JavaFX for the user interface. This project currently doesn't have as much functionalities as the other one.

The above two projects are independent. The Gradle build scripts for each project (in their sub-directories) are therefore isolated and are independent builds.

In the main (parent) directory, there's the composite build script which composes the two projects as included builds. In this main directory, execute the buildAll task to build the two included projects:

gradlew buildAll

The above composite buildAll task is equivalent to running the same task for each independent project:

gradlew :sql12:buildAll
gradlew :sqfx:buildAll

Plain zip files are then produced in each project's build directory:

sql12/build/plainZip/
sqfx/build/plainZip/

For the sql12 project, IzPack installer jars are also produced in its build directory:

sql12/build/izPackInstallJars/

Installation info for the above build artifacts are described here.

Each project's application can be independently executed/run by its runApp task using Gradle:

gradlew :sql12:runApp

or:

gradlew :sqfx:runApp

Ant build instructions

Ant build instructions for the sql12 project are in the upstream's README.md.

Ant build info for the sqfx project is described briefly here.

About

Fork of SQuirreL SQL Client (see https://squirrelsql.org), with Gradle build scripts added.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 92.3%
  • HTML 6.2%
  • Lex 0.9%
  • Shell 0.1%
  • Perl 0.1%
  • CSS 0.1%
  • Other 0.3%