tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jürgen Link <>
Subject Re: Compile, build and prepare Webapp for Tomcat in command line
Date Mon, 31 Oct 2011 15:26:03 GMT
Hi Léa,
although it's pretty straight-forward to compile and package all the stuff
you need inside your web application, I'd rather recommend looking into
It's an excellent project management tool (at least from my point of view)
which supports exactly what you asked for.
By default, it will compile your sources, run the tests (e.g. JUnit),
gather external libraries you need and package everything nicely.
Moreover, Maven itself is a Java application and therefore, platform

For an overview, you could consult several references, including this one:


2011/10/31 Léa Massiot <>

> 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.
> 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
> --
> View this message in context:
> Sent from the Tomcat - User mailing list archive at
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message