mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 10:16:03 +02:00
*** empty log message ***
This commit is contained in:
parent
e5ca3ac578
commit
432273ae87
1 changed files with 3 additions and 1 deletions
|
@ -266,7 +266,9 @@ public class DoBuild implements IPlatformRunnable {
|
||||||
|
|
||||||
// Save the version in a text file for inclusion in the build page
|
// Save the version in a text file for inclusion in the build page
|
||||||
IPath resultDir = Platform.getLocation().removeLastSegments(1).append("results");
|
IPath resultDir = Platform.getLocation().removeLastSegments(1).append("results");
|
||||||
OutputStream stream = new FileOutputStream(resultDir.append("version.txt").toOSString());
|
String versionTxt = resultDir.append("version.txt").toOSString();
|
||||||
|
System.out.println("Storing version in: " + versionTxt);
|
||||||
|
OutputStream stream = new FileOutputStream(versionTxt);
|
||||||
PrintStream versionText = new PrintStream(stream);
|
PrintStream versionText = new PrintStream(stream);
|
||||||
versionText.println(version);
|
versionText.println(version);
|
||||||
stream.close();
|
stream.close();
|
||||||
|
|
Loading…
Add table
Reference in a new issue