πŸ“

Multi-Project Development

Build GeoTools and GeoWebCache from source alongside GeoServer.

If you need to modify GeoTools or GeoWebCache (GeoServer’s dependencies), DevDocker supports multi-project development.

1. Clone additional repositories (inside container):

# cd /workspace
# git clone https://github.com/YOUR_USERNAME/geotools.git
# git clone https://github.com/YOUR_USERNAME/geowebcache.git

2. Configure custom builds (on host):

Edit .env file:

CUSTOM_GEOTOOLS=true
CUSTOM_GEOWEBCACHE=true

3. Restart container (on host):

$ docker compose restart

4. Build all projects (inside container):

# build-geotrio.sh

This builds GeoTools β†’ GeoWebCache β†’ GeoServer in the correct order, using your local changes.

Note: Multi-project builds take significantly longer (30+ minutes first time). Only enable this if you’re specifically working on GeoTools or GeoWebCache integration.

Tip for IDE users: if you’re opening GeoTools or GeoWebCache in VS Code alongside GeoServer, apply the same “don’t open the whole reactor” rule from Connecting Your IDE β€” open /workspace/geotools/modules/library and /workspace/geowebcache/geowebcache/web rather than the full project roots.

πŸŽ‰

You've completed the guides!

πŸ—ΊοΈ

Back to Mentorship Overview

Return