aspose file tools*
The moose likes JForum and the fly likes jForum Dev Environment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "jForum Dev Environment" Watch "jForum Dev Environment" New topic
Author

jForum Dev Environment

Tom Rude
Greenhorn

Joined: Dec 10, 2013
Posts: 3
Hi all,

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?

Thanks a ton!
robert crowther
Ranch Hand

Joined: Oct 19, 2013
Posts: 41
    
  10
Tom, people here will need a little help with the many possibilities you may be asking for.

Do you have a server running? The most obvious server choice with this combination is Tomcat, but any servlet-handling server can be configured, e.g. Jetty, Glassfish.

If this is the problem, then this is the best beginner setup tutorial I found,

http://www.coreservlets.com/Apache-Tomcat-Tutorial/eclipse.html

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.
Tom Rude
Greenhorn

Joined: Dec 10, 2013
Posts: 3
Thanks for the reply. I'll take a look into that guide and let you know the results!
Tom Rude
Greenhorn

Joined: Dec 10, 2013
Posts: 3
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.
robert crowther
Ranch Hand

Joined: Oct 19, 2013
Posts: 41
    
  10
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,

http://www.coderanch.com/t/623839/jforum/Import-Google-JForum-source-Eclipse

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jForum Dev Environment
 
Similar Threads
Complex integration question - multiple jforums -> caching problem?
integration into another Java-webapp
Change to Struts?
SSO with JForum
404 Not Found - install.page