On Mon 2009-10-19 at 15:59h, Fredrik Lindberg wrote on ivy-user: > Hi! > > I am trying to setup an enterprise repository using ivy. My problem is how > to externalize ivysettings.xml from projects. I don't e.g. want there to be > any absolute paths in the build file to ivysettings.xml. This is something > that should be localy configured for each user/machine. A user might e.g. > chose to use a copy of the company repository when working offline and > accessing it via a URL normally.
Define the path using an Ant property. The project can have a build.properties file with some sensible default, and users could override it in a local.build.properties file for example, or with an Ant command line option (-D). -- Niklas Matthies
