mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-21 18:26:03 +00:00
eclipse plugin: Create the defines file before saving it
This commit is contained in:
parent
906342a7b8
commit
aa5ada9efe
@ -220,6 +220,10 @@ public class ProjectCache implements Serializable
|
||||
private boolean saveDefines( )
|
||||
{
|
||||
try {
|
||||
if( ! definesFile_.exists( ) ) {
|
||||
definesFile_.createNewFile( );
|
||||
}
|
||||
|
||||
FileWriter writer = new FileWriter( definesFile_ );
|
||||
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user