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?