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
Copy file name to clipboardExpand all lines: AGENTS.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,21 @@ SWT consists of two main parts:
23
23
-`examples/` - Example code and snippets
24
24
-`tests/` - JUnit tests
25
25
26
+
### Native binaries
27
+
28
+
This repository uses Git Large File Storage (LFS) to store precompiled native binaries.
29
+
The `.gitattributes` file specifies which files are stored using LFS.
30
+
31
+
If Git LFS is not installed and configured the LFS pointer files are not resolved on checkout and the binaries have to be compiled locally.
32
+
For that, see the `Build Commands` section below.
33
+
34
+
**NOTE**:
35
+
For GitHub Copilot agent sessions Git LFS checkout is disabled.
36
+
37
+
Cross-compiling binaries for operating systems other than the one currently in use is not possible, just as testing code for other platforms is not possible.
38
+
If you make changes to code (Java or native) for other platforms, the binaries cannot be rebuilt and the changes cannot be tested locally.
39
+
Instead, rely on the GitHub PR workflows created for each platform to test the changes.
40
+
26
41
## Build System
27
42
28
43
### Technology Stack
@@ -50,6 +65,8 @@ Instead: modify Java source (e.g., `OS.java`), clean/rebuild the project, then r
50
65
51
66
See `docs/*.md` and `bundles/org.eclipse.swt/Readme*.md` files for detailed instructions.
52
67
68
+
Usually only the native binaries of the targeted platform can be built locally.
Copy file name to clipboardExpand all lines: README.md
+26-11Lines changed: 26 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,6 +81,32 @@ The `while`-loop processes all GUI related events until the shell is disposed wh
81
81
Before exiting, any claimed GUI resources needs to be freed.
82
82
83
83
84
+
# Contributing to SWT
85
+
86
+
Thanks for your interest in this project.
87
+
88
+
For information about contributing to Eclipse Platform in general, see the general [CONTRIBUTING](https://github.com/eclipse-platform/.github/blob/main/CONTRIBUTING.md) page.
89
+
90
+
[](
Changes to the binary artifacts must not be committed, as the binaries are compiled only in the Eclipse infrastructure.
109
+
84
110
## Building
85
111
86
112
To build all SWT artifacts and to run all tests,
@@ -95,17 +121,6 @@ mvn clean verify -DskipTests
95
121
96
122
For instructions on building the native binaries of SWT see the section [Building native binaries](bundles/org.eclipse.swt/Readme.md#building-native-binaries).
97
123
98
-
# Contributing to SWT
99
-
100
-
Thanks for your interest in this project.
101
-
102
-
For information about contributing to Eclipse Platform in general, see the general [CONTRIBUTING](https://github.com/eclipse-platform/.github/blob/main/CONTRIBUTING.md) page.
103
-
104
-
[](
0 commit comments