On Fri, Jun 6, 2008 at 11:48 AM, Paul Spencer <[EMAIL PROTECTED]> wrote:
> I have defined the environment variable ARCHIVA_BASE, but the default > archiva.xml is being used. I even tried adding -DARCHIVA_BASE=$ARCHIVA_BASE > to CATALINA_OPTS, but to no avail. What do you mean by "the" default archiva.xml file? By default it can exist in several places. You asked for a way to change what configuration files are read, and I pointed you to a page suggesting that you change application.xml. Did you do that, or not? If you only set ARCHIVA_BASE, and there is an archiva.xml file in the user's home directory, then I'm not surprised that it gets read and used. See: http://archiva.apache.org/guides/configuration.html Try removing ~/.m2/archiva.xml and making sure there is only *one* archiva.xml file, where ever you decide to put it. I'd suggest sticking with $ARCHIVA_BASE/conf unless you really need to put it elsewhere (or if that doesn't work with Tomcat for some reason.) (And please don't top-post after someone takes the time to properly quote and reply below.) -- Wendy
