Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 76 lines (61 sloc) 2.222 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
<?xml version="1.0" encoding="UTF-8"?>
<!-- ======================================================================
Feb 28, 2009 1:52:00 PM

webcrawler
Initial webcrawler
pjaol
====================================================================== -->
<project name="webcrawler" default="default">
    <description>
            Initial webcrawler
    </description>

<property name="src.dir" value="src"/>
<property name="build.dir" value="build"/>
<property name="dist.dir" value="dist"/>
<property name="lib.dir" value="lib"/>

<path id="lib.path">
<fileset dir="${lib.dir}">
  <include name="*.jar"/>
  </fileset>
</path>
 
<!-- =================================
target: default
================================= -->
    <target name="default" depends="clean, setup,compile,jar,createWar" description="--> data analyzer">
        
    </target>


<target name="clean">
<delete dir="${build.dir}"/>
<delete dir="${dist.dir}"/>
</target>
<target name="setup">
<mkdir dir="${build.dir}"/>
<mkdir dir="${dist.dir}"/>
</target>
<!-- =================================
target: compile
================================= -->
    <target name="compile" description="--> compile analyzer">
     <mkdir dir="${build.dir}" />
        <javac srcdir="${src.dir}"
         destdir="${build.dir}"
         classpathref="lib.path"
         debug="on"/>
    </target>

<!-- - - - - - - - - - - - - - - - - -
target: jar
- - - - - - - - - - - - - - - - - -->
    <target name="jar">
            <jar destfile="${dist.dir}/${ant.project.name}.jar" basedir="${build.dir}"/>
    </target>



<target name="createWar">
<war destfile="${dist.dir}/${ant.project.name}.war"
webxml="web.xml">
<lib dir="${lib.dir}">
<exclude name="servlet*.jar"/>
</lib>
<lib dir="${dist.dir}">
<include name="*.jar"/>
</lib>

</war>

</target>

</project>
Something went wrong with that request. Please try again.