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="VERSION" value="0.2-SNAPSHOT"/>
21 <property name="JAR" value="target/rozsirene-atributy-${VERSION}.jar"/>
22 <property name="MAIN" value="cz.frantovo.rozsireneatributy.Startér"/>
25 value="-Dswing.defaultlaf=javax.swing.plaf.nimbus.NimbusLookAndFeel"
29 <delete dir="target"/>
32 <target name="target/classes">
33 <mkdir dir="target/classes"/>
35 <fileset dir="target"/>
38 srcdir="src/main/java"
39 destdir="target/classes"
40 includeAntRuntime="no">
42 <copy todir="target/classes">
43 <fileset dir="src/main/resources" includes="**/*.properties"/>
47 <target name="jar" depends="target/classes">
48 <jar destfile="${JAR}" basedir="target/classes">
50 <attribute name="Main-Class" value="${MAIN}"/>
55 <target name="run" depends="jar">
56 <exec executable="java">
60 <arg value="--soubor"/>