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:
parent
b9f356214f
commit
451e25f28e
1 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue