Re: cvs commit: maven-components/maven-core/src/bin classworlds.conf

2004-05-09 Thread dion_gillard
Jason van Zyl <[EMAIL PROTECTED]> wrote on 09/05/2004 11:45:38 PM:

> On Sun, 2004-05-09 at 04:40, Emmanuel Venisse wrote:
> 
> > Personnaly, I prefer an env var definition. Is it possible to use this
> > process :
> > 1- check if ${user.home}/maven.properties exists
> > 2- if not, check if ${user.home}/m2 exists
> > 3- if not use $M2_HOME env var
> > 
> > And, the M2_HOME is necessary for the bootstrap process.
> 
> This can be fixed, but why make the user specify an envar if they don't
> have to? In addition for the embedded mode of use you don't want any
> platform dependendent mechanisms being required. I think requiring an
> envar something that should be avoided if possible.

You're going to need the ability to have multiple Maven's installed 
eventually, like we can for M1. 

It doesn't look like the properties file route will handle that as well as 
an environment variable.
--
dIon Gillard, Multitask Consulting


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



Re: cvs commit: maven-components/maven-core/src/bin classworlds.conf

2004-05-09 Thread Jason van Zyl
On Sun, 2004-05-09 at 04:40, Emmanuel Venisse wrote:

> Personnaly, I prefer an env var definition. Is it possible to use this
> process :
> 1- check if ${user.home}/maven.properties exists
> 2- if not, check if ${user.home}/m2 exists
> 3- if not use $M2_HOME env var
> 
> And, the M2_HOME is necessary for the bootstrap process.

This can be fixed, but why make the user specify an envar if they don't
have to? In addition for the embedded mode of use you don't want any
platform dependendent mechanisms being required. I think requiring an
envar something that should be avoided if possible.

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

-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://maven.apache.org

happiness is like a butterfly: the more you chase it, the more it will
elude you, but if you turn your attention to other things, it will come
and sit softly on your shoulder ...

 -- Thoreau 


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



Re: cvs commit: maven-components/maven-core/src/bin classworlds.conf

2004-05-09 Thread Emmanuel Venisse
>   --- classworlds.conf 3 May 2004 03:47:51 - 1.4
>   +++ classworlds.conf 7 May 2004 18:01:42 - 1.5
>   @@ -1,4 +1,6 @@
>   -main is org.apache.maven.MavenCli from root
>   +main is org.apache.maven.MavenCli from core
>
>   -[root]
>   +set maven.home using ${user.home}/maven.properties default
${user.home}/m2
>   +
>   +[core]
>load ${maven.home}/lib/*.jar

Personnaly, I prefer an env var definition. Is it possible to use this
process :
1- check if ${user.home}/maven.properties exists
2- if not, check if ${user.home}/m2 exists
3- if not use $M2_HOME env var

And, the M2_HOME is necessary for the bootstrap process.

Emmanuel


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