aboutsummaryrefslogtreecommitdiffstats
path: root/build/lib
diff options
context:
space:
mode:
authoraclement <aclement>2004-03-04 15:18:46 +0000
committeraclement <aclement>2004-03-04 15:18:46 +0000
commit223951856673c27ebec5ffb61b929fadb4b6f567 (patch)
treeaa0d43b322884ddfeadc48c2f270befe94e0e6a0 /build/lib
parent5e870cf13b87452e0a79a737706e59c8323722cb (diff)
downloadaspectj-223951856673c27ebec5ffb61b929fadb4b6f567.tar.gz
aspectj-223951856673c27ebec5ffb61b929fadb4b6f567.zip
Georges fix to add build date/time info to DEVELOPMENT builds.
Diffstat (limited to 'build/lib')
-rw-r--r--build/lib/BridgeVersion.java.txt16
1 files changed, 7 insertions, 9 deletions
diff --git a/build/lib/BridgeVersion.java.txt b/build/lib/BridgeVersion.java.txt
index 4d82a700b..5a755d097 100644
--- a/build/lib/BridgeVersion.java.txt
+++ b/build/lib/BridgeVersion.java.txt
@@ -51,15 +51,13 @@ public class Version {
// if not DEVELOPMENT version, read time text using format used to set time
static {
long foundTime = NOTIME;
- if (!DEVELOPMENT.equals(text)) {
- try {
- SimpleDateFormat format = new SimpleDateFormat(SIMPLE_DATE_FORMAT);
- ParsePosition pos = new ParsePosition(0);
- Date date = format.parse(time_text, pos);
- foundTime = date.getTime();
- } catch (Throwable t) {
- }
- }
+ try {
+ SimpleDateFormat format = new SimpleDateFormat(SIMPLE_DATE_FORMAT);
+ ParsePosition pos = new ParsePosition(0);
+ Date date = format.parse(time_text, pos);
+ foundTime = date.getTime();
+ } catch (Throwable t) {
+ }
time = foundTime;
}