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