[Ricardo Rodriguez] Your EPEC Network ICT Team wrote:
> Thanks, Paul,
> 
> Paul Libbrecht wrote:
>> My advantage was to change the mvn command deciding on which place to 
>> use.
>> You are right however that these methods overlap in the role of 
>> defining variables!
>>
>> In a multi-user-setup, the wrapper script is also more important. 
> 
> Sorry for insist on this but, please, why is the wrapper script more 
> important in a multiuser setup? .bash_profile is setup in a per user 
> basis, so could it control Maven settings for each user using a given 
> box for developing? Thanks!
> 

The wrapper script is somehow better in a multi-user environment because 
it is common for all users, so they don't have to modify their own 
~/.bash_profile. To sum up:

~/.bash_profile is good because it lets a user define his own settings

A common script is good because it lets all users on a system have the 
same settings for maven, which is good if they ALL need the same settings.

Using some global initialization file, like /etc/bash/bashrc has the 
same advantages as the common script file, but also has the advantage 
that it sets the settings only once, and not every time mvn is executed.
-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to