Rewards
Web
Images
Videos
Academic
Dict
Maps
More
Flights
My Bing
Notebook
antbuild
Sample Sentence
Definition:
All
All
Category:
All
All
,
Oral
Oral
,
Written
Written
,
Title
Title
,
Technical
Technical
Source:
All
All
,
Dictionary
Dictionary
,
Web
Web
Difficulty:
All
All
,
Easy
Easy
,
Middle
Middle
,
Hard
Hard
More sentence filters
Hide sentence filters
1.
Now
you
're
ready
to
run
ant
build
and
ant
war
to
compile
the
code
and
build
up the
.
war
file
for
deployment
accordingly
.
之后
,
就
可以
运行
antbuild
和
antwar
以
编译
代码
和
相应
构建
部署
所
需
的
.
war
文件
。
zhī hòu
,
jiù
kě yǐ
yùn xíng
antbuild
hé
antwar
yǐ
biān yì
dài mǎ
hé
xiāng yìng
gòu jiàn
bù shǔ
suǒ
xū
de
.
war
wén jiàn
。
www.ibm.com
2.
If
you
have
all
these
folders
in
your
project
,
you
're
ready
to
add
an Ant build
.
xml
file
to
run
the
transformation
process
.
如果
项目
中
有
了
所有
这些
文件夹
,
那么
您
已经
准备好
添加
Antbuild.xml
文件
以
运行
转换
过程
。
rú guǒ
xiàng mù
zhōng
yǒu
liǎo
suǒ yǒu
zhè xiē
wén jiàn jiā
,
nà me
nín
yǐ jīng
zhǔn bèi hǎo
tiān jiā
Antbuild.xml
wén jiàn
yǐ
yùn xíng
zhuǎn huàn
guò chéng
。
www.ibm.com
3.
You
can
see the Ant build
.
xml
files
in
the
Download
section
for
these
examples
to
see
how
to
automate
the
replacement
.
可以
在
下载
部分
获得
这些
示例
Antbuild.xml
文件
,
以
了解
如何
自动
进行
替换
。
kě yǐ
zài
xià zǎi
bù fen
huò de
zhè xiē
shì lì
Antbuild.xml
wén jiàn
,
yǐ
liǎo jiě
rú hé
zì dòng
jìn xíng
tì huàn
。
www.ibm.com
4.
To
build
the
sample
application
using
the
supplied
Ant
build
.
xml
,
open
a
console
to
the
root
directory
of
the
download
code
and
type
ant
.
要
使用
已
提供
的
Antbuild.xml
构建
示例
应用程序
,
需要
对
下载
代码
的
根
目录
和
ant
类型
打开
控制台
。
yào
shǐ yòng
yǐ
tí gōng
de
Antbuild.xml
gòu jiàn
shì lì
yìng yòng chéng xù
,
xū yào
duì
xià zǎi
dài mǎ
de
gēn
mù lù
hé
ant
lèi xíng
dǎ kāi
kòng zhì tái
。
www.ibm.com
5.
and
create
a
new
Ant
Build
configuration
.
并且
创建
一个
新
的
AntBuild
配置
。
bìng qiě
chuàng jiàn
yī gè
xīn
de
AntBuild
pèi zhì
。
www.ibm.com
6.
Now
write
the Ant build. xml
file
,
shown
in
Listing
4
,
to
test
the
custom
TweetTask
class
现在
写入
Antbuild.xml
文件
,
如
清单
4
所
示
,
以
测试
自
定义
的
TweetTask
类
xiàn zài
xiě rù
Antbuild.xml
wén jiàn
,
rú
qīng dān
sì
suǒ
shì
,
yǐ
cè shì
zì
dìng yì
de
TweetTask
lèi
www.ibm.com