1 | protected ClassLoader getClassLoaderFromJar(File classjar) throws IOException {↵ | | 1 | protected ClassLoader getClassLoaderFromJar(File classjar) throws IOException {↵
|
2 | Path lookupPath = new Path(getTask().getProject());↵ | | 2 | Path lookupPath = new Path(getTask().getProject());↵
|
|
3 | lookupPath.setLocation(classjar);↵ | | 3 | lookupPath.setLocation(classjar);↵
|
|
4 | Path classpath = getCombinedClasspath();↵ | | 4 | Path classpath = getCombinedClasspath();↵
|
|
5 | if (classpath != null) {↵ | | 5 | if (classpath != null) {↵
|
6 | lookupPath.append(classpath);↵ | | 6 | lookupPath.append(classpath);↵
|
7 | }↵ | | 7 | }↵
|
|
8 | return getTask().getProject().createClassLoader(lookupPath);↵ | | 8 | return getTask().getProject().createClassLoader(lookupPath);↵
|
9 | | | 9 |
|