ANT Interviewfragen und Antworten
Question: How to set property file in Ant script?Answer: <!-- Import properties from build.properties --><property name="build.properties" value="${basedir}/conf/build.properties" /> <fail message="Missing build.properties file: please use -Dbuild.properties=/path/to/file"> <condition> <not> <available file="${build.properties}" type="file" /> </not> </condition> </fail> <property file="${build.properties}" /> |
Zum Wiederholen speichern
Speichere diesen Eintrag als Lesezeichen, markiere ihn als schwierig oder lege ihn in einem Wiederholungsset ab.
Melde dich an, um Lesezeichen, schwierige Fragen und Wiederholungssets zu speichern.
Ist das hilfreich? Ja Nein
Am hilfreichsten laut Nutzern:
- 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?