From 537de6eecfae602bdf2d224816e97f0349d0357e Mon Sep 17 00:00:00 2001 From: anna Date: Tue, 29 Sep 2009 21:12:32 +0400 Subject: [PATCH] new order --- platform/util/src/com/intellij/util/lang/ClassPath.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/util/src/com/intellij/util/lang/ClassPath.java b/platform/util/src/com/intellij/util/lang/ClassPath.java index bfad419d68cd..ee0daf31e339 100644 --- a/platform/util/src/com/intellij/util/lang/ClassPath.java +++ b/platform/util/src/com/intellij/util/lang/ClassPath.java @@ -56,7 +56,7 @@ class ClassPath { final File orderFile = new File(PathManager.getBinPath() + File.separator + "order.txt"); try { if (!FileUtil.ensureCanCreateFile(orderFile)) return; - ourOrder = new PrintStream(new FileOutputStream(orderFile)); + ourOrder = new PrintStream(new FileOutputStream(orderFile, true)); ShutDownTracker.getInstance().registerShutdownTask(new Runnable() { public void run() { ourOrder.close(); @@ -97,7 +97,7 @@ class ClassPath { for (Loader loader : loaders) { final Resource resource = loader.getResource(s, flag); if (resource != null) { - //printOrder(loader, s); + printOrder(loader, s); return resource; } }