mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-21 19:22:13 +00:00
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:
parent
0f5ea293fe
commit
7e03e6be5b
@ -221,7 +221,7 @@ public class ProjectCache implements Serializable
|
||||
{
|
||||
try {
|
||||
if( ! definesFile_.exists( ) ) {
|
||||
definesFile_.createNewFile( );
|
||||
ResourceUtils.createNewFile( definesFile_.getAbsolutePath( ) );
|
||||
}
|
||||
|
||||
FileWriter writer = new FileWriter( definesFile_ );
|
||||
|
Loading…
x
Reference in New Issue
Block a user