Bai Shen wrote:
I've been doing a lot of webapp development on tomcat, but currently my
process is all manual.  I write the code in Eclipse, and then copy the
appropriate files over to tomcat.  I'd like to automate and standardize my
process.

So would y'all mind explaining how your dev environment is configured?  I'd
appreciate the insight.  TIA.

Unpack Tomcat from zip package, and register it in Eclipse: Window, Preferences, Server, Installed Runtimes.

Create new web projects with: File, New, Project, Dynamic web project.

Then, make sure that you have server tab opened with: Window, Show view, Other, Server.

Drag the project from Projects explorer to Tomcat server in Server tab. Run the server.

From that point on, tomcat publishes the files to the server automatically, and warns you when you need to restart the server. Dependant projects are packed to jar files in WEB-INF/lib, and referenced libraries are also copied to the same place.

Regards,
Ognjen


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to