Skip to content

Commit 01fa72e

Browse files
committed
Add comment about swt fragment workaround
1 parent 461a9f2 commit 01fa72e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

pom.xml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -330,10 +330,13 @@
330330
</build>
331331

332332
<profiles>
333-
<!-- for some reason, tycho 2.7 doesn't always add the swt-fragments to the classpath.
334-
Therefore it is added explicitly - depending on the os.
333+
<!-- With tycho 2.7 the workaround (https://github.com/eclipse/tycho/issues/476)
334+
for https://bugs.eclipse.org/bugs/show_bug.cgi?id=361901 has been
335+
removed. Therfore, we need to declare the runtime dependencies for SWT fragments explicitly for each os.
335336
Otherwise the SWT classes are missing for PMD analysis and when running the tests.
336-
Note: This problem only occurs with old eclipse versions like kepler.
337+
This bug has been fixed with Mars (4.5 / https://download.eclipse.org/releases/mars/) and this workaround
338+
might not be necessary anymore when using Mars.
339+
Tycho resolves the fragments when they are properly declared, see https://github.com/eclipse/tycho/issues/626.
337340
-->
338341
<profile>
339342
<id>linux-swt</id>

0 commit comments

Comments
 (0)