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
stubs for editor copy/paste
[fanfix.git]
/
build.xml
diff --git
a/build.xml
b/build.xml
index 93b79d83df085d95d4064ee63da6acbaed292e65..327793a444029c2b134d517ba66ffe0c667eb394 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.6"/>
+ <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,7
+49,11
@@
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:deprecation" />
+ </javac>
</target>
<target name="jar" depends="compile">
</target>
<target name="jar" depends="compile">
@@
-61,8
+61,13
@@
<jar destfile="${jar.dir}/${ant.project.name}.jar"
basedir="${classes.dir}">
<fileset dir="${resources.dir}"/>
<jar destfile="${jar.dir}/${ant.project.name}.jar"
basedir="${classes.dir}">
<fileset dir="${resources.dir}"/>
+
+ <!-- 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
+87,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
+100,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:"/>