Even if you just want to study the code, it probably makes a lot of sense to do so in an IDE.
Download the latest Eclipse version (currently this is Eclipse Neon) from http://www.eclipse.org/ Note: the “Eclipse IDE for Java Developers” will probably do. We found that at least for us, the “Eclipse IDE for Java EE Develeopers” has too much unneeded overhead.
eclipse.ini file in the Eclipse instalation directory and check the
-vm value. This is the java version Eclipse will run with. Please make sure that it is a recent version. For example, with java-1.8.0_65, Eclipse is unable to retrieve maven artifacts from our repository (some missing root certificate).
We recently started using lombok.
To enable your local Eclipse to compile the code, please go to https://projectlombok.org/download.html and follow the instructions for Eclipse. You might also want to check out our metasfresh-issue #1125 for further details.
C:\development\repos, because it’s where all my working copies are located.
eclipse-configfolder in the metasfresh-dev repository.
pom.xml. This can be done with the shortcut
Alt-F5or via right-click on the project in question, and then:
/de.metas.endcustomer.mf15.swingui/de.metas.SwingUIApplication_mf15_with_embedded_server.launchstarts the client with an embedded server.
..._jrebel.launchfor both client and server. You can them in case you have the JRebel Eclipse plugin.
Note that until eclipse version neon2 the lombok integration is tricky. The recommended eclipse version is neon3, as the lombok integration works out of the box with the lombok gui installer (also across multiple eclipse projects). See here for further infos.
We don’t yet have experince with code contributions that were created with e.g. Netbeans or IntelliJ.
We don’t think there is a need to dictate a particular IDE,
however, when contributing, please make sure to text-format your contribution in a way that allows us to get a meaningfull diff. to that end, note that your IDE might be able to import our Eclipse formatting spec.