You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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
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:
The text was updated successfully, but these errors were encountered: