Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsDeploying web app
https://www.eclipse.org/forums/index.php/mv/msg/52874/168827/#msg_168827
Originally posted by: david.rushtone.com
I've been using Eclipse for some time now, but I know I've only
scratched the surface of what it can do.
When doing web projects, I've found 2 ways to get the Eclipse directory
structure (under workspace) to inter-operate with my web server /
servlet engine's directory structure.
1. Create a "linked folder" (that I call webapp) in the Eclipse project
that's connected over to the web server and servlet engine's directory
structure, and tell Eclipse to put complied class files down in
webapp/WEB-INF/classes, and I put my associated HTML and JSP files under
webapp.
2. Keep everything in the Eclipse project, then do an "Export" (under
the File menu) to create a WAR file over in the web server / servlet
engine's directory.
Option 1 seems like a kludge, but it works.
Option 2 is more sophisticated and works (so far with my simple
testing, anyway), but clicking File, Export, and filling in all the
fields in the wizard every time is a pain, esp. when only testing minor
HTML changes.
Please tell me there's a better way!
David]]>2006-05-09T18:40:12-00:00Re: Deploying web app
https://www.eclipse.org/forums/index.php/mv/msg/52874/169035/#msg_169035
Originally posted by: jlagarde.assu2000.fr
You can configure a server in eclipse and set publication strategy in
Window/Preferences.../Server
Jer.]]>2006-05-11T08:46:33-00:00Re: Deploying web app
https://www.eclipse.org/forums/index.php/mv/msg/52874/169121/#msg_169121
Doing so would make Option 2 much simpler. Since your Option 1 is a
fairly simple case, I can't say whether Web Tool's server support would
be as convenient. It would depend on the which servlet engine you are
using, which isn't mentioned.
Cheers,
Larry
David Rush wrote:
> I've been using Eclipse for some time now, but I know I've only
> scratched the surface of what it can do.
>
> When doing web projects, I've found 2 ways to get the Eclipse directory
> structure (under workspace) to inter-operate with my web server /
> servlet engine's directory structure.
>
> 1. Create a "linked folder" (that I call webapp) in the Eclipse project
> that's connected over to the web server and servlet engine's directory
> structure, and tell Eclipse to put complied class files down in
> webapp/WEB-INF/classes, and I put my associated HTML and JSP files under
> webapp.
>
> 2. Keep everything in the Eclipse project, then do an "Export" (under
> the File menu) to create a WAR file over in the web server / servlet
> engine's directory.
>
> Option 1 seems like a kludge, but it works.
>
> Option 2 is more sophisticated and works (so far with my simple testing,
> anyway), but clicking File, Export, and filling in all the fields in the
> wizard every time is a pain, esp. when only testing minor HTML changes.
>
> Please tell me there's a better way!
>
> David]]>Larry Isaacs2006-05-11T13:35:07-00:00