• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

jForum Dev Environment

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!
 
Ranch Hand
Posts: 41
10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the reply. I'll take a look into that guide and let you know the results!
 
Tom Rude
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 41
10
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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,

https://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.
 
This is my favorite tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic