eclipse plugin: Create the tree cache if it's not existing

This commit is contained in:
Timotei Dolean 2011-07-13 20:46:31 +00:00
parent 6ee95923ee
commit b178c62a2d

View file

@ -225,6 +225,7 @@ public class ProjectCache
propertiesTimetamp_ = wesnothFile_.lastModified();
// save the PDT tree
ResourceUtils.createNewFile( treeCacheFile_.getAbsolutePath( ) );
FileOutputStream outStream = new FileOutputStream( treeCacheFile_ );
ObjectOutputStream serializer = new ObjectOutputStream( outStream );
serializer.writeObject( dependTree_ );