This week's book giveaways are in the Cloud and AI/ML forums. We're giving away four copies each of Cloud Native Patterns and Natural Language Processing and have the authors on-line! See this thread and this one for details.
The downloads, for several releases, have only been been binary distributions, that is to say, JForum code has been compiled to a .jar,
appBase > WEB-INF > jforum.x.x.x.jar
though users are free to build around the webApp structure.
I've found I could get a long way with this binary download. But for a couple of items, I would have been more than happy with binary and, in other circumstances, it would be all I needed. But what if I want to go for source? What do I have to do?
The svn download of trunk displays a structure I do not recognise in in the binary. It has a .war inside a .war. Also, it has a .pom file, so builds using Maven.
I'll leave others to explain, if they wish, why the nested structure, and what might be done with Maven...?
There is a double issue here, because the aim of this post is to import JForum into Eclipse. Maybe something can be done with the source code's Maven controls? But the best way I've found to get a binary JForum into Eclipse is to generate a .war then wholesale import. That will not work with this source code. Here's what I did...
Steps Download both a binary and a source version of a chosen svn tag
Below is a screenshot of a .war wrapped *binary* imported into Eclipse. Some modifications can be seen already (the forum being constructed has users who can probably use the custom error pages, even if they are an overhead).