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