This week's book giveaway is in the Reactive Progamming forum. We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line! See this thread for details.
At roughly the same time (a few days earlier) than I posted a hack method of using JForum with Eclipse on CodeRanch, the maintainer of JForum2 posted his own guide on the JForum2 site.
Some work has been done on the site (either by Google or the maintainer), which has for a while made it hard to source these links. The install directions are in a JForum2 site attached to the side of whatever is currently running as the main site (*not* on the wiki). This link currently leads to the board itself, and the posts are sticky at the top,
This is fairly awe-inspiring piece of work, screenshots into a .docx. You may prefer to follow that, or the below, or swap between them if there are any unclear points,
Hassle in setup. Requires gear installed on the host computer, in Eclipse, some outside commandlines, and more.
Cannonical method of getting JForum running ...so repeatable, and buildable in most circumstances.
This method should (I've not tried...) be able to check out any revision, but then the hack method (see below) may be as useful or better.This method is likely best for those wanting to contribute to source, or have formal requirements for coding process.
Install a JRE The JForum2 instructions have several steps for importing a JRE. However, JForum is known to run on modern JREs, including OpenJDK, and most installs of Eclipse will include either a JRE and/or full JDK, so those instructions are skipped here. If you have problems, or simply need Java installed, refer to the JForum2 instructions.
Install Maven/Java in the environment Maven/Java is needed on the host computer. Up-to-date packaging will likely be ok (I understand JForum, even Jforum2, has not much need of the cutting edge).
As Maven will be looking for this code, this needs to go in the Maven repository. Use the following commandline,
> mvn install:install-file -Dfile=ojdbc14.jar -DgroupId=com.oracle -DartifactId=ojdbc14 -Dversion=10.2.0.4.0 -Dpackaging=jar
If Eclipse doesn't have one, install a subversion plugin There are two,
SubEclipse comes from the subversion coders and is reputedly stable, Subversive is more advanced but reputedly less stable. That's all I can tell you. I tried SubEclipse,
Help > Marketplace
Search for "subeclipse" or "maven", Press the little 'install' button.
(For SvnEclipse) Add native support for svn and Java Subversion must be installed on the host environment, not just internally in Eclipse. Also, SubEclipse uses native libraries via an adaptor. If you use packaging, you may be in luck. For example, apt-get distros have,
You can just hunt for JavaHL, that should find required packaging.
If Eclipse doesn't have one, install a Maven plugin Most Eclipse version - Eclipse Java EE IDE - comes with one. Check under,
Help > About
If not, follow the instructions above and get,
Help > Marketplace.
Import source via SVN and the Eclipse plugin File > Import > Checkout Projects from SVN
Leave the next panel with the radio checked as,
"Create a new repository location"