3 Jexer - Java Text User Interface - Ant build
7 This program is licensed under the GNU Lesser General Public License
8 Version 3. Please see the file "COPYING" in this directory for more
9 information about the GNU Lesser General Public License Version 3.
11 Copyright (C) 2015 Kevin Lamonte
13 This library is free software; you can redistribute it and/or modify
14 it under the terms of the GNU Lesser General Public License as
15 published by the Free Software Foundation; either version 3 of the
16 License, or (at your option) any later version.
18 This program is distributed in the hope that it will be useful,
19 but WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 GNU General Public License for more details.
23 You should have received a copy of the GNU Lesser General Public
24 License along with this program; if not, see
25 http://www.gnu.org/licenses/, or write to the Free Software
26 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
31 <project name=
"jexer" basedir=
"." default=
"jar">
33 <property name=
"src.dir" value=
"src"/>
34 <property name=
"resources.dir" value=
"resources"/>
35 <property name=
"build.dir" value=
"build"/>
36 <property name=
"classes.dir" value=
"${build.dir}/classes"/>
37 <property name=
"jar.dir" value=
"${build.dir}/jar"/>
38 <property name=
"apidocs.dir" value=
"docs/api"/>
41 <delete dir=
"${build.dir}"/>
42 <delete dir=
"${apidocs.dir}"/>
45 <target name=
"compile">
46 <mkdir dir=
"${classes.dir}"/>
47 <javac srcdir=
"${src.dir}" destdir=
"${classes.dir}"
48 includeantruntime=
"false"/>
51 <target name=
"jar" depends=
"compile">
52 <mkdir dir=
"${jar.dir}"/>
53 <jar destfile=
"${jar.dir}/${ant.project.name}.jar"
54 basedir=
"${classes.dir}">
55 <fileset dir=
"${resources.dir}"/>
56 <!-- By including Jexer's source, the LGPL terms are
57 automatically satisfied. -->
58 <fileset dir=
"${src.dir}"/>
60 <attribute name=
"Main-Class" value=
"jexer.demos.Demo1"/>
65 <target name=
"run" depends=
"jar">
66 <java jar=
"${jar.dir}/${ant.project.name}.jar" fork=
"true">
67 <arg value=
"-Djexer.Swing=true"/>
71 <target name=
"clean-build" depends=
"clean,jar"/>
73 <target name=
"main" depends=
"clean,run"/>
75 <target name=
"doc" depends=
"docs"/>
77 <target name=
"docs" depends=
"jar">
79 destdir=
"${apidocs.dir}"
85 windowtitle=
"Jexer - Java Text User Interface - API docs">
87 <fileset dir=
"${src.dir}" defaultexcludes=
"yes">
88 <include name=
"jexer/**"/>
92 <![CDATA[
<h1>Jexer - Java Text User Interface Library
</h1>]]
>
95 <![CDATA[
<i>Copyright
© 2015 Kevin Lamonte. Licensed LGPLv3+
</i>]]
>
98 <tag name="todo" scope="all" description="To do:"/>
99 <group title="Group 1 Packages" packages="com.dummy.test.a*"/>
100 <group title="Group 2 Packages" packages="com.dummy.test.b*:com.dummy.test.c*"/>
102 href="http://docs.oracle.com/javase/7/docs/api/"
103 packagelistLoc="C:\tmp"/>
104 <link href="http://docs.oracle.com/javase/7/docs/api/"/>