-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help with contributor getting started on Lombok #1659
Comments
JDK 9 requirementWe should be a bit more clear, but JDK9 is required to build lombok (Why? Well, it's, short of resorting to things like ecj, not possible to produce a lombok.jar that runs on JDK9 without compiling it on JDK9). SOLUTION: Make ant detect that you're on 8 or less and error out immediately. ant setupJavaOracle8TestEnvironmentI've pulled a fresh clone of the repo, set my mac environment to use javac8, and ran this. No errors. I guess you're doing something wrong? I have no idea; please provide the errors you got, there's not much I can do without this information. Separately, you didn't need to do that; just lots of tests failWell, master branch is the live dev branch. Revert to a tagged release if you want something stable. Most of the failing tests are indicative of lombok doing something wrong in rather exotic situations, and the tests reflect this, but these aren't, generally, 'hair on fire!!!' must fix overnighters or anything. The vast majority of lombok users won't run into it. Don't worry about it. Setting up in the IDEWell, works for me. As the saying goes, 'doesn't work' is not a great bug report. Some detail is required or I can't help you. I think your priorities are a bit messed up. You want to contribute and the first focus is by questioning our choices of buildscripts? It's a complex mess for a very good reason: Lombok is just about the most complicated project you can possibly build. It's really not a good place to start contributing. This is a grab-bag: You've listed lots of separate feature requests and bug reports with very little detail. For next time:
|
I'm using Windows. I tested if I was able to do a fresh build of lombok with this:
Of course, as @rzwitserloot said, getting things from |
@rzwitserloot I should be really clear that I did not mean to "rant", in fact quite the opposite. My priority was pretty simple: checkout and run tests, from the CLI, following the docs printed by @victorwss thanks, I'll try a tagged release. I didn't know that it was OK for tests to fail on master, and spent a lot of time trying to get them pass. For a complex project like lombok, I wouldn't want to start out on a test failing scenario - because when I start changing code, there is no telling whether failing tests were breaking before or after, and leads to good old "It compiles on my machine" problems. Hence I'll still try to get tests passing on a tagged release and begin iterating from there. |
Hi, firstly, thank you so much for making Java development bearable. I would like to contribute to lombok (looking at #1207), and my first target is to checkout and get tests passing. So I checkout and do the following:
ant -projecthelp
ant setupJavaOracle8TestEnvironment
- throws lots of errors:src/core9
build.xml
<ivy:compile destdir="build/lombok" source="1.9" target="1.9">
runs even though I'm only runningsetupJavaOracle8TestEnvironment
ant setupJavaOracle8TestEnvironment
worksant dist
, lots of tests failAfter spending a weekend on setting up a development environment on Lombok, my apologies, I gave up. Either I'm doing something very wrong, in which case I'd like to get some help from you folks on what's going wrong here. Or I'd like to start contributing on setting up an easy test environment (update buildscripts or docs) and a CI (Travis CI?) running the tests on every PR. What do you think? :)
The text was updated successfully, but these errors were encountered: