- applicationProperties.put("BUILD_DATE",
- buildProperties.get("BUILD_DATE"));
- applicationProperties.put("INSTALLATION",
- buildProperties.get("INSTALLATION"));
- applicationProperties.put("VERSION", buildProperties.get("VERSION"));
+ if (buildProperties.getProperty("BUILD_DATE", null) != null)
+ {
+ applicationProperties.put("BUILD_DATE",
+ buildProperties.getProperty("BUILD_DATE"));
+ }
+ if (buildProperties.getProperty("INSTALLATION", null) != null)
+ {
+ applicationProperties.put("INSTALLATION",
+ buildProperties.getProperty("INSTALLATION"));
+ }
+ if (buildProperties.getProperty("VERSION", null) != null)
+ {
+ applicationProperties.put("VERSION",
+ buildProperties.getProperty("VERSION"));
+ }