diff --git a/bindings/java/build.xml b/bindings/java/build.xml index 1493fb67..890ba1c7 100644 --- a/bindings/java/build.xml +++ b/bindings/java/build.xml @@ -184,7 +184,7 @@ + value="src/org/hyperic/sigar/Version.java"/> diff --git a/bindings/java/src/org/hyperic/sigar/Sigar.java b/bindings/java/src/org/hyperic/sigar/Sigar.java index b7037e37..c927bb15 100644 --- a/bindings/java/src/org/hyperic/sigar/Sigar.java +++ b/bindings/java/src/org/hyperic/sigar/Sigar.java @@ -48,7 +48,7 @@ public class Sigar implements SigarProxy { * The Sigar java version. */ public static final String VERSION_STRING = - SigarVersion.VERSION_STRING; + Version.VERSION_STRING; /** * The Sigar native version. @@ -59,7 +59,7 @@ public class Sigar implements SigarProxy { * The scm (svn) revision from which sigar.jar was built. */ public static final String SCM_REVISION = - SigarVersion.SCM_REVISION; + Version.SCM_REVISION; /** * The scm (svn) revision from which the sigar native binary was built. @@ -70,7 +70,7 @@ public class Sigar implements SigarProxy { * The date on which sigar.jar was built. */ public static final String BUILD_DATE = - SigarVersion.BUILD_DATE; + Version.BUILD_DATE; /** * The date on which the sigar native binary was built. diff --git a/bindings/java/src/org/hyperic/sigar/SigarVersion.java.in b/bindings/java/src/org/hyperic/sigar/Version.java.in similarity index 90% rename from bindings/java/src/org/hyperic/sigar/SigarVersion.java.in rename to bindings/java/src/org/hyperic/sigar/Version.java.in index de9ea078..630bf60f 100644 --- a/bindings/java/src/org/hyperic/sigar/SigarVersion.java.in +++ b/bindings/java/src/org/hyperic/sigar/Version.java.in @@ -1,6 +1,6 @@ package org.hyperic.sigar; -class SigarVersion { +class Version { static final String BUILD_DATE = "@@BUILD_DATE@@";