Fast Linux Development Setup (Alternative)
There is an alternative for quickly creating an iDempiere development environment on Linux, maintained by Heng Sin:
This page summarizes the repository README and is a good starting point. For the most up-to-date instructions, always check the project README directly.
What this setup does
The scripts automate most of the development setup flow:
- Clone iDempiere source and run Maven build
- Download and configure Eclipse IDE
- Create workspace and import all projects
- Set target platform and build workspace
- Configure
idempiere.propertiesandjettyhome - Import DB seed if database does not exist
- Apply migration scripts if database already exists
At the end, you should have a ready-to-run Eclipse workspace.
Prerequisites
- Maven
>= 3.8.6 - Git
- Docker (optional, for PostgreSQL container)
- JDK 17 (optional, because Eclipse may include a bundled JRE 17)
Check your Maven version:
mvn -version
If needed, configure a specific Maven installation:
export MVN_HOME=/your/mvn/version
export PATH=$MVN_HOME/bin:$PATH
If building older iDempiere releases does not work properly, the README suggests using the appropriate tagged version of idempiere-dev-setup.
Quick usage
- Clone or download the setup repository.
- If you use Docker for PostgreSQL, ensure your user can run Docker without sudo.
- Enable shell completion and review options.
source completion.bash
./setup.sh --help
If using zsh, run:
autoload bashcompinit
bashcompinit
Example commands
./setup.sh --branch release-10 --repository-url git@github.com:idempiere/idempiere.git --docker-postgres-create
./setup.sh --branch release-10 --docker-postgres-create --db-admin-pass <your-password>
./setup.sh --skip-setup-db
The README examples use release-10. You can adapt --branch to the version you need (for example master or release-12).
Main scripts
setup.sh: Main entry pointdocker-postgres.sh: Install and run PostgreSQL Docker imageeclipse.sh: Start Eclipse IDEsetup-db.sh: Configure DB properties,jettyhome, import DB seed or apply migrationssetup-ws.sh: Setup workspace and target platform
Optional frontends
setup.py: GTK frontend that generates and executessetup.shcommand linesetup.html: Simple HTML/JavaScript frontend to generatesetup.shcommand line
Gemini CLI
Video walkthrough for a complete setup in Eclipse:
- Gemini CLI: Complete setup of iDempiere workspace for Eclipse
- Gemini CLI: Install and using idempiere-dev-setup skill
User scope
gemini skills install https://github.com/hengsin/idempiere-dev-setup.git
Workspace scope
gemini skills install https://github.com/hengsin/idempiere-dev-setup.git --scope workspace
Windows notes from README
Although this project focuses on Linux, the README also mentions Windows options:
- WSL
- Git Bash (with required tools like
wgetand Maven) - MSYS2
See the repository README for full Windows-specific steps and PATH details.
This page is based on the README from hengsin/idempiere-dev-setup, maintained by Heng Sin and contributors.