Fetching contributors…
Cannot retrieve contributors at this time
20 lines (19 sloc) 882 Bytes
<project name="version" default="default" basedir=".">
<property name="jffi.version.major" value="1"/>
<property name="jffi.version.minor" value="2"/>
<property name="jffi.version.micro" value="8"/>
<target name="-generate-version-source" depends="">
<echo message="Generating Version.java"/>
<mkdir dir="${build.classes.dir}"/>
<mkdir dir="${build.dir}/java/com/kenai/jffi"/>
<echo file="${build.dir}/java/com/kenai/jffi/Version.java" append="false">
package com.kenai.jffi;
public final class Version {
private Version() {}
public static final int MAJOR = ${jffi.version.major};
public static final int MINOR = ${jffi.version.minor};
public static final int MICRO = ${jffi.version.micro};
}
</echo>
</target>
</project>