-
Notifications
You must be signed in to change notification settings - Fork 0
/
version.xml
19 lines (19 loc) · 882 Bytes
/
version.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<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>