Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2010-02-02 22:39:39 +0000
committerThomas Watson2010-02-02 22:39:39 +0000
commitf40631cb0d34d3c608083d00d7930a93fc8cef83 (patch)
treeec4aeb7f115f7df7fb1703d64def4506f6db0811 /bundles
parentc54cf398d4bcb07fef4882a8d142960c1dad0db6 (diff)
downloadrt.equinox.framework-f40631cb0d34d3c608083d00d7930a93fc8cef83.tar.gz
rt.equinox.framework-f40631cb0d34d3c608083d00d7930a93fc8cef83.tar.xz
rt.equinox.framework-f40631cb0d34d3c608083d00d7930a93fc8cef83.zip
Bug 301502 - Tracing: no version number in files that were rotated
Diffstat (limited to 'bundles')
-rw-r--r--bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/framework/debug/EclipseDebugTrace.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/framework/debug/EclipseDebugTrace.java b/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/framework/debug/EclipseDebugTrace.java
index 0a0991521..13675c5ba 100644
--- a/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/framework/debug/EclipseDebugTrace.java
+++ b/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/framework/debug/EclipseDebugTrace.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2009 IBM Corporation and others.
+ * Copyright (c) 2009, 2010 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -408,6 +408,7 @@ class EclipseDebugTrace implements DebugTrace {
try {
traceWriter = openWriter(traceFile);
writeComment(traceWriter, "This is a continuation of trace file " + backupFile.getAbsolutePath()); //$NON-NLS-1$
+ writeComment(traceWriter, EclipseDebugTrace.TRACE_FILE_VERSION_COMMENT + EclipseDebugTrace.TRACE_FILE_VERSION);
writeComment(traceWriter, EclipseDebugTrace.TRACE_FILE_DATE + EclipseDebugTrace.TRACE_FILE_DATE_FORMATTER.format(new Date(System.currentTimeMillis())));
traceWriter.flush();
} catch (IOException ioEx) {

Back to the top