Skip to content

Commit

Permalink
fix: Add log warning with version file. (#946)
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwinBetanc0urt authored Dec 10, 2024
1 parent 404b7f3 commit 5b23f17
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/java/org/spin/base/Version.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,17 @@
import java.text.SimpleDateFormat;
import java.util.Properties;

import org.compiere.util.CLogger;

/**
* @author Edwin Betancourt, [email protected], https://github.com/EdwinBetanc0urt
* Service for backend of Version
*/
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
Expand Down Expand Up @@ -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");
}
}
}
Expand Down

0 comments on commit 5b23f17

Please sign in to comment.