generated from adempiere/adempiere-grpc-template-service
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from EdwinBetanc0urt/bugfix/version-published
fix: Version published on release.
- Loading branch information
Showing
4 changed files
with
30 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -60,7 +64,8 @@ public final class Version | |
IMPLEMENTATION_VERSION = properties.getProperty("IMPLEMENTATION_VERSION"); | ||
} | ||
} catch (IOException e) { | ||
// file does not exist | ||
// file does not exists | ||
log.warning("File version.properties does no exists"); | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters