[Swift-devel] Coasters failing on Teraport - cant find Java?

Mihael Hategan hategan at mcs.anl.gov
Tue Feb 3 09:16:59 CST 2009


On Tue, 2009-02-03 at 08:36 -0600, Michael Wilde wrote:
> The approach I'm testing is this:
> 
> if user has a .coasterinit file
>    source it to put java in PATH
> else if java is in PATH
>    use it
> else source /etc/profile
> 
> (executed under a non-login shell, i.e never use /bin/sh -l)
> 
> Right now I have the above in a different order (.coasterinit last) and 
> it works on ranger, mercury and teraport.
> 
> .coasterinit is a more flexible alternative to a per-site option that 
> points to java. Im not sure which is better.

We already have a mechanism for specifying site properties (sites.xml).
I don't think we should invent a different one.





More information about the Swift-devel mailing list