Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/releng
diff options
context:
space:
mode:
authorDoug Schaefer2003-08-20 15:47:41 +0000
committerDoug Schaefer2003-08-20 15:47:41 +0000
commit451e25f28ed9331d2b4daff9b52db106b91c459b (patch)
tree03c3f24a6f84bcfcc67322327cb472379d3621f3 /releng
parentb9f356214f1609a09e7296e5cb75ca6ddc86f950 (diff)
downloadorg.eclipse.cdt-451e25f28ed9331d2b4daff9b52db106b91c459b.tar.gz
org.eclipse.cdt-451e25f28ed9331d2b4daff9b52db106b91c459b.tar.xz
org.eclipse.cdt-451e25f28ed9331d2b4daff9b52db106b91c459b.zip
Trying to get the version.txt and index.html files to get
created.
Diffstat (limited to 'releng')
-rw-r--r--releng/org.eclipse.cdt.releng/src/org/eclipse/cdt/releng/DoBuild.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/releng/org.eclipse.cdt.releng/src/org/eclipse/cdt/releng/DoBuild.java b/releng/org.eclipse.cdt.releng/src/org/eclipse/cdt/releng/DoBuild.java
index 0669c508cd..fe7ba580e7 100644
--- a/releng/org.eclipse.cdt.releng/src/org/eclipse/cdt/releng/DoBuild.java
+++ b/releng/org.eclipse.cdt.releng/src/org/eclipse/cdt/releng/DoBuild.java
@@ -217,7 +217,9 @@ public class DoBuild implements IPlatformRunnable {
ftp.chdir(ftpPath);
IPath resultDir = Platform.getLocation().removeLastSegments(1).append("results");
- OutputStream stream = new FileOutputStream(resultDir.append("index.html").toOSString());
+ String indexFile = resultDir.append("index.html").toOSString();
+ System.out.println("Index file at: " + indexFile);
+ OutputStream stream = new FileOutputStream(indexFile);
ftp.get(stream, "index.html");
stream.close();
@@ -271,7 +273,7 @@ public class DoBuild implements IPlatformRunnable {
OutputStream stream = new FileOutputStream(versionTxt);
PrintStream versionText = new PrintStream(stream);
versionText.println(version);
- stream.close();
+ versionText.close();
System.out.println("Version: " + version);

Back to the top