git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor
[fanfix.git]
/
build.xml
diff --git
a/build.xml
b/build.xml
index 156a21553c2a60952abd6fd9b4a7ef67661c812e..0bdf890e2eed19c2f311b13f0da8a5a9d2a7787a 100644
(file)
--- a/
build.xml
+++ b/
build.xml
@@
-4,7
+4,7
@@
The MIT License (MIT)
The MIT License (MIT)
- Copyright (C) 201
7
Kevin Lamonte
+ Copyright (C) 201
9
Kevin Lamonte
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
@@
-30,11
+30,7
@@
<project name="jexer" basedir="." default="jar">
<project name="jexer" basedir="." default="jar">
- <!-- I test with gcj because it is Java 1.5 and has better warnings
- for unused imports. -->
- <property name="build.compiler" value="gcj"/>
-
- <property name="version" value="0.0.5"/>
+ <property name="version" value="1.0.0"/>
<property name="src.dir" value="src"/>
<property name="resources.dir" value="resources"/>
<property name="build.dir" value="build"/>
<property name="src.dir" value="src"/>
<property name="resources.dir" value="resources"/>
<property name="build.dir" value="build"/>
@@
-53,16
+49,31
@@
includeantruntime="false"
debug="on"
debuglevel="lines,vars,source"
includeantruntime="false"
debug="on"
debuglevel="lines,vars,source"
- />
+ target="1.6"
+ source="1.6"
+ >
+ <compilerarg value="-Xlint"/>
+ <compilerarg value="-Xdiags:verbose"/>
+ <compilerarg value="-Xlint:deprecation" />
+ </javac>
</target>
<target name="jar" depends="compile">
<mkdir dir="${jar.dir}"/>
<jar destfile="${jar.dir}/${ant.project.name}.jar"
basedir="${classes.dir}">
</target>
<target name="jar" depends="compile">
<mkdir dir="${jar.dir}"/>
<jar destfile="${jar.dir}/${ant.project.name}.jar"
basedir="${classes.dir}">
- <fileset dir="${resources.dir}"/>
+
+ <fileset dir="${resources.dir}">
+ <exclude name="**/*TTF-4.39.ttf" />
+ <exclude name="**/*Italic*.ttf" />
+ </fileset>
+
+ <!-- Include properties files. -->
+ <fileset dir="${src.dir}" includes="**/*.properties"/>
+
<!-- Include source by default. -->
<!-- Include source by default. -->
- <fileset dir="${src.dir}"/>
+ <!-- <fileset dir="${src.dir}"/> -->
+
<manifest>
<attribute name="Main-Class" value="jexer.demos.Demo1"/>
<attribute name="Implementation-Version" value="${version}"/>
<manifest>
<attribute name="Main-Class" value="jexer.demos.Demo1"/>
<attribute name="Implementation-Version" value="${version}"/>
@@
-82,6
+93,12
@@
<target name="doc" depends="docs"/>
<target name="doc" depends="docs"/>
+ <!--
+ For Java 11+, add additionalparam="dash-dash-frames". My
+ workflow is back to Java 8, so leaving this comment here for
+ myself when Debian stables moves to Java 11.
+ -->
+
<target name="docs" depends="jar">
<javadoc
destdir="${apidocs.dir}"
<target name="docs" depends="jar">
<javadoc
destdir="${apidocs.dir}"
@@
-89,18
+106,18
@@
version="true"
use="true"
access="protected"
version="true"
use="true"
access="protected"
-
failonwarning="true
"
- windowtitle="Jexer - Java Text User Interface - API docs">
-
+
windowtitle="Jexer - Java Text User Interface - API docs
"
+ additionalparam="--frames"
+ >
<fileset dir="${src.dir}" defaultexcludes="yes">
<fileset dir="${src.dir}" defaultexcludes="yes">
- <include name="jexer/**"/>
+ <include name="jexer/**
/*.java
"/>
</fileset>
<doctitle>
<![CDATA[<h1>Jexer - Java Text User Interface Library</h1>]]>
</doctitle>
<bottom>
</fileset>
<doctitle>
<![CDATA[<h1>Jexer - Java Text User Interface Library</h1>]]>
</doctitle>
<bottom>
- <![CDATA[<i>Copyright © 201
7
Kevin Lamonte. Licensed MIT.</i>]]>
+ <![CDATA[<i>Copyright © 201
9
Kevin Lamonte. Licensed MIT.</i>]]>
</bottom>
<!--
<tag name="todo" scope="all" description="To do:"/>
</bottom>
<!--
<tag name="todo" scope="all" description="To do:"/>