Shellscript to compile the sourcecode

Hi,

I am having a package TestAccount which does have separate folders for Web-app and .java files. Here i want to write shell script to compile those files and generate the necessary .war file . Some thing like build.xml (ant).
Is it possible to do it through shell script? Pls. do shed some light in to it.

Thanks

Frankly speaking, you would be much better of writing an ant script for the build.

Thanks Vino..