aboutsummaryrefslogtreecommitdiff
path: root/website/templates/contributing.html
blob: 16d68f32363ad0a62f0ee258c7a0b1e8e190a61d (plain)
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
<#import "/_scaffold.html" as main>

<@main.scaffold title="Contribute">
	<div class="page-header top5">
		<div class="row text-center">
			<@main.h1 title="Contributing to Project Lombok's development" />
		</div><div class="row">
			You can choose to <a href="/order-license-info">become a project lombok licensee or support us on patreon</a>.
		</div>
		<div class="row text-center">
			<@main.h1 title="How to work on Project Lombok yourself" />
		</div><div class="row">
			Project Lombok is being developed via the <a href="https://github.com/rzwitserloot/lombok">lombok git repository on github</a>.
		</div><div class="row">
			<p>
				If you want to start development on lombok, clone the repository and run <code>ant eclipse</code> or <code>ant intellij</code>, then open the working directory as a project in eclipse / intellij. Because the main contributors of lombok all use eclipse, that'll probably work a little more smoothly.
			</p><p>
				To produce a lombok jar, run <code>ant dist</code>; in general run <code>ant -p</code>; there's lots of stuff there, including downloading various versions of java runtimes to run the test suite against, and building this website.
			</p>
		</div><div class="row text-center">
			<@main.h2 title="Adding your own handlers and annotations to Lombok" />
		</div><div class="row">
			<p>
				If you want to extend lombok, we advise that you fork lombok and add handlers directly into the same place and package that lombok's handlers are in (<code>lombok.javac.handlers</code> and <code>lombok.eclipse.handlers</code>) – lombok does some fancy footwork to ensure various modular class loading systems don't interface with finding the lombok classes, but that system is not (currently) easily expanded to include separate jars.
			</p>
		</div><div class="row text-center">
			<@main.h2 title="Contributing to Project Lombok" />
		</div><div class="row">
			<p>
				To create new features and add them to project lombok itself, send us pull requests via github. However, before you start, discuss the feature or fix you'd like to contribute, preferably via the <a href="https://groups.google.com/forum/#!forum/project-lombok">Project Lombok Forum</a>. If you're going to add a new feature, make sure to post 2 snippets (one with the annotation, the other with what that would generate), similar to how the feature pages list 'with lombok' and 'without lombok' variants.
			</p><p>
				We've considered many designs and features amongst ourselves and with the community, and often there are complications or interesting design choices that have already been mentioned. We'd like to share them with you before you set out.
			</p><p>
				Pull requests for new features that haven't been discussed are unlikely to be accepted. Of course, if you've already built a proof of concept implementation prior to bringing a new idea to the forum, we'll take it that much more seriously.
			</p><p>
				Happy coding!
			</p>
		</div>
	</div>
</@main.scaffold>