A lightweight package manager and build tool for Java projects, similar to Maven or Gradle.
- Dependency Management: Download JAR dependencies from Maven repositories
- Compilation: Compile Java source files with proper classpath handling
- Packaging: Create JAR files with dependencies and manifest
- Cross-platform: Support for Windows and Linux
- Simple Configuration: XML-based project configuration
- Clone the repository
- Build the project:
go build - Set up environment variables (see Configuration section)
For Windows (create a batch file):
set JAGUAR-JAVA=C:\Program Files\Java\jdk-21\bin\java.exe
set JAGUAR-JAVAC=C:\Program Files\Java\jdk-21\bin\javac.exe
set JAGUAR-JAR=C:\Program Files\Java\jdk-21\bin\jar.exeFor Linux/macOS:
export JAGUAR-JAVA=/usr/bin/java
export JAGUAR-JAVAC=/usr/bin/javac
export JAGUAR-JAR=/usr/bin/jaryour-project/
├── src/main/java/ # Java source files
├── pom.xml # Dependencies (optional)
├── jaguar/project.xml # Project configuration (auto-generated)
└── target/ # Build output
├── classes/ # Compiled classes
├── dependency/ # Downloaded JARs
└── build/ # Final JAR files
jaguar clean(alias:cln) - Clean target directoryjaguar compile- Compile Java source filesjaguar package(alias:p) - Package compiled classes into JARjaguar download(alias:d) - Download dependencies from POMjaguar compile-package(alias:comp-p) - Compile and packagejaguar clean-package(alias:cln-p) - Clean, download, compile, and packagejaguar help- Show help information
- Initialize project: Run
jaguar helpto create initial configuration - Add dependencies: Create a
pom.xmlfile (seeexample-pom.xml) - Download dependencies:
jaguar download - Compile sources:
jaguar compile - Package JAR:
jaguar package
Or use the combined command:
jaguar clean-packageThe jaguar/project.xml file is automatically created with default values:
<project>
<groupId>ru.jf17.ide</groupId>
<artifactId>Main</artifactId>
<fileName>MyIDE</fileName>
<version>1.0-SNAPSHOT</version>
</project>Dependencies are defined in a standard Maven pom.xml file. Only compile scope dependencies are downloaded.
This project is in active development. Current version supports basic Java project building and dependency management.
A test project is available at: https://github.com/jf17/jide