Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Publish to Server?
Publish to Server? [message #87130] Thu, 24 March 2005 17:26 Go to next message
Eclipse User
Originally posted by: codemonster_4_hire.yahoo.com

Hi All,

Can anyone explain how the "publish" (to server) function is supposed to
work? My assumption, possibly incorrect, is that when you hit "publish", all
modified files should be redeployed to the server, right? This would
indicate that any modified files in the source tree (JavaSource, WebContent)
are automatically copied to the .deployables directory and tomcat is
notified to restart the app.

Unfortunately, it doesn't seem to be working that way...

Does anyone have any hints for making jsp development go any faster?
Specifically, I'd like my jsp files to be re"published" to the server when
they are modified and saved.

Currently the only way I can get them to copy over is to stop tomcat, do a
full clean and build, and then restart tomcat. And boy is that getting
tedious....

Any help greatly appreciated,
Brian Call
Re: Publish to Server? [message #87267 is a reply to message #87130] Fri, 25 March 2005 08:17 Go to previous message
Larry Isaacs is currently offline Larry Isaacs
Messages: 1297
Registered: July 2009
Senior Member
For Tomcat, publish means that a copy of the files under Servers ->
<Tomcat server name> will be copied to a "runtime temp" subdirectory of
".metadata\.plugins\org.eclipse.wst.server.core". The files there are
the ones used by the running Tomcat. The server.xml will contain
contexts which point to the directory of the webapp image in your Web
project.

When using the "Use flexible project structure", this webapp image
directory will be under the ".deployable" directory with a name that
varies depending on which version of WTP you are using. As far as I
know, the builder(s) that populate the ".deployable" directory don't
fully support incremental building yet. This means you need to trigger
a build to have it updated if you modify a JSP. One way to do this is
Project -> Clean... and select the Web project in question.

Cheers,
Larry

Brian Call wrote:
> Hi All,
>
> Can anyone explain how the "publish" (to server) function is supposed to
> work? My assumption, possibly incorrect, is that when you hit "publish", all
> modified files should be redeployed to the server, right? This would
> indicate that any modified files in the source tree (JavaSource, WebContent)
> are automatically copied to the .deployables directory and tomcat is
> notified to restart the app.
>
> Unfortunately, it doesn't seem to be working that way...
>
> Does anyone have any hints for making jsp development go any faster?
> Specifically, I'd like my jsp files to be re"published" to the server when
> they are modified and saved.
>
> Currently the only way I can get them to copy over is to stop tomcat, do a
> full clean and build, and then restart tomcat. And boy is that getting
> tedious....
>
> Any help greatly appreciated,
> Brian Call
>
>
>
>
Previous Topic:Strange behaviour error
Next Topic:Eclipse 2.1
Goto Forum:
  


Current Time: Thu Jul 24 21:43:16 EDT 2014

Powered by FUDForum. Page generated in 0.01505 seconds