1 | void addFileset(FileSet fs) {↵ | | 1 | void ↵
|
2 | createAttachments().add(fs↵ | | 2 | setFactoryPathRef(Reference ref) {↵
|
3 | );↵ | | 3 | createFactoryPath().setRefid(ref);↵
|
4 | }↵ | | 4 | }↵
|
|
5 | /**↵ | | 5 | /**↵
|
6 | * Creates a Path as container for attachments. Supports any↵ | | 6 | * Add a path ↵
|
7 | * filesystem resource-collections that way.↵ | | 7 | to the factoryPath attribute.↵
|
8 | * @return the path to be configured.↵ | | 8 | * @return a path to be configured.↵
|
9 | * @since Ant 1.7↵ | | |
|
10 | */↵ | | 9 | */↵
|
11 | public Path createAttachments() {↵ | | 10 | public Path createFactoryPath() {↵
|
12 | if (attachments == null) {↵ | | 11 | if (factoryPath == null) {↵
|
13 | attachments = new Path(getProject());↵ | | 12 | factoryPath = new Path(getProject());↵
|
14 | }↵ | | 13 | }↵
|
15 | return attachments.createPath();↵ | | 14 | return factoryPath.createPath();↵
|
16 | | | 15 |
|