turns out renameTo used to move the temp file with the written data to the final location is failing silently. output PrintWriter has to be closed first before renameTo is called.
turns out renameTo used to move the temp file with the written data to the final location is failing silently.
output PrintWriter has to be closed first before renameTo is called.