/** * * @return a simple version string, i.e. no formatting is applied */ public static String getSimpleVersion() { Properties buildProperties = getBuildProperties(); if(buildProperties != null) { return buildProperties.getProperty(BUILD_PROPERTIES_VERSION); } return getManifestImplementationVersion(); }
/** * * @return a simple version string, i.e. no formatting is applied */ public static String getSimpleVersion() { Properties buildProperties = getBuildProperties(); if(buildProperties != null) { return buildProperties.getProperty(BUILD_PROPERTIES_VERSION); } return getManifestImplementationVersion(); }
/** * * @return a simple version string, i.e. no formatting is applied */ public static String getSimpleVersion() { Properties buildProperties = getBuildProperties(); if(buildProperties != null) { return buildProperties.getProperty(BUILD_PROPERTIES_VERSION); } return getManifestImplementationVersion(); }
/** * * @return a simple version string, i.e. no formatting is applied */ public static String getSimpleVersion() { Properties buildProperties = getBuildProperties(); if(buildProperties != null) { return buildProperties.getProperty(BUILD_PROPERTIES_VERSION); } return getManifestImplementationVersion(); }
/** * * @return a simple version string, i.e. no formatting is applied */ public static String getSimpleVersion() { Properties buildProperties = getBuildProperties(); if(buildProperties != null) { return buildProperties.getProperty(BUILD_PROPERTIES_VERSION); } return getManifestImplementationVersion(); }
/** * * @return a simple version string, i.e. no formatting is applied */ public static String getSimpleVersion() { Properties buildProperties = getBuildProperties(); if(buildProperties != null) { return buildProperties.getProperty(BUILD_PROPERTIES_VERSION); } return getManifestImplementationVersion(); }
/** * * @param pkg This param is completely ignored * @return the formatted version */ public static String version(@Deprecated Package pkg) { String version = null; String timestamp = null; // First try the weld-build.properties file Properties buildProperties = getBuildProperties(); if (buildProperties != null) { version = buildProperties.getProperty(BUILD_PROPERTIES_VERSION); timestamp = buildProperties.getProperty(BUILD_PROPERTIES_TIMESTAMP); } if (version == null) { // If needed use the manifest info version = getManifestImplementationVersion(); } return version(version, timestamp); }
/** * * @param pkg This param is completely ignored * @return the formatted version */ public static String version(@Deprecated Package pkg) { String version = null; String timestamp = null; // First try the weld-build.properties file Properties buildProperties = getBuildProperties(); if (buildProperties != null) { version = buildProperties.getProperty(BUILD_PROPERTIES_VERSION); timestamp = buildProperties.getProperty(BUILD_PROPERTIES_TIMESTAMP); } if (version == null) { // If needed use the manifest info version = getManifestImplementationVersion(); } return version(version, timestamp); }
/** * * @param pkg This param is completely ignored * @return the formatted version */ public static String version(@Deprecated Package pkg) { String version = null; String timestamp = null; // First try the weld-build.properties file Properties buildProperties = getBuildProperties(); if (buildProperties != null) { version = buildProperties.getProperty(BUILD_PROPERTIES_VERSION); timestamp = buildProperties.getProperty(BUILD_PROPERTIES_TIMESTAMP); } if (version == null) { // If needed use the manifest info version = getManifestImplementationVersion(); } return version(version, timestamp); }
/** * * @param pkg This param is completely ignored * @return the formatted version */ public static String version(@Deprecated Package pkg) { String version = null; String timestamp = null; // First try the weld-build.properties file Properties buildProperties = getBuildProperties(); if (buildProperties != null) { version = buildProperties.getProperty(BUILD_PROPERTIES_VERSION); timestamp = buildProperties.getProperty(BUILD_PROPERTIES_TIMESTAMP); } if (version == null) { // If needed use the manifest info version = getManifestImplementationVersion(); } return version(version, timestamp); }
/** * * @param pkg This param is completely ignored * @return the formatted version */ public static String version(@Deprecated Package pkg) { String version = null; String timestamp = null; // First try the weld-build.properties file Properties buildProperties = getBuildProperties(); if (buildProperties != null) { version = buildProperties.getProperty(BUILD_PROPERTIES_VERSION); timestamp = buildProperties.getProperty(BUILD_PROPERTIES_TIMESTAMP); } if (version == null) { // If needed use the manifest info version = getManifestImplementationVersion(); } return version(version, timestamp); }
/** * * @param pkg This param is completely ignored * @return the formatted version */ public static String version(@Deprecated Package pkg) { String version = null; String timestamp = null; // First try the weld-build.properties file Properties buildProperties = getBuildProperties(); if (buildProperties != null) { version = buildProperties.getProperty(BUILD_PROPERTIES_VERSION); timestamp = buildProperties.getProperty(BUILD_PROPERTIES_TIMESTAMP); } if (version == null) { // If needed use the manifest info version = getManifestImplementationVersion(); } return version(version, timestamp); }