přidán ručně psaný build2.xml pro Ant - možnost sestavení podobně jako přes Make
1 <?xml version="1.0" encoding="UTF-8"?>
3 Rozšířené atributy – program na správu rozšířených atributů souborů
4 Copyright © 2023 František Kučera (frantovo.cz)
6 This program is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, version 3 of the License.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>.
18 <project name="rozšířené-atributy" basedir="." default="jar">
20 <property name="JAR" value="dist/rozsirene-atributy.jar"/>
21 <property name="MAIN" value="cz.frantovo.rozsireneatributy.Startér"/>
24 value="-Dswing.defaultlaf=javax.swing.plaf.nimbus.NimbusLookAndFeel"
35 <fileset dir="build"/>
40 includeAntRuntime="no">
43 <fileset dir="src" includes="**/*.properties"/>
47 <target name="jar" depends="build">
52 <jar destfile="${JAR}" basedir="build">
54 <attribute name="Main-Class" value="${MAIN}"/>
59 <target name="run" depends="jar">
60 <exec executable="java">
64 <arg value="--soubor"/>