experimental 24-bit image protocol
[nikiroo-utils.git] / build.xml
index 156a21553c2a60952abd6fd9b4a7ef67661c812e..92d488bc6267f371bf5917711f8e807d67439e40 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -4,7 +4,7 @@
 
    The MIT License (MIT)
 
-   Copyright (C) 2017 Kevin Lamonte
+   Copyright (C) 2019 Kevin Lamonte
 
    Permission is hereby granted, free of charge, to any person
    obtaining a copy of this software and associated documentation
 
 <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="0.3.2"/>
   <property name="src.dir"       value="src"/>
   <property name="resources.dir" value="resources"/>
   <property name="build.dir"     value="build"/>
@@ -53,6 +49,8 @@
            includeantruntime="false"
            debug="on"
            debuglevel="lines,vars,source"
+           target="1.6"
+           source="1.6"
            />
   </target>
 
     <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. -->
-      <fileset dir="${src.dir}"/>
+      <!-- <fileset dir="${src.dir}"/> -->
+
       <manifest>
         <attribute name="Main-Class" value="jexer.demos.Demo1"/>
         <attribute name="Implementation-Version" value="${version}"/>
 
   <target name="doc" depends="docs"/>
 
-  <target name="docs" depends="jar">
+  <!--
+      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}"
         author="true"
         version="true"
         use="true"
         access="protected"
-        failonwarning="true"
-        windowtitle="Jexer - Java Text User Interface - API docs">
-
+        windowtitle="Jexer - Java Text User Interface - API docs"
+        >
       <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>
-        <![CDATA[<i>Copyright &#169; 2017 Kevin Lamonte. Licensed MIT.</i>]]>
+        <![CDATA[<i>Copyright &#169; 2019 Kevin Lamonte. Licensed MIT.</i>]]>
       </bottom>
       <!--
           <tag name="todo" scope="all" description="To do:"/>