This thread raises some interesting issues. - Can repositories be hierarchical? What I mean by this is if a module cannot be found in a local repository then defer its lookup to a remote repository. This would imply to separate repository definitions for the same project. This could be extended to modules/profiles/projects and is not quite the same as overriding data for your local workspace.
- I am afraid that by having local copies of project definitions (jakarta-ant.xml) you, in effect, get the same behavior of people maintaining versions of jars in CVS. - If, in the workspace, you can declare what version/branch/tag of a project you want, then you are not always working with the latest revision of that project. You could extend this to rebuild that project only if the revision has changed. More or less, Makefile like dependencies across projects. Now that's cool, IMHO. Plug: I am doing some work in porting alexandria and gump to work with ClearCase and was wondering, if my efforts would be useful to the public (barring any agreements I have with my employer). Cheers, Naresh Sikha E: [EMAIL PROTECTED] -----Original Message----- From: Sam Ruby [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 04, 2001 4:47 PM To: [EMAIL PROTECTED] Subject: Re: setting up a local gump Steve Donie wrote: > > Sam - I've been setting up gump here at my company, with the intent of using > it to build several internal projects. They all use Ant, but I don't really > want to build ant (and all it's dependencies) from source. I'm trying to > figure out how to tell it that I have a local installed copy of ant, but I > am not sure how to do that. Start with the jakarta-ant.xml. Remove the cvs element. Remove the ant element. Remove all depend and option elements. Remove the home element. Remove the dist-ant and test-ant projects. Here's all you should have left: <module name="jakarta-ant"> <url href="http://jakarta.apache.org/ant/index.html"/> <description> Java based build tool </description> <project name="jakarta-ant"> <jar name="lib/ant.jar"/> <jar name="lib/optional.jar"/> </project> </module> Now in your workspace definition, add <project name="jakarta-ant" home="/path/to/ant"> Where /path/to/ant is what you normally set $ANT_HOME to. You're done! - Sam Ruby P.S. As you can see at http://jakarta.apache.org/gump/, I am in the process of documenting the data definitions. Once done, I plan to focus on documenting and making it easier for someone to get started. --------------------------------------------------------------------- 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]
