-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move SWT native binaries in this repository stored in Git LFS
Configure this Git-repository to store the SWT native binaries, i.e. all *.dll, *.so and *jnilib files, using Git's Large File Storage (LFS) and move the platform-specific SWT fragments from the eclipse.platform.swt.binaries repository into the binaries folder in this repository. The platform specific projects are (minimally adjusted) copies of the corresponding projects from https://github.com/eclipse-platform/eclipse.platform.swt.binaries/tree/9cdcee51a79a3f72e10e074b87326f80d3d6ada2 Only leave out the 'forceQualifier.txt' since the main bundle only drives the qualifier. Fixes eclipse-platform/eclipse.platform.swt.binaries#2
- Loading branch information
1 parent
dcff20f
commit de9d63c
Showing
121 changed files
with
12,512 additions
and
203 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
*.bat text eol=crlf | ||
*.dll filter=lfs diff=lfs merge=lfs -text | ||
*.so filter=lfs diff=lfs merge=lfs -text | ||
*.jnilib filter=lfs diff=lfs merge=lfs -text |
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 |
---|---|---|
@@ -1,5 +1,9 @@ | ||
bin/ | ||
*.log | ||
target/ | ||
/.project | ||
.polyglot.* | ||
pom.tycho | ||
|
||
/binaries/org.eclipse.swt.*/src/ | ||
tmpdir/ |
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,2 @@ | ||
#[lfs] | ||
# url = https://lfs.github.com/eclipse-platform/eclipse.platform.swt |
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
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,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project name="org.eclipse.swt.${ws}.${os}.${arch}" default="build.jars" basedir="."> | ||
|
||
<property name="swt.ws" value="${ws}" /> | ||
<property name="swt.os" value="${os}" /> | ||
<property name="swt.arch" value="${arch}" /> | ||
|
||
<!-- These properties are used by eclipse when exporting as Deployable plugin and fragments --> | ||
<property name="version.suffix" value="3.123.100" /> | ||
|
||
<property name="plugindir" value="../../bundles/org.eclipse.swt"/> | ||
<import file="${plugindir}/buildFragment.xml"/> | ||
<import file="${plugindir}/buildSWT.xml"/> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,164 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<!-- | ||
############################################################################### | ||
# Copyright (c) 2012, 2018 Red Hat, Inc and others. | ||
# All rights reserved. This program and the accompanying materials | ||
# are made available under the terms of the Eclipse Public License v1.0 | ||
# which accompanies this distribution, and is available at | ||
# http://www.eclipse.org/legal/epl-v10.html | ||
# | ||
# Contributors: | ||
# Krzysztof Daniel, Red Hat, Inc. - initial API and 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.binaries</artifactId> | ||
<groupId>eclipse.platform.swt.binaries</groupId> | ||
<version>4.31.0-SNAPSHOT</version> | ||
</parent> | ||
|
||
<artifactId>binaries-parent</artifactId> | ||
<packaging>pom</packaging> | ||
|
||
<properties> | ||
<!-- | ||
forceContextQualifier gets updated during build input process using | ||
ant script <SWT source repo>/bundles/org.eclipse.swt/buildInternal.xml | ||
--> | ||
<forceContextQualifier>v20240102-1528</forceContextQualifier> | ||
<buildid>${buildId}</buildid> | ||
</properties> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<artifactId>maven-clean-plugin</artifactId> | ||
<configuration> | ||
<filesets> | ||
<fileset> | ||
<directory>src</directory> | ||
<includes> | ||
<include>**/*</include> | ||
</includes> | ||
<followSymlinks>false</followSymlinks> | ||
</fileset> | ||
</filesets> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.eclipse.tycho</groupId> | ||
<artifactId>tycho-compiler-plugin</artifactId> | ||
<configuration> | ||
<release>17</release> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.eclipse.tycho</groupId> | ||
<artifactId>tycho-packaging-plugin</artifactId> | ||
<configuration> | ||
<forceContextQualifier>${forceContextQualifier}</forceContextQualifier> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.eclipse.tycho</groupId> | ||
<artifactId>target-platform-configuration</artifactId> | ||
<configuration> | ||
<executionEnvironment>JavaSE-17</executionEnvironment> | ||
<dependency-resolution> | ||
<profileProperties> | ||
<!-- set property so that the filter condition on the p2 dependencies from org.eclipse.swt to the fragments does not match --> | ||
<org.eclipse.swt.buildtime>true</org.eclipse.swt.buildtime> | ||
</profileProperties> | ||
</dependency-resolution> | ||
<environments> | ||
<environment> | ||
<os>${os}</os> | ||
<ws>${ws}</ws> | ||
<arch>${arch}</arch> | ||
</environment> | ||
</environments> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<artifactId>maven-antrun-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>normal</id> | ||
<phase>initialize</phase> | ||
<goals> | ||
<goal>run</goal> | ||
</goals> | ||
<configuration> | ||
<target> | ||
<property name="copy.src.dir" value="src" /> | ||
<ant antfile="../binaries-parent/build.xml" target="copy.${ws}.src" /> | ||
</target> | ||
</configuration> | ||
</execution> | ||
<execution> | ||
<id>natives</id> | ||
<phase>process-resources</phase> | ||
<goals> | ||
<goal>run</goal> | ||
</goals> | ||
<configuration> | ||
<target> | ||
<!-- See https://stackoverflow.com/a/53227117 and http://ant-contrib.sourceforge.net/tasks/tasks/index.html --> | ||
<taskdef resource="net/sf/antcontrib/antlib.xml" /> | ||
<if> | ||
<equals arg1="${native}" arg2="${ws}.${os}.${arch}" /> | ||
<then> | ||
<ant antfile="../binaries-parent/build.xml" target="build_libraries" /> | ||
</then> | ||
</if> | ||
</target> | ||
</configuration> | ||
</execution> | ||
<execution> | ||
<id>swtdownload</id> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>run</goal> | ||
</goals> | ||
<configuration> | ||
<target> | ||
<property name="eclipse.version" value="${releaseNumberSDK}" /> | ||
<ant antfile="../binaries-parent/build.xml" target="swtdownload" /> | ||
</target> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.mozilla</groupId> | ||
<artifactId>rhino-runtime</artifactId> | ||
<version>1.7.14</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.ant</groupId> | ||
<artifactId>ant</artifactId> | ||
<version>1.10.14</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.ant</groupId> | ||
<artifactId>ant-apache-bsf</artifactId> | ||
<version>1.10.14</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>ant-contrib</groupId> | ||
<artifactId>ant-contrib</artifactId> | ||
<version>1.0b3</version> | ||
<exclusions> | ||
<exclusion> | ||
<groupId>ant</groupId> | ||
<artifactId>ant</artifactId> | ||
</exclusion> | ||
</exclusions> | ||
</dependency> | ||
</dependencies> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
Oops, something went wrong.