-
Notifications
You must be signed in to change notification settings - Fork 78
/
version.xml
23 lines (23 loc) · 1002 Bytes
/
version.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<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;
import java.lang.annotation.Native;
public final class Version {
private Version() {}
@Native
public static final int MAJOR = ${jffi.version.major};
@Native
public static final int MINOR = ${jffi.version.minor};
@Native
public static final int MICRO = ${jffi.version.micro};
}
</echo>
</target>
</project>