1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

Trying to get the version.txt and index.html files to get

created.
This commit is contained in:
Doug Schaefer 2003-08-20 15:47:41 +00:00
parent b9f356214f
commit 451e25f28e

View file

@ -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);