https://github.com/neoforged/eclipselaunchconfigs
A Java library for generating Eclipse launch configurations
https://github.com/neoforged/eclipselaunchconfigs
eclipse java-library
Last synced: 4 months ago
JSON representation
A Java library for generating Eclipse launch configurations
- Host: GitHub
- URL: https://github.com/neoforged/eclipselaunchconfigs
- Owner: neoforged
- License: lgpl-2.1
- Created: 2023-09-24T08:45:40.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-23T08:42:43.000Z (over 1 year ago)
- Last Synced: 2025-10-13T18:25:52.092Z (9 months ago)
- Topics: eclipse, java-library
- Language: Java
- Homepage:
- Size: 210 KB
- Stars: 1
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# EclipseLaunchConfigs
A Java library for generating Eclipse Launch Configurations (.launch files).
## Launch Configs
For information on how Eclipse Launch Configs function, see the [docs](./docs/01_Intro.md).
## Using This Library
To create new launch configurations, find the appropriate class in [net.neoforged.elc.configs](./src/main/java/net/neoforged/elc/configs) and create a builder using the static `builder` method.
Each builder has options unique to that particular configuration. Fill out the information you need, then call `Builder#build()` to finalize the instance and create a [`LaunchConfig`](./src/main/java/net/neoforged/elc/configs/LaunchConfig.java) object.
You may then inspect the finalized config and write it to a file using `LaunchConfig#write(Writer)`.
If you need to create `EAttribute` objects to supply to the builder, see [here](./src/main/java/net/neoforged/elc/attributes/EAttribute.java). For helpers to work with Eclipse Variables, see [here](./src/main/java/net/neoforged/elc/EclipseVariables.java).
## Examples
For a few example usages, see the [unit tests](./src/test/java/net/neoforged/elc/tests).