Topic: Clearmake & Ant[转] |
Print this page |
1.Clearmake & Ant[转] | Copy to clipboard |
Posted by: javapro Posted on: 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. |
2.Re:Clearmake & Ant[转] [Re: javapro] | Copy to clipboard |
Posted by: floater Posted on: 2003-08-07 22:12 Is there any reason why you need both? I am curious since normally you use just one of them, not both. Interface with something? |
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 |