tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "mike jackson" <>
Subject RE: Guidelines on application development
Date Thu, 10 Apr 2003 01:29:37 GMT
Eclipse is very, very good.  But it makes a war file for uploading to
the server, not a jar file.

mike jackson

-----Original Message-----
From: Dan Payne [] 
Sent: Wednesday, March 26, 2003 5:31 PM
To: Tomcat Users List
Subject: RE: Guidelines on application development

The path refining my dev process sounds exactly like yours. The next
for me was to move to Eclipse. Designate your source folders and it
.java as needed, moving the .class files to their appropriate locations.
Even exports .jars for uploading to the test/live servers and integrates
with Tomcat.


-----Original Message-----
From: Greg Speechley []
Sent: Wednesday, March 26, 2003 7:01 PM
To: Tomcat User
Subject: Re: Guidelines on application development

I have just migrated from Tomcat 4.0.3 to 4.1.24 on win2k. At present we
have a test server which we do all development and testing on then once
app is stable we transfer the app directory onto the live server to
$CATALINA_HOME\webapps, restart tomcat and it's good to go.

During development we use a java editor eg jGrasp to edit .java files
are stored in $CATALINA_HOME\webapps\app\WEB-INF\classes and compile
individually. It gets a bit tiresome restarting tomcat after each
but I can live with that (I have reloadable=true but this doesn't seem
to be
reliable). Obviously this is a fairly poor way to do things so I am keen
use the manager in 4.1.24 to reload apps and ant to build it. I have
at the docs and created the directory structure as suggested in the
Application Developer's guide (java files in src\WEB-INF\classes, etc)
can build from src directory so that class files are stored in the
build\WEB-INF\classes. BTW this dir structure should be stored in folder
called "projectname" somewhere other than $CATALINA_HOME\webapps?

Now from what I can tell I would then have to move these class files to
$CATALINA_HOME\webapps\app\WEB-INF\classes to be able to test it, surely
am missing something because this seems to be quite laborious. Do you
ant each time you recompile during development or just compile from your
editor? If anyone can provide some suggestions on the recommended way to
things I would greatly appreciate it coz I am trying to implement much
better development practices :)


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message