1 | for (Iterator i = config.supportFileSets.iterator(); i.hasNext();) {↵ | | 1 | Vector ↵
|
2 | FileSet supportFileSet = (FileSet) i.next();↵ | | |
|
3 | File supportBaseDir = supportFileSet.getDir(project);↵ | | |
|
4 | DirectoryScanner supportScanner = supportFileSet.getDirectoryScanner(project);↵ | | |
|
5 | supportScanner.scan();↵ | | |
|
6 | String[] supportFiles = supportScanner.getIncludedFiles↵ | | 2 | tmp = new Vector(args.size());↵
|
| | | 3 | for (Enumeration e = args.elements(); e.hasMoreElements();) {↵
|
| | | 4 | ImplementationSpecificArgument arg =↵
|
| | | 5 | ((ImplementationSpecificArgument) e.nextElement());↵
|
7 | ();↵ | | 6 | String[] curr = arg.getParts(getImplementation());↵
|
8 | for (int j = 0; j < supportFiles.length; ++j) {↵ | | 7 | for (int i = 0; i < curr.length; i++) {↵
|
9 | ejbFiles.put(supportFiles[j], new File(supportBaseDir, supportFiles[j]))↵ | | 8 | tmp.addElement(curr[i]);↵
|
| | | 9 | }↵
|
| | | 10 | }↵
|
10 | ;↵ | | 11 | String[] res = new String[tmp.size()];↵
|
11 | }↵ | | 12 | ↵
|
12 | } | | 13 | tmp.copyInto(res);↵
|
| | | 14 | return res;
|