From a76c1c7f4ebbe194b442f6de336f33409ef1d176 Mon Sep 17 00:00:00 2001 From: Stepan Koltsov Date: Mon, 23 Jan 2012 04:12:12 +0400 Subject: [PATCH] temp diag to fix test on TeamCity --- .../tests/org/jetbrains/jet/codegen/ForTestCompileStdlib.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compiler/tests/org/jetbrains/jet/codegen/ForTestCompileStdlib.java b/compiler/tests/org/jetbrains/jet/codegen/ForTestCompileStdlib.java index 6ad1066642d..6490f8abb0f 100644 --- a/compiler/tests/org/jetbrains/jet/codegen/ForTestCompileStdlib.java +++ b/compiler/tests/org/jetbrains/jet/codegen/ForTestCompileStdlib.java @@ -80,12 +80,16 @@ class ForTestCompileStdlib { } private static void copyToJar(File root, JarOutputStream os) throws IOException { + System.err.println("cp directory " + root + " to jar"); + Stack> toCopy = new Stack>(); toCopy.add(new Pair("", root)); while (!toCopy.empty()) { Pair pop = toCopy.pop(); File file = pop.getSecond(); if (file.isFile()) { + System.err.println("cp file " + file + " to jar path " + pop.getFirst()); + os.putNextEntry(new JarEntry(pop.getFirst())); Files.copy(file, os); } else if (file.isDirectory()) {