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 | * Gets the extension directories that will be used during the↵ | | 9 | * ↵
|
10 | * compilation.↵ | | |
|
11 | * @return the extension directories as a path↵ | | |
|
12 | */↵ | | |
|
13 | public Path getExtdirs() {↵ | | |
|
14 | return extdirs;↵ | | |
|
15 | }↵ | | |
|
|
16 | /**↵ | | |
|
17 | * Adds a path to extdirs.↵ | | |
|
18 | * @return a path to be configured↵ | | 10 | Adds to the classpath used when compiling the EJB stubs and skeletons.↵
|
| | | 11 | * @return the class path.↵
|
19 | */↵ | | 12 | */↵
|
20 | public Path createExtdirs() {↵ | | 13 | public Path createClasspath() {↵
|
21 | if (extdirs == null) {↵ | | 14 | if (classpath == null) {↵
|
22 | extdirs = new Path(getProject());↵ | | 15 | classpath = new Path(getProject());↵
|
23 | }↵ | | 16 | }↵
|
24 | return extdirs.createPath();↵ | | 17 | return classpath.createPath();↵
|
25 | | | 18 |
|