#5 fallback to java.runtime.name if getFontAdjustments() doesn't work
[nikiroo-utils.git] / build.xml
index 45014d9566523d1ab5735279e220fb8b26685bd5..0209da005156511c83c85703178043642ebd3d16 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -4,7 +4,7 @@
 
    The MIT License (MIT)
 
-   Copyright (C) 2016 Kevin Lamonte
+   Copyright (C) 2017 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">
 
-  <!-- <property name="build.compiler" value="gcj"/> -->
+  <!--
+      I am using GCJ deliberately to test against Java 1.5 features.
+  -->
+  <property name="build.compiler" value="gcj"/>
 
+  <property name="version"       value="0.0.5"/>
   <property name="src.dir"       value="src"/>
   <property name="resources.dir" value="resources"/>
   <property name="build.dir"     value="build"/>
@@ -62,6 +66,7 @@
       <fileset dir="${src.dir}"/>
       <manifest>
        <attribute name="Main-Class" value="jexer.demos.Demo1"/>
+       <attribute name="Implementation-Version" value="${version}"/>
       </manifest>
     </jar>
   </target>
        <![CDATA[<h1>Jexer - Java Text User Interface Library</h1>]]>
       </doctitle>
       <bottom>
-       <![CDATA[<i>Copyright &#169; 2016 Kevin Lamonte. Licensed MIT.</i>]]>
+       <![CDATA[<i>Copyright &#169; 2017 Kevin Lamonte. Licensed MIT.</i>]]>
       </bottom>
       <!--
          <tag name="todo" scope="all" description="To do:"/>