TBuild is a powerful, user-friendly build tool designed for managing project dependencies and packaging applications. It simplifies the build process with a full graphical interface, so you never have to manually edit XML files. For automation, TBuild also offers a comprehensive CLI mode. No complexity, just simplicity.
- ✅ Dependency Management - Easy management of project dependencies through the GUI
- ✅ Project Packaging - Package your applications efficiently
- ✅ Graphical Interface - Complete GUI support - no manual XML editing needed
- ✅ CLI Mode - Full command-line interface for automation and scripting
- ✅ Project Initialization - Quickly set up new projects with standard structures
- ✅ Lightweight - Fast performance and low resource consumption
- ✅ Platform Independent - Runs on Windows, Linux and macOS (all Java-supporting systems)
- ✅ GUI with Java Swing - Native and responsive user interface
- ✅ No Telemetry - Your data stays yours, no tracking
- ✅ Integration - Seamless integration with TIDE IDE
- Java 21 or higher (with jpackage support for installers)
- At least 512 MB RAM
- 50 MB free disk space
-
Make sure Java is installed on your system:
java -version
-
Download the latest TBuild.jar from the releases page or use the pre-compiled JAR in this repository
-
Run the JAR file:
java -jar TBuild.jar
-
The TBuild tool will open and be ready to use.
TBuild's graphical interface makes project management intuitive:
- Initialize Project: Click "Init" in the GUI
- Configure Dependencies: Add and manage dependencies through the interface
- Set Build Options: Configure output, main class, and other settings
- Build Project: Use the Build button to compile and package
- View Results: See build output and any errors in the console
For automation and CI/CD pipelines, use TBuild's CLI:
# Initialize a new standard project
java -jar TBuild.jar init
# Initialize a new JavaFX project
java -jar TBuild.jar init-javafx
# Build a project
java -jar TBuild.jar build
# Run tests
java -jar TBuild.jar test
# Export as small JAR (without dependencies)
java -jar TBuild.jar export-small
# Export as fat JAR (with dependencies)
java -jar TBuild.jar export
# Build and export as fat JAR (useful for CI/CD)
java -jar TBuild.jar build-export-fat
# Create native installer (Windows MSI, Linux DEB, macOS DMG)
java -jar TBuild.jar jpackage
# Set main class
java -jar TBuild.jar set-main com.example.MyMainClass
# Set version
java -jar TBuild.jar set-version 2.0.0The following projects are getting packaged with TBuild.
- TIDE (https://github.com/Thillager/TIDE)
- TBuild (https://github.com/Thillager/TBuild)
- leer
- leer
Project/
├── src/
│ ├── main/
│ │ └── java/ # Java source files
│ └── test/
│ └── java/ # JUnit test files
├── libs/ # External libraries and dependencies
├── out/ # Compiled output and build artifacts
├── T.xml # Project configuration (auto-managed)
TBuild manages the T.xml file automatically through its GUI. No manual editing required!
The T.xml contains your project configuration:
<?xml version="1.0" encoding="UTF-8"?>
<project>
<mainClass>Main</mainClass> <!-- Main class to run -->
<appName>MyApp</appName> <!-- Application name -->
<version>1.0.0</version> <!-- Version string -->
<winUpgradeUuid>...</winUpgradeUuid> <!-- Windows installer UUID -->
</project>Simply use TBuild's graphical interface to:
- Set project name and version
- Manage dependencies (search Maven Central)
- Configure build options
- Choose output formats
All changes are automatically saved to T.xml.
java -jar TBuild.jarClick "Init" in the GUI to initialize a new project.
Use the Maven library search to find and add dependencies your project needs.
Add your Java source files to the src/main/java/ directory.
- Click the Nur Build button to compile your project
- Click the Fat JAR button to create a distribution package
- Updates come whenever I have time, ideas, or bugs to
Solution: Install Java Runtime Environment (JRE) 21 or higher from java.com
Solution:
# Check Java version
java -version
# Make sure you have Java 21 or higher
# Run with explicit path
java -jar /path/to/TBuild.jarSolution:
- Use the Maven search panel on the right side to verify and add dependencies
- Check the build log in the console for detailed error messages
- Verify your internet connection for downloading dependencies
Solution:
# List available CLI commands by running init without a project
java -jar TBuild.jar invalid-command- Java Documentation: https://docs.oracle.com/en/java/
- GitHub Repository: https://github.com/Thillager/TBuild
- TIDE IDE: https://github.com/Thillager/TIDE
This project is licensed under the MIT License. See LICENSE for details. This project uses dependencies. The necessary licenses are in THIRD_PARTY_LICENSES.md
TBuild uses the power of proven open-source libraries for reliable dependency management and build capabilities.
Contributions are welcome! To contribute:
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
If you have questions or issues:
- Open a GitHub Issue
- Check existing issues for frequently asked questions
Maintainer: @Thillager
Good luck building with TBuild!