ตัวอย่างการใช้ Ant

posted on 01 Dec 2004 16:21 by somkiat

ตัวอย่างการใช้ ANT เพื่อ compile source code และ สร้าง JavaDoc ครับ

<?xml version="1.0"?>

<project

 name="TestAnt" basedir="." default="compile">

<!-- Global properties -->

<property name="baselib" value=""/>

<property name="source" value="src"/>

<property name="build" value="build"/>

<property name="api" value="api"/>

<property name="dist" value="dist"/>

<!-- Target Tag -->

<target name="init" >

<tstamp />

<mkdir dir="${build}" />

<mkdir dir="${api}" />

<mkdir dir="${dist}" />

</target>

<target name="compile" depends="init" >

<javac srcdir="${source}" destdir="${build}">

<classpath> </classpath>

</javac>

</target>

<target name="javadoc" depends="compile" >

<javadoc sourcepath="${source}"

destdir="${api}"

packagenames="com.test.*" />

</target>

</project>

Comment

Comment:

Tweet

chanel bags,http://www.chanelhandbags.net.in/softball bats,http://www.cheap-baseballbats.net/
nfl jerseys,http://www.cheapjerseys.us.org/
nfl jerseys,http://www.cheap-jerseys.us.org/
cheap jordan shoes,http://www.cheap-jordans.net/
michael kors,http://www.cheapmichaelkors.us.org/
nike shoes,http://www.cheap-nike-shoes.net/
oakley sunglasses,http://www.cheapoakley.us.org/
oakley sunglasses,http://www.cheapoakleysunglasses.ar.com/
oakley sunglasses,http://www.cheap-oakleysunglasses.in.net/
ray ban sunglasses,http://www.cheaprayban.com.co/
discount shoes,http://www.cheapshoes.com.co/
uggs outlet,http://www.cheap-uggboots.in.net/
dre beats,http://www.beatsbydrdre.co.com/
beats audio,http://www.beatsbydre.com.co/
beats audio,http://www.beats-by-dre.com.co/
beats audio,http://www.beats-headphone.in.net/
bebe clothing,http://www.bebeclothing.net/
bottega veneta,http://www.bottega.us/
burberry,http://www.burberrycanada.ca/
burberry outlet,http://www.burberry-handbags.us.org/
burberry outlet online,http://www.burberryoutlet.club/
burberry outlet online,http://www.burberryoutlet.me.uk/
burberry outlet,http://www.burberryoutletonline.ar.com/
burberry outlet online,http://www.burberrys-outlet.in.net/
burberry outlet,http://www.burberrys-outletonline.in.net/
calvin klein underwear,http://www.calvinklein.co.com/
celine bags,http://www.celinebags.org/
chanel sunglasses,http://www.chanel-bags.com.co/
polo ralph lauren,http://www.polo-outlets.com.co/
ralph lauren outlet,http://www.poloralphlaurenoutlet.net.co/
prada outlet,http://www.pradahandbags.com.co/
prada outlet,http://www.pradahandbags.net.co/
prada handbags,http://www.pradaoutlet.com.co/
prada outlet,http://www.pradashoes.com.co/
ralph lauren,http://www.ralph-lauren.ca/
ralph lauren,http://www.ralph-lauren.com.au/
ralph lauren uk,http://www.ralph-lauren.org.uk/
ralph lauren outlet,http://www.ralphlaurenepolo.com/
burberry,http://burberry.outletnow.org/
christian louboutin outlet,http://christianlouboutin.outlet-shoes.net/
tory burch sale,http://toryburch.salesandals.net/
abercrombie,http://www.abercrombie-and-fitch.ca/
abercrombie and fitch,http://www.abercrombieand-fitch.com.co/
abercrombie fitch,http://www.abercrombie-and-fitch.us.com/
abercrombie and fitch,http://www.abercrombiefitch.us.com/
abercrombie,http://www.abercrombie-kids.us.com/
adidas,http://www.adidas--canada.ca/
nike huarache,http://www.air-huarache.co.uk/
retro jordans,http://www.airjordans.us/
jordan release dates 2015,http://www.airjordanshoes2015.com/
air max 2014,http://www.airmax-2015.org/
air max,http://www.airmax-90.org/
babyliss pro,http://www.babyliss.us.org/
barbour jackets sale,http://www.barbour-factory.com/
barbour mens jackets,http://www.barbour-jacketsoutlet.com/
basketball shoes,http://www.basketballshoes.com.co/
bcbg max,http://www.bcbgdresses.net/