This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JForum and the fly likes How to deploy jforums via Netbeans IDE 6.5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "How to deploy jforums via Netbeans IDE 6.5" Watch "How to deploy jforums via Netbeans IDE 6.5" New topic
Author

How to deploy jforums via Netbeans IDE 6.5

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hi

I have Netbeans IDE 6.5 with Tomcat installed I want to access all the jsp and servlet files via Netbeans IDE and run it from Netbeans via tomcat on my browser.
Please let me know how can I access it via netbeans as I need to customize my forum

Thanks


[originally posted on jforum.net by mashoodp]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I don't know Beans about NetBeans... (Sorry couldn't resist the pun..).. but it might work similar to the way I've got Eclipse set up.

First, get your development environment set up. In Eclipse, this is creating a project and importing the source, getting the dependencies included, pointing the compiler output directory to the WEB-INF/classes directory, and the like.

Then, set up a context definition xml file for Tomcat that points a TomCat URL to the WebRoot. E.g, a jforum.xml file in the Conf/Catalina/Localhost directory with a context tag that changes to docroot to your development directory.

In addition, you can set this up to be re-loadable which will monitor the classes directory for new code and force the web app to reload if anything changes.
[originally posted on jforum.net by monroe]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
:?: Download the Eclipse Project Importer plugin for netbeens and install it.

:?: Then import the eclipse project in to netbeens.

:idea: That's It. :!:

:P Enjoy. :P
[originally posted on jforum.net by dsbhavan]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Netbeans 6.5 can import Eclipse project, but I don't know why whenever I try to import JForum project(downloaded from cvs) to netbeans, it says invalid eclipse project?
[originally posted on jforum.net by ShaolinVn]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
What is stored in CVS isn't an Eclipse project. FWIW, I think the original CVS layout was done prior to Eclipse being a common dev environment.

You either have to set up the project in Eclipse and then import it to NetBeans or create a NetBeans project and import the code. Either way, you'll have to decide if you want to refactor the default layout into the IDE's preferred layout or change your IDE's build/directory path to match the default layout.

FWIW, there is also an ant build file with the CVS and source distros. Some IDE's can build a project from an existing ant file.
[originally posted on jforum.net by monroe]
 
wood burning stoves
 
subject: How to deploy jforums via Netbeans IDE 6.5
 
Similar Threads
Netbeans 6.5 and Web service security
Debugging in NetBeans?
Undeployment
how to add image to swing, i dont need the code?
What's your Container?