The reply to your specific question is that using an Unix Shell with find to accomplish the functionality you desire.. The more general question you pose is relevant to all Ant users My Question: Each developer is assigned a specific package do they generate a build.xml from their IDE or is the build.xml provided ? Lets get a dialog going here .. -Martin
----- Original Message ----- From: "Ken Gentle" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Thursday, January 30, 2003 8:52 AM Subject: Re: project management w/ ANT > The quickest solution might be to install Cygwin and use the unix > script... I've been doing this with ANT and other java based tools for > years, and the scripts usually require only a few minor path related tweaks > before they work on both platforms. > > K > > At 23:42 2003-01-29, you wrote: > >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] > > ============================================================= > J. Kenneth Gentle (Ken) | Phone: (610) 255-0361 > Gentle Software, LLC | Email: [EMAIL PROTECTED] > ============================================================= > > > --------------------------------------------------------------------- > 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]
