Skip to content

Commit f468eca

Browse files
committed
Use custom variable for test folder path in win32 fragments
Tycho lacked support for resolving locations of linked resources whose path contained custom variables. For that reason, the linked folder path to the tests folder of the win32 fragments contain a repetition of an already existing custom variable to the host bundle. Since according Tycho support has been added recently , this change replaces the inlined custom variable with the actual custom variable.
1 parent cd7cd6b commit f468eca

File tree

2 files changed

+2
-4
lines changed
  • binaries
    • org.eclipse.swt.win32.win32.aarch64
    • org.eclipse.swt.win32.win32.x86_64

2 files changed

+2
-4
lines changed

binaries/org.eclipse.swt.win32.win32.aarch64/.project

+1-2
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,7 @@
110110
<link>
111111
<name>Eclipse SWT Tests</name>
112112
<type>2</type>
113-
<!-- Once Tycho supports custom variables, SWT_HOST_PLUGIN should be used here: https://github.com/eclipse-tycho/tycho/issues/3820 -->
114-
<locationURI>PARENT-2-PROJECT_LOC/bundles/org.eclipse.swt/Eclipse%20SWT%20Tests</locationURI>
113+
<locationURI>SWT_HOST_PLUGIN/Eclipse%20SWT%20Tests</locationURI>
115114
</link>
116115
</linkedResources>
117116
<variableList>

binaries/org.eclipse.swt.win32.win32.x86_64/.project

+1-2
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,7 @@
110110
<link>
111111
<name>Eclipse SWT Tests</name>
112112
<type>2</type>
113-
<!-- Once Tycho supports custom variables, SWT_HOST_PLUGIN should be used here: https://github.com/eclipse-tycho/tycho/issues/3820 -->
114-
<locationURI>PARENT-2-PROJECT_LOC/bundles/org.eclipse.swt/Eclipse%20SWT%20Tests</locationURI>
113+
<locationURI>SWT_HOST_PLUGIN/Eclipse%20SWT%20Tests</locationURI>
115114
</link>
116115
</linkedResources>
117116
<variableList>

0 commit comments

Comments
 (0)