eclipse plugin: use the ResourceUtils.createNewFile...

...when creating the defines file first time, so we will create the
project's temporary folder as well
This commit is contained in:
Timotei Dolean 2012-04-08 19:44:34 +00:00
parent 0f5ea293fe
commit 7e03e6be5b

View File

@ -221,7 +221,7 @@ public class ProjectCache implements Serializable
{
try {
if( ! definesFile_.exists( ) ) {
definesFile_.createNewFile( );
ResourceUtils.createNewFile( definesFile_.getAbsolutePath( ) );
}
FileWriter writer = new FileWriter( definesFile_ );