I've searched high and low and I've been unable to find any discussions/examples of how to generate a patternSet, or to do anything that seems like somthing I am wanting to do. I'm not sure if what is the best course of action.
My goal is to have a single generic build.xml that can build many modules (projects). So, instead of my build being based on a directory hierarchy, I need to derive a directory (package) list, given a module or subsystem name. I have java code that that will give me the list of packages, given a module or subsystem name. I know there are a number of paths I could pursue to solve this problem. I could probably generate module build files on the fly, and use Ant calls to call into the right project definition after it is generated. I could possibly generate files that contain PatternSet inlcudes, although that seems klunkier. I started down the path of creating a type that extends PatternSet, after I found the ClassFileSet type that extends FileSet, but I soon got stuck when I couldn't determine which method would provide my hook into the processing flow. I can't find any documentation on extending types, and searching the source code did not yield an answer. If any has suggestions on the best course to pursue, or can point me to some examples of anything similar, or can point me to documentation on extending types, I would greatly appreciate it. Thanks, Mike -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
