Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add snippets project to automated build #1390

Open
HeikoKlare opened this issue Aug 7, 2024 · 0 comments
Open

Add snippets project to automated build #1390

HeikoKlare opened this issue Aug 7, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@HeikoKlare
Copy link
Contributor

The snippets project org.eclipse.swt.snippets is currently not part of the Tycho build. The reasons for this are the necessity to set up the projects with a proper OS-specific classpath configuration depending on the build environment and to consider OS-specific classpath exclusions.

In #1347 (comment), several issues for JDT and Tycho related to the problem have been shared. This includes features that avoid copying around OS-specific .classpath files.

As a simpler and faster-to-achieve solution, I propose to start with using a Maven plugin to copy the classpath file according to the current build environment. What will still be required to make this work is support for classpath exclusions in Tycho, as otherwise OS-specific snippets are tried to be compiled:

@HeikoKlare HeikoKlare added the enhancement New feature or request label Aug 7, 2024
HeikoKlare added a commit to HeikoKlare/eclipse.platform.swt that referenced this issue Aug 7, 2024
The snippets project org.eclipse.swt.snippets is currently not part of
the Tycho build. This change adds it to the build using a Maven plugin
to copy the OS-specific classpath file according to the current
environment.

Contributes to
eclipse-platform#1390
HeikoKlare added a commit to HeikoKlare/eclipse.platform.swt that referenced this issue Aug 7, 2024
The snippets project org.eclipse.swt.snippets is currently not part of
the Tycho build. This change adds it to the build using a Maven plugin
to copy the OS-specific classpath file according to the current
environment.

Contributes to
eclipse-platform#1390
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant