return super.getClasspath(configuration);
}
List<String> classpath = new ArrayList<String>(Arrays.asList(super.getClasspath(configuration)));
ClojureProject clojureProject = ClojureCore.getClojureProject(LaunchUtils.getProject(configuration));
for (IFolder f: clojureProject.sourceFolders()) {
String sourcePath = f.getLocation().toOSString();
while (classpath.contains(sourcePath)) {
// The sourcePath already exists, remove it first
classpath.remove(sourcePath);
}
classpath.add(0, sourcePath);
}
if (clojureProject.getJavaProject().findElement(new Path("clojure/tools/nrepl")) == null) {
try {
File ccwPluginDir = FileLocator.getBundleFile(CCWPlugin.getDefault().getBundle());
System.out.println("ccwPluginDir: " + ccwPluginDir);
// this should *always* be a file, *unless* the user is getting nREPL from a clone of its
// project, in which case we need to reach into that project's directory...