That would be ignoring the fact that there exists an Application Developer's Guide in the Tomcat documentation.

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html

Jake

At 05:22 PM 11/15/2002 +0800, you wrote:
That would be a question for the ant group. But I've attached a sample none the same.
Cheers.

sathya wrote:

hi all,
     I wanted to know how to build the project using ant..Kindly help me.
I am using Tomcat 4.1.10.Does anybody using ant have any scipts.??
bbye
Sathya



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>





<?xml version="1.0"?>

<project name="SAPTest" basedir="." default="all">
    <target name="all">
        <!-- WRITEME -->
        <mkdir dir="SAPTest"/>
        <mkdir dir="SAPTest/WEB-INF"/>
        <mkdir dir="SAPTest/img"/>

        <copy todir="SAPTest/WEB-INF">
            <fileset dir="Source/SAPSource/WEB-INF/">
            </fileset>
        </copy>

        <copy todir="SAPTest" >
            <fileset dir="Source/SAPSource">
                <include name="*.jsp"/>
                <include name="*.properties"/>
                <include name="*.txt"/>
                <include name="*.htm"/>
                <include name="*.js"/>
                <include name="*.css"/>
                <include name="crontab"/>
            </fileset>
        </copy>
         <war warfile="iwhack.war" webxml="Source/SAPSource/WEB-INF/web.xml">
            <fileset dir="Source/SAPSource/"/>
       </war>
       <delete dir="SAPTest"/>

    </target>
</project>
--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to