This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am looking into playing around with the jForum source code a bit. Currently I have imported it into eclipse and everything seems to compile fine. What my question is, is how do I get a developer environment from here? I'm looking for a way to be able to easily make changes, and then see the effect of my changes (say in a localhost browser window). Is there a simple way to do this? If there is relevant documents for this could someone put up a link?
but I'm only guessing at the most liikely missing element in your scenario.
Getting Eclipse running with a server and code is not a simple pre-configuration. Servers must be declared to Eclipse, then allocated to projects.
Joined: Dec 10, 2013
Thanks for the reply. I'll take a look into that guide and let you know the results!
Joined: Dec 10, 2013
Ok, my next question then, is what type of project do I have to import the jForum source code in as? If I import the way I would normally, the code is all there in the Eclipse browser, and compiles fine, but I can't add it as a resource to the server. I can add a new dynamic web app as a resource, but I can't import the source for jForum like that. Thanks in advance.
Joined: Oct 19, 2013
I ran into that sort of problem too. Can't give you a full answer but,
First, have you read the post on the differences between the original JForum and the bugfix version on Google code? Hunt it down. It helps for those answering to know which code you are referring to. Yes, especially for this.
If you are using the bugfix version, I put a very full post on this forum about how to hack out the operative code from the bugfix version into a .war which can be imported into Eclipse, by using a precompiled version to effectively pre-configure Eclipse. It sounds hacky, but is efficient,and has few steps,
If you're taking another route, I can't offer so much help. Bear in mind, you will need the infrastructure that a 'Dynamic Web Project' offers. There may be a way to pre-configure the project using Maven, but I didn't take that route.