fix build 2?

This commit is contained in:
peter
2012-04-30 16:57:54 +02:00
parent c232cd7caf
commit 3df2095d5a
2 changed files with 6 additions and 1 deletions
@@ -23,6 +23,11 @@ class Library implements ClasspathItem {
classpath << FileUtil.toCanonicalPath(arg)
}
void addClasspath(GString arg) {
new Throwable().printStackTrace()
addClasspath(arg.toString())
}
void src(Object[] arg) {
arg.each { sourceRoots << FileUtil.toCanonicalPath(it.toString()) }
}
@@ -394,7 +394,7 @@ public class IdeaProjectLoader {
def paths = []
collectChildJars(path, jarDirs[url], paths)
paths.each {
library.addClasspath it
library.addClasspath it.toString()
}
}
else {