On 3/22/06, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
can I somehow configute the proxy setting optional? So that when I'm not
connected to the company intranet, the proxy is ignored and direct http
requests are made?
Basically, this is what profiles are for. Profiles can be activated by
various things. However, AFAIK, it is not possible to select a profile
based on network environment.
As Maven is not the only program that needs a different configuration
inside, or outside, of the company, I have choosen a different
approach: A program detects the network environment at startup. For
example, it chooses between home, and office. Based on its choice,
it copies a number of files from either of the folders home, or
office to the right locations. At shutdown the same program is
called. It's task is copying the same files to the respective folder,
so that settings are saved.
Jochen
--
Whenever you find yourself on the side of the
majority, it is time to pause and reflect.
(Mark Twain)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]