[ http://jira.codehaus.org/browse/MNG-438?page=comments#action_41391 ] 

Kenney Westerhof commented on MNG-438:
--------------------------------------

I'd go for the way most linux applications solve this (and some windows ports 
too, like subversion) by creating
the user conf dir + a default user.conf file with commented-out options on 
startup if one cannot be read.
It is not possible to create the file at the global level automatically, but it 
should be present after installation
(due to permission problems). The 'connection timeout' message in m2 should 
hint towards the proxy settings
in the configuration file. This way you avoid having to create installers for 
different platforms.

> conf for dummies (install wizard)
> ---------------------------------
>
>          Key: MNG-438
>          URL: http://jira.codehaus.org/browse/MNG-438
>      Project: Maven 2
>         Type: New Feature
>   Components: maven-core
>     Versions: 2.0-alpha-3
>  Environment: i am using linux, but same applies to wintendo
>     Reporter: Bill Parducci
>      Fix For: 2.0-rc1

>
>
> the environment here requires a proxy be setup. maven requires web access to 
> grab the goodies. myself and one other user started an m2 install from linux 
> and wintendo. both of us--starting from the install guide--ran into the same 
> problem: needing to modify the m2 configuration very early on in the install 
> process. the method that we both chose was to look in all the 'usual places' 
> for the conf file (assuming it would be there with all the default values) 
> whereby we could look for the proxy config and make the changes. yes, we 
> could find the properties reference and cut & paste that info over, but this 
> was not intuitive to either of us (no, i don't read instructions on building 
> kids' toys either ;o). 
> anyway... this lead to a discussion with jason where i believe i understood 
> that future versions of m2 will allow for a 'global' conf file (overriding 
> built-in defaults) and a 'user' conf file (overriding global conf file). to 
> do this, however, will require some sort of install wizard (on win) and/or 
> packace (rpm?) in linux so that the location of (at least) the user conf is 
> known. seems like the global conf could reside in a conf dir where m2 is 
> installed (next to the bin dir), but if there is a wizard to handle this it 
> can be anywhere.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to