View | Details | Raw Unified | Return to bug 154693 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/jdt/core/tests/builder/CopyResourceTests.java (+18 lines)
Lines 268-271 Link Here
268
		expectingNoProblems();
268
		expectingNoProblems();
269
		expectingPresenceOf(bin.append("z.txt")); //$NON-NLS-1$
269
		expectingPresenceOf(bin.append("z.txt")); //$NON-NLS-1$
270
	}
270
	}
271
	//https://bugs.eclipse.org/bugs/show_bug.cgi?id=154693
272
	public void testBug154693() throws JavaModelException {
273
		IPath projectPath = env.addProject("P9"); //$NON-NLS-1$
274
		env.removePackageFragmentRoot(projectPath, ""); //$NON-NLS-1$
275
		IPath src = env.addPackageFragmentRoot(projectPath, "src"); //$NON-NLS-1$
276
		env.setOutputFolder(projectPath, "bin"); //$NON-NLS-1$
277
		env.addExternalJars(projectPath, Util.getJavaClassLibs());
278
279
		IPath folder = env.addFolder(src, "p");
280
		env.addFolder(folder, ".svn");
281
		env.addFile(folder, "A.java", "package p;\nclass A{}"); //$NON-NLS-1$ //$NON-NLS-2$
282
283
		fullBuild();
284
		expectingNoProblems();
285
		expectingNoPresenceOf(new IPath[] {
286
			projectPath.append("bin/p/.svn") //$NON-NLS-1$
287
		});
288
	}
271
}
289
}

Return to bug 154693