<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>
