diff --git a/src/main/java/org/spin/base/Version.java b/src/main/java/org/spin/base/Version.java index 0e0211cc..6b651466 100644 --- a/src/main/java/org/spin/base/Version.java +++ b/src/main/java/org/spin/base/Version.java @@ -21,6 +21,8 @@ import java.text.SimpleDateFormat; import java.util.Properties; +import org.compiere.util.CLogger; + /** * @author Edwin Betancourt, EdwinBetanc0urt@outlook.com, https://github.com/EdwinBetanc0urt * Service for backend of Version @@ -28,6 +30,8 @@ public final class Version { + private static CLogger log = CLogger.getCLogger(Version.class); + /** Main Version String */ // Conventions for naming second number is even for stable, and odd for unstable // the releases will have a suffix (a) for alpha - (b) for beta - (t) for trunk - (s) for stable - and (LTS) for long term support @@ -60,6 +64,8 @@ public final class Version IMPLEMENTATION_VERSION = properties.getProperty("IMPLEMENTATION_VERSION"); } } catch (IOException e) { + // file does not exists + log.warning("File version.properties does no exists"); } } }