ANT 面接の質問と回答
Question: How to set Classpath in Ant script?Answer: The following is the code snippet to set the classpath in ant:<path id=”build.classpath”> <fileset dir=”${build.lib}” includes=”**/*.jar/> <fileset dir=”${build.class”}/> </path> <target….> <javac….> <classpath field=”build.classpath”/> </javac> </target> <target….> <javac….> <classpath field=”build.classpath”/> </javac> </target> |
復習用に保存
この項目をブックマークに追加したり、難しい内容としてマークしたり、復習セットに入れたりできます。
役に立ちましたか? はい いいえ
ユーザー評価で最も役立つ内容:
- What is ANT?
- Explain ANT functionality.
- Explain using ANT and give an small example.
- How to set Classpath in Ant script?
- How to set property file in Ant script?