Print info whether a section has already been written, or not

This commit is contained in:
Lukas Eder 2012-08-05 13:42:41 +02:00
parent 6a11c02345
commit 6be316274e

View File

@ -140,7 +140,9 @@ public class Transform {
File dir = new File(path);
dir.mkdirs();
System.out.println("Transforming section " + path);
System.out.print("[");
System.out.print(StringUtils.isBlank(section.find("content").text()) ? " " : "x");
System.out.println("] Transforming section " + path);
File file = new File(dir, "index.php");
file.delete();
FileOutputStream out = new FileOutputStream(file);