forked from eclipse-platform/eclipse.platform.swt
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add snippets project to Tycho build eclipse-platform#1390
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
- Loading branch information
1 parent
2374dcf
commit 3e30f00
Showing
3 changed files
with
51 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Copyright (c) 2012, 2018 Eclipse Foundation and others. | ||
All rights reserved. This program and the accompanying materials | ||
are made available under the terms of the Eclipse Distribution License v1.0 | ||
which accompanies this distribution, and is available at | ||
http://www.eclipse.org/org/documents/edl-v10.php | ||
Contributors: | ||
Igor Fedorenko - initial implementation | ||
--> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<parent> | ||
<artifactId>eclipse.platform.swt.localbuild</artifactId> | ||
<groupId>eclipse.platform.swt</groupId> | ||
<version>4.33.0-SNAPSHOT</version> | ||
<relativePath>../../local-build/local-build-parent</relativePath> | ||
</parent> | ||
<groupId>org.eclipse.swt</groupId> | ||
<artifactId>org.eclipse.swt.snippets</artifactId> | ||
<version>3.4.100-SNAPSHOT</version> | ||
<packaging>eclipse-plugin</packaging> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>com.coderplus.maven.plugins</groupId> | ||
<artifactId>copy-rename-maven-plugin</artifactId> | ||
<version>1.0</version> | ||
<executions> | ||
<execution> | ||
<id>copy-classpath-for-os</id> | ||
<phase>generate-sources</phase> | ||
<goals> | ||
<goal>copy</goal> | ||
</goals> | ||
<configuration> | ||
<sourceFile>.classpath_${tycho.env.osgi.ws}</sourceFile> | ||
<destinationFile>.classpath</destinationFile> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters