Skip to content

Add snippets project to automated build #1390

@HeikoKlare

Description

@HeikoKlare

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions