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