Author: timotei
Date: Wed Jul 13 22:46:31 2011
New Revision: 50287
URL: http://svn.gna.org/viewcvs/wesnoth?rev=50287&view=rev
Log:
eclipse plugin: Create the tree cache if it's not existing
Modified:
trunk/utils/umc_dev/org.wesnoth/src/org/wesnoth/projects/ProjectCache.java
Modified:
trunk/utils/umc_dev/org.wesnoth/src/org/wesnoth/projects/ProjectCache.java
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/utils/umc_dev/org.wesnoth/src/org/wesnoth/projects/ProjectCache.java?rev=50287&r1=50286&r2=50287&view=diff
==============================================================================
--- trunk/utils/umc_dev/org.wesnoth/src/org/wesnoth/projects/ProjectCache.java
(original)
+++ trunk/utils/umc_dev/org.wesnoth/src/org/wesnoth/projects/ProjectCache.java
Wed Jul 13 22:46:31 2011
@@ -225,6 +225,7 @@
propertiesTimetamp_ = wesnothFile_.lastModified();
// save the PDT tree
+ ResourceUtils.createNewFile(
treeCacheFile_.getAbsolutePath( ) );
FileOutputStream outStream = new FileOutputStream( treeCacheFile_
);
ObjectOutputStream serializer = new ObjectOutputStream( outStream
);
serializer.writeObject( dependTree_ );
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits