tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Watts <>
Subject Re: Compile, build and prepare Webapp for Tomcat in command line
Date Mon, 31 Oct 2011 15:38:23 GMT
On Mon, 2011-10-31 at 08:17 -0700, Léa Massiot wrote:
> Hello,
> Thank you for reading my post.
> I am presently programming my Webapps inside "Eclipse".
> I would like to automate the compiling and building of my source code.
> I need to know which "javac", "java" (and maybe "jar") commands I should run
> from a console to generate everything that is needed for my Webapp to be
> deployed properly by "Tomcat".
> I want to write a batch file ("Windows") and a shell file ("Unix") to do
> this work.
Is there a particular reason you don't want to use Ant?  You could build
and test the Ant script in Eclipse -- using it's editor with Ant support
-- then use the same Ant script to run on windows or unix.  At a command
shell you would just change to the project dir and type 'ant'.

> Can you give me some advice, indicate me where to look for?
> For instance, can I retrieve from "Eclipse" which commands are being
> launched when the project is being built? Where?
> All the best,
> --
> Léa

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

View raw message