Apache Ant: Różnice pomiędzy wersjami
[wersja nieprzejrzana] | [wersja nieprzejrzana] |
Usunięta treść Dodana treść
→Przykładowy plik build.xml: poprawiłem zamknięcia <target>. Bez '>' nie był poprawnym plikem XML. było:<target</target> jest: <target></target> |
→Przykładowy plik build.xml: ups. mój błąd. przywracam oryginał ;) |
||
Linia 31:
<delete dir="classes"/>
</target>
<target name="compile"
description="compile the Java source code to class files">
<mkdir dir="classes"/>
<javac srcdir="." destdir="classes"/>
</target>
<target name="jar" depends="compile"
description="create a Jar file for the application">
<jar destfile="hello.jar">
|