1 | void setBootclasspath(Path bootclasspath) {↵ | | 1 | void setClasspath(Path classpath) {↵
|
2 | if (this.bootclasspath == null) {↵ | | 2 | if (this.classpath == null) {↵
|
3 | this.bootclasspath = bootclasspath;↵ | | 3 | this.classpath = classpath;↵
|
4 | } else {↵ | | 4 | } else {↵
|
5 | this.bootclasspath.append(bootclasspath);↵ | | 5 | this.classpath.append(classpath);↵
|
6 | }↵ | | 6 | }↵
|
7 | }↵ | | 7 | }↵
|
|
8 | /**↵ | | 8 | /**↵
|
9 | * Gets the bootclasspath that will be used to compile the classes↵ | | 9 | * Adds to the classpath used when compiling the ↵
|
10 | * against.↵ | | |
|
11 | * @return the boot path↵ | | |
|
12 | */↵ | | |
|
13 | public Path getBootclasspath() {↵ | | 10 | EJB stubs and skeletons.↵
|
14 | return bootclasspath;↵ | | 11 | * @return ↵
|
15 | }↵ | | |
|
|
16 | /**↵ | | |
|
17 | * Adds a path to the bootclasspath.↵ | | 12 | the class path.↵
|
18 | * @return a path to be configured↵ | | |
|
19 | */↵ | | 13 | */↵
|
20 | public Path createBootclasspath() {↵ | | 14 | public Path createClasspath() {↵
|
21 | if (bootclasspath == null) {↵ | | 15 | if (classpath == null) {↵
|
22 | bootclasspath = new Path(getProject());↵ | | 16 | classpath = new Path(getProject());↵
|
23 | }↵ | | 17 | }↵
|
24 | return bootclasspath.createPath();↵ | | 18 | return classpath.createPath();↵
|
25 | | | 19 |
|