apply-eclipse-prefs.py applies Eclipse IDE preference files to all Juneau project modules, ensuring consistent code formatting and IDE configuration across all developers.
The script copies Eclipse JDT (Java Development Tools) preferences from the eclipse-preferences directory to each module's .settings folder. There are two sets of preferences:
source-prefs - Applied to main source modules (28 modules)
test-prefs - Applied to test modules (2 modules)
juneau-integration-tests and *-ftest modulescd /path/to/juneau python3 scripts/apply-eclipse-prefs.py
python3 scripts/apply-eclipse-prefs.py --prefs-dir /path/to/preferences
--prefs-dir DIR - Use a different preferences directory (default: scripts/eclipse-preferences)Use this script when:
.settings directory