There used to be something like this called "Configure" - it's still linked to from the ant web site (see http://ant.apache.org/external.html), but the link is broken. Anyone know where this tool might have moved to?
Kyle >>> [EMAIL PROTECTED] 01/29/03 11:42PM >>> Hello ! Here is how I did work with ant for now: I have a script that generates all build.xml files from a build.xml.template and a rbuild.xml.template, and from the top src directory. build.xml.template contains applicative targets such as doclet, compile, archive, unit test, doc generation and so on. rbuild.xml.template contains the recursive targets of compilation. now that my build.xml.template quality is pretty fine, I'd like to know if there is a way for me to ligthen the process: is there a java tool anywhere that would generate all these sub-dummy ant files from my r/build.xml.template reference parsing the tree and its subdirectories to perform the same task for me: - generate recursive rbuild.xml where there are subdirectories - generate build.xml where there are java files by referencing the referenced build.xml w/ antcalls and replacing the directory path in the build.xml.reference. - optionally generate a mix when there are java files and subdirectories (I actually don't have this conf and don't think this is very clean for a java project, but just an opinion). my script is a UNIX shell script using the find command and so that's why I ask ... coz I can't use it directly on WIN32. I know this is doable in java but I had not the time. I think this is a pretty common project task and so I worry if anybody ever tried smthg ? for most of the ANT samples I've seen there is only one build.xml that does the job on the whole tree but in distributed dvt. this is never the case where engineers only work on specific directories. more specifically w/ J2EE/xdoclet, one directory has to match one jar file (if u want to ease the generation process). another common task would be to parse the java files under subdirectories in a subdirectory w/ java files and generates the correct dependencies so that the recursive build.xml is generated in the correct order. does everybody put all its build.xml files in configuration system mgt or do u generate them as private files as well ? I looked at maven but did not find such automation. thanx for any input. seb. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
