Skip to content

Commit

Permalink
RELEASE 1.3 commit, build.xml updated
Browse files Browse the repository at this point in the history
  • Loading branch information
franslundberg committed May 7, 2017
1 parent 4ea200a commit 4849995
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 13 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2017 Frans Lundberg, Stockholm, Sweden.
Copyright (c) 2014-2017 Frans Lundberg, Stockholm, Sweden.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
17 changes: 12 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,22 +37,29 @@ The tests in src-test/ depends on JUnit (junit-4.12.jar, hamcrest-core-1.3.jar).
Log
===

== 160128 ==
Log entries, latest entry first, format: YYMMDD.

## 170507

Release 1.4. Minor changes from 1.3.

## 160128

Bug in field sort order fixed thanks to a bug report by Alexander Reshniuk.

== 151004 ==
## 151004

Release 1.1.

== 150925 ==
## 150925

Release 1.0.

== 150912 ==
## 150912

Added Binson Schema validation (might be called BINSON-SCHEMA-1) in 40 lines of code.

== 140911 ==
## 140911

First upload to github.com.

28 changes: 21 additions & 7 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,37 @@
<!--
ANT build script for building binson.jar and javadoc.
Support for unit tests not included. Should build for Java 1.5 and later.
Set JAVA_HOME environment variable.
Instructions:
* Modify stuff marked with "CHANGE" in this file.
* Set JAVA_HOME environment variable.
-->

<project name="binson" default="build" basedir=".">

<target name="init" description="Initializes properties and prints version, release, and build.">
<property name="release" value="1.3-dev"/> <!-- CHANGE! for release build -->
<property name="release" value="1.3"/> <!-- CHANGE for release build -->

<tstamp>
<format property="dateString" pattern="yyMMdd" />
</tstamp>

<tstamp>
<format property="dateStringLong" pattern="yyyy-MM-dd" />
</tstamp>

<tstamp>
<format property="minuteString" pattern="yyMMdd.HHmm" />
</tstamp>

<property name="build" value="${release}.${minuteString}"/>

<echo>release: ${release}, build: ${build}</echo>
<echo>release: ${release}, build: ${build}, date: ${dateStringLong}</echo>
</target>

<target name="clean" description="Deletes files in out/.">
<mkdir dir="out"/>
<delete includeemptydirs="true">
Expand Down Expand Up @@ -61,16 +70,21 @@ Set JAVA_HOME environment variable.
<javadoc destdir="out/javadoc"
doctitle="binson-java ${release} API"
windowtitle="binson-java ${release} API"
footer="&lt;a href=&quot;http://binson.com/&quot;>binson.org&lt;a> release: ${release}. Copyright Frans Lundberg."
footer="&lt;a href=&quot;http://binson.com/&quot;>binson.org&lt;a> release: ${release}, date: ${date}. Copyright Frans Lundberg."
encoding="utf-8">

<packageset dir="src" defaultexcludes="yes">
<include name="org/binson/**"/>
</packageset>
</javadoc>
</javadoc>

<zip destfile="out/binson-javadoc-${release}.jar">
<zipfileset dir="out/javadoc" prefix="binson-javadoc-${release}"/>
</zip>

</target>

<target name="build" depends="jar, javadoc" description="Builds project, jar + javadoc">
<target name="build" depends="clean, compile, jar, javadoc" description="Cleans and builds project, jar + javadoc">
</target>

</project>

0 comments on commit 4849995

Please sign in to comment.