diff options
Diffstat (limited to 'sca-java-2.x/trunk/modules/core-spi/src/main/java/org')
-rw-r--r-- | sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/Version.java | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/Version.java b/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/Version.java index b112176982..6060910a17 100644 --- a/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/Version.java +++ b/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/Version.java @@ -23,13 +23,25 @@ import java.util.ResourceBundle; public class Version {
+ public static final String VERSION;
public static final String REVISION;
+ public static final String BUILDTIME;
static {
- ResourceBundle rb = ResourceBundle.getBundle("org/apache/tuscany/sca/runtime/core-spi-messages");
+ ResourceBundle rb = ResourceBundle.getBundle("org/apache/tuscany/sca/runtime/revision");
+ VERSION = rb.getString("version");
REVISION = rb.getString("revision");
+ BUILDTIME = rb.getString("buildtime");
}
+ public static String getVersion() {
+ return VERSION;
+ }
+
public static String getRevsion() {
return REVISION;
}
+
+ public static String getBuildTime() {
+ return BUILDTIME;
+ }
}
|