In a project I work on, we use ant to build C++. We have about 40 different "components" which exist in different directories each with it's own ant file. All of these components inherit from a shared class which we use to connect them, and so all of them need to include a .h file from that directory. When we add a new #include to that .h file, we then need to go add a new <includepath ...> line to the build.ant file for EVERY one of the ~40 components that inherit from that file.
I'm in a position right now where I have to change all those files so I'm trying to find a permanent solution. I'm wondering if I can change the list of includepaths....e.g. <includepath location="../blah/include"/> <includepath location="../blah2/include"/> ... <includepath location="../blah40/include"/> to a single line: <includepath location="../*/include"/> I tried both "*" and "**", but no luck. Also, I considered creating a single "includes.xml" file and then somehow including it (I looked into xinclude, but the "cc" doesn't seem to support nested includes) I'm open to other suggestions too. Thank You, Glen -- View this message in context: http://www.nabble.com/Help-with-C%2B%2B-includepaths---Can-I-use-wildcards--make-a-external-repository-list--tp20584286p20584286.html Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]