Topic: 这个javac 中的incude 是啥意思啊? about ant |
Print this page |
1.这个javac 中的incude 是啥意思啊? about ant | Copy to clipboard |
Posted by: 20020808 Posted on: 2006-01-12 10:26 <target name="UKLights" description="builds the main UKLights project"> <echo> Doing UKLighys</echo> <copy file="${src}/UKLighy.jpeg" tofile="${build}/UKLights.jpeg"/> <javac src="${src}" destdir="${build}" include="UKLights.java"/> </target> 这个javac 中的incude 是啥意思啊? in the src allready includes the file UKLights.java while another 'include' |
2.Re:这个javac 中的incude 是啥意思啊? about ant [Re: 20020808] | Copy to clipboard |
Posted by: why Posted on: 2006-01-12 20:53 I think it should be "includes", check the Ant reference: http://ant.apache.org/manual/CoreTasks/javac.html It is possible to refine the set of files that are being compiled. This can be done with the includes, includesfile, excludes, and excludesfile attributes. With the includes or includesfile attribute, you specify the files you want to have included. ... See the section on directory-based tasks, for information on how the inclusion/exclusion of files works, and how to write wildcard patterns. http://ant.apache.org/manual/dirtasks.html#directorybasedtasks In this case, only UKLights.java (that match the "includes" pattern) will be included. |
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 |