Hi, we use Velocity to template our configuration files for several different environments and this process works really well but I have a quick question relating parsing a file that doesn't exist.
My question is: How do you check if a file exists before parsing it?
So in the example the file default.user.properties might legitimately not exist and if it doesn't the rest of the file doesn't get parsed.
#parse("./default.user.properties")
I know one solution is to make sure the file is always there but it would be nice if I didn't have to.
Thanks in advance.