Java开发网 |
注册 |
登录 |
帮助 |
搜索 |
排行榜 |
发帖统计
|
您没有登录 |
» Java开发网 » Design Pattern & UML
打印话题 寄给朋友 订阅主题 |
作者 | Clearmake & Ant[转] |
javapro
发贴: 56 积分: 50 |
于 2003-08-07 13:15
I am using clearmake and ant in building and configuring (our process for capturing a frozen version of our software) a client-server application written using Java. To accomplish this, I have a small makefile which simply runs ant to build our jar files, for example: # Target Rules: all: ${main_app} ${sub_app1} ${sub_app2} ${main_app}: ant -file ${main_app}.xml jar_all ${sub_app1}: ant -file ${sub_app1}.xml ${sub_app2}: ant -file ${sub_app2}.xml The main advantage for doing so is that I can use the configuration record from jar files (built using ant through clearmake) to identify and label source files which were used in the build. This is part of the mechanism we use for configuring our software. Right now, our product is fairly small - we rebuild all every time and aren't concerned with minimal rebuilds. We haven't noticed any disadvantages - maybe since it's the first Java product we've developed. Hope this helps. 学java的朋友,请一起来投票让sun推出中文jdk文档!!! |
话题树型展开 |
人气 | 标题 | 作者 | 字数 | 发贴时间 |
5064 | Clearmake & Ant[转] | javapro | 1128 | 2003-08-07 13:15 |
4212 | Re:Clearmake & Ant[转] | floater | 128 | 2003-08-07 22:12 |
已读帖子 新的帖子 被删除的帖子 |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |