chrisrueger opened a new pull request, #84: URL: https://github.com/apache/freemarker/pull/84
## What This PR is to make it possible to import freemarker in a bndtools Eclipse project (OSGI). See https://bndtools.org/concepts.html This allows for easier debugging and development when you are working in OSGI project based on bndtools and you need a Freemarker source build right in your IDE for debugging purposes with your other code. ## Why Although in the past there has been some OSGi related additions for Eclipse, those changes were for Eclipse PDE-Build and do not work if you are using bndtools. The main issue is that bndtools requires a file called `bnd.bnd` There is already an `osgi.bnd` The problem with `osgi.bnd` is that it a) has the wrong name and b) contains variables likle `${versionForOsgi}` which need to be replaced with valid values which are already available during the build. ## Details This PR adds a small addition to the `ide-dependencies` build target to create such a valid `bnd.bnd` file from the existing `osgi.bnd` Advantage is that we leave everything untouched and just create a new file which is also `.gitignored` and only be read by Eclipse IDE with bndtools plugin installed. * This creates a `bnd.bnd` file in build for `ide-dependencies` by simply copying the existing `osgi.bnd` * replaces placeholder variables in the resulting `bnd.bnd` * this exact filename is required by bndtools in the bnd workspace model * See https://bndtools.org/concepts.html#workspacerepositoriesproject-model for more information -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
