-
Notifications
You must be signed in to change notification settings - Fork 6
/
fixbugs.php
69 lines (61 loc) · 3.29 KB
/
fixbugs.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?php require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php"); $App = new App(); $Nav = new Nav(); $Menu = new Menu(); include($App->getProjectCommon());
$pageTitle = "Contributing a feature or a bug fix in SWT";
ob_start();
?>
<div id="midcolumn">
<h1>How to contribute a feature or a bug fix to SWT</h1>
<p></p>
<h2>Set up your Java environment:</h2>
<ol>
<li>Download and install a Java JRE (SWT requires a 1.8.x JRE).<br></li>
<li>Download and install the <a href="https://download.eclipse.org/eclipse/downloads/index.html#Latest_Release">Latest release</a> or the latest <a href="https://download.eclipse.org/eclipse/downloads/index.html#Stable_Builds">Stable build</a>.</li>
<li><a href="/swt/git.php">Setup SWT from GIT.</a><br>
Make sure to load <code>org.eclipse.swt</code> plus any swt fragment you need (for example, <code>org.eclipse.swt.gtk.linux.x86</code>),
<code>org.eclipse.swt.snippets</code>, and <code>org.eclipse.swt.examples</code>.<br>
</li>
<li>Click on any Snippet or Example, and select Run As>Java
Application. You can modify any of the existing snippets or make your own in order to try to reproduce the issue.<br>
</li>
<li> Once the issue is reproducible, inspect the SWT source code to see if you can locate/fix the issue.</li>
<li> When you have a patch that is ready for review, you should submit the patch to gerrit for review. You have to configure your Git repo to push to Gerrit.
For more information and steps, please see <a href="https://wiki.eclipse.org/Gerrit">Gerrit wiki page</a>.
</li>
</ol>
<h2>Understand SWT:</h2>
The <a href="/swt/">eclipse.org/swt/</a> page contains many links
and resources that are useful for understanding SWT. Some of these are:
<ul>
<li><a href="/swt/widgets/">Snapshots of all of the SWT widgets</a></li>
<li><a href="/swt/snippets/">Little standalone snippets of SWT code</a></li>
<li><a href="/swt/examples.php">Larger examples of SWT code</a></li>
<li><a href="/swt/faq.php">A list of Frequently Asked Questions</a></li>
<li><a href="/swt/tools.php">Tools for implementing and testing SWT</a></li>
<li><a href="/swt/javadoc.php">Online Javadoc</a></li>
<li><a href="/swt/docs.php">A comprehensive list of SWT articles, tutorials, and other documentation</a></li>
</ul>
<h2>Understand open source:</h2>
<ul>
<li>Read up on Eclipse and <a href="http://wiki.eclipse.org/Development_Resources">
understand the Eclipse development process</a>.<br>
</li>
</ul>
<h3 style="margin-left: 40px;">Bugzilla<br>
</h3>
<ul>
<ul>
<li><a href="https://bugs.eclipse.org/bugs/page.cgi?id=bug-writing.html">Tips on filing new bugs</a>.</li>
<li><a href="/swt/bugs.php">Find or open SWT bugs and feature requests</a>.<br></li>
</ul>
</ul>
<h2>Find the Operating System doc:</h2>
<ul>
<li><a href="https://docs.microsoft.com/en-us/windows/win32/">Windows documentation</a>.</li>
<li><a href="https://www.gtk.org/docs/">GTK documentation</a>.</li>
<li><a href="https://developer.apple.com/documentation/">Cocoa documentation</a>.</li>
</ul>
</div>
<?php
$html = ob_get_clean();
# Generate the web page
$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
?>