You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Jesper Jørgensen <je...@caput.com> on 1999/12/28 18:32:37 UTC

developing with ant

What is the intended way of developing on tomcat based on the
jakarta-tomcat module as checked out from cvs ?

A build ends up in ../build/tomcat. Is one supposed to run tomcat from
here and then edit source files in jakarta-tomcat/src and rebuild before
testing new stuff ?

- Jesper

Re: developing with ant

Posted by "Craig R. McClanahan" <cm...@mytownnet.com>.
You've got it correct.  You edit in the source tree, do a "build.sh" to
compile, and test in "../build/tomcat".  This approach has several nice
features:

* Your source code tree stays pure source.

* The ANT system can identify resource files (*.properties and so on)
  and copy them to the appropriate place in the build tree, without
  having to know about any extension other than ".java".

* Cleaning up after yourself is a simple matter of deleting
  the "../build/tomcat" directory and all of its subdirectories.

Craig


Jesper Jørgensen wrote:

> What is the intended way of developing on tomcat based on the
> jakarta-tomcat module as checked out from cvs ?
>
> A build ends up in ../build/tomcat. Is one supposed to run tomcat from
> here and then edit source files in jakarta-tomcat/src and rebuild before
> testing new stuff ?
>
> - Jesper
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org