BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

how to port Web project from Eclipse to JBuilder

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder IDE
View previous topic :: View next topic  
Author Message
tony karta
Guest





PostPosted: Fri Sep 03, 2004 2:18 am    Post subject: how to port Web project from Eclipse to JBuilder Reply with quote



Hi all,

I'm trying to port Web project that I have done in Eclipse to JBuilder.
I use "open existing project" option and the project is open properly
but how to setup its Web module (WEB-INF etc) as when we create a new
Servlet class.

I use JBuilder X evaluation edition.

thanks all
tony
Back to top
Paul Furbacher [TeamB]
Guest





PostPosted: Fri Sep 03, 2004 2:07 pm    Post subject: Re: how to port Web project from Eclipse to JBuilder Reply with quote



tony karta wrote:

Quote:
I'm trying to port Web project that I have done in Eclipse to JBuilder.
I use "open existing project" option and the project is open properly
but how to setup its Web module (WEB-INF etc) as when we create a new
Servlet class.

I use JBuilder X evaluation edition.

I'm not sure what you are asking. You have
done File > New > Project > Project from Existing
Code, no? That should have created the Web Module
which represents your existing Web app. If that
didn't occur, perhaps you did not create the
project in the folder above the Web app's context
root folder? The pattern with JBuilder is (as
outlined in the "working with projects" section of
the on-line Help)

... /myproject
myproject.jpx <- note dir relation to /web
/bak
/classes
/doc
/src
/web <- web app's context folder
/WEB-INF
...


Next, if you are asking how do you add a servlet
to this Web app which has successfully been
brought into your project, double-click on the
Web Module node. Doing so opens the Web Module
DD Editor, which is the fancy editor for the
web.xml file. Look at the nodes in the Structure
Pane, "Servlets" in particular. Double-click,
"Add...", and you're off to the races.

Or, you could use the Servlet Wizard available
via File > New > Web > Servlet.

If you want to edit the web.xml file manually,
open the Web Module node, navigate into the
Deployment Descriptors node to find web.xml.
Opening web.xml this way gives you a standard
XML text editor which offers TagInsight.

I'm not 100% sure, but I think that *all*
of this is in the Help. It would be a good
idea to read that for more details.


--


Paul Furbacher (TeamB)

Save time, search the archives:
http://www.borland.com/newsgroups/ngsearch.html

Is it in Joi Ellis's Faq-O-Matic?
http://www.visi.com/~gyles19/fom-serve/cache/1.html

Finally, please send responses to the newsgroup only.
That means, do not send email directly to me.
Thank you.

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder IDE All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.