Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

preparation for release of version 0.9.8

  * bumped compile time dep commons-cli from 1.0 to 1.2
  * introduced a title for a release
  • Loading branch information...
commit 5ec78bcd0db020bab3d994a386ecb60437545abe 1 parent c189a94
Ole Langbehn authored
6 build.xml
View
@@ -5,7 +5,8 @@
<property name="DESTDIR" value="/" />
<!-- properties -->
- <property name="version" value="0.9.7" />
+ <property name="version" value="0.9.8" />
+ <property name="title" value="Yay Labor Day" />
<property name="src" value="src" />
<property name="bin" value="bin" />
<property name="lib" value="lib" />
@@ -17,7 +18,7 @@
<property name="tarbase" value="henplus-${version}" />
<!-- libs -->
- <property name="commons-cli" value="commons-cli-1.0.jar"/>
+ <property name="commons-cli" value="commons-cli-1.2.jar"/>
<property name="libreadline-java" value="libreadline-java-0.8.0.jar"/>
<path id="compile.classpath">
@@ -52,6 +53,7 @@
<target name="Version.java">
<filter token="HENPLUS_VERSION" value="${version}"/>
+ <filter token="HENPLUS_VERSION_TITLE" value="${title}"/>
<filter token="COMPILE_TIME" value="${COMPTIME}"/>
<copy file="${src}/henplus/Version.java.in"
tofile="${src}/henplus/Version.java"
BIN  lib/commons-cli-1.0.jar
View
Binary file not shown
BIN  lib/commons-cli-1.2.jar
View
Binary file not shown
1  src/henplus/Version.java.in
View
@@ -12,6 +12,7 @@ package henplus;
public class Version {
public static String getVersion() { return "@HENPLUS_VERSION@"; }
public static String getCompileTime() { return "@COMPILE_TIME@"; }
+ public static String getVersionTitle() { return "@HENPLUS_VERSION_TITLE@"; }
}
/*
21 src/henplus/commands/AboutCommand.java
View
@@ -18,13 +18,20 @@
final static String LICENSE =
"GNU Public License <http://www.gnu.org/licenses/gpl2.txt>";
- final static String ABOUT =
-"----------------------------------------------------------------------------\n"
-+" HenPlus II " + Version.getVersion() + " Copyright(C) 1997..2007 Henner Zeller <H.Zeller@acm.org>\n"
-+" HenPlus is provided AS IS and comes with ABSOLUTELY NO WARRANTY\n"
-+" This is free software, and you are welcome to redistribute it under the\n"
-+" conditions of the " + LICENSE + "\n"
-+"----------------------------------------------------------------------------\n";
+ final static String ABOUT = new StringBuilder()
+ .append("----------------------------------------------------------------------------\n")
+ .append(" HenPlus II ")
+ .append(Version.getVersion())
+ .append(" \"")
+ .append(Version.getVersionTitle())
+ .append("\"\n")
+ .append(" Copyright(C) 1997..2009 Henner Zeller <H.Zeller@acm.org>\n")
+ .append(" HenPlus is provided AS IS and comes with ABSOLUTELY NO WARRANTY\n")
+ .append(" This is free software, and you are welcome to redistribute it under the\n")
+ .append(" conditions of the " + LICENSE + "\n")
+ .append("----------------------------------------------------------------------------\n")
+ .toString();
+
/**
* returns the command-strings this command can handle.
*/
Please sign in to comment.
Something went wrong with that request. Please try again.