1 | void setClasspath(Path classpath) {↵ | | 1 | void setExtdirs(Path extDirs) {↵
|
2 | if (this.classpath == null) {↵ | | 2 | if (this.extDirs == null) {↵
|
3 | this.classpath = classpath;↵ | | 3 | this.extDirs = extDirs;↵
|
4 | } else {↵ | | 4 | } else {↵
|
5 | this.classpath.append(classpath);↵ | | 5 | this.extDirs.append(extDirs);↵
|
6 | }↵ | | 6 | }↵
|
7 | }↵ | | 7 | }↵
|
|
8 | /**↵ | | 8 | /**↵
|
9 | * Adds to the classpath used when compiling the EJB stubs and skeletons.↵ | | 9 | * ↵
|
10 | * @return the class path.↵ | | 10 | Maybe creates a nested extdirs element.↵
|
| | | 11 | * @return path object to be configured with the extension directories↵
|
11 | */↵ | | 12 | */↵
|
12 | public Path createClasspath() {↵ | | 13 | public Path createExtdirs() {↵
|
13 | if (classpath == null) {↵ | | 14 | if (extDirs == null) {↵
|
14 | classpath = new Path(getProject());↵ | | 15 | extDirs = new Path(getProject());↵
|
15 | }↵ | | 16 | }↵
|
16 | return classpath.createPath();↵ | | 17 | return extDirs.createPath();↵
|
17 | } | | 18 | }
|