It works internally at our company as we all have build tools (jdk etc)
in a standard place. This makes it repeatable and 
guaranteed not to blow up on a 1.4 environment.

I agree that this could certainly be a problem. Maybe there's a nicer
solution with profiles etc?

Regards,

Richard

-----Original Message-----
From: Graham Leggett [mailto:[EMAIL PROTECTED] 
Sent: 28 March 2008 22:50
To: Maven Users List
Subject: Re: Best practices for java version?

Richard Chamberlain wrote:

> If you using java 5 as your JAVA_HOME I would also recommend setting
the
> executable compiler to use.
> 
>       <executable>path.to.jdk\1.4.2\bin\javac.exe</executable>

The side effect of this is that you produce code that now only compiles 
on one person's machine, and that is *very* un-repeatable.

Regards,
Graham
--

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

Reply via email to