Bugs item #640927, was opened at 2002-11-19 16:20
Message generated for change (Comment added) made by jsquyres
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109368&aid=640927&group_id=9368

Category: Programming environment
>Group: 2.3
>Status: Closed
>Resolution: Fixed
Priority: 6
Submitted By: Jason Brechin (brechin)
>Assigned to: Jeff Squyres (jsquyres)
Summary: OSCAR_HOME should be set persistently

Initial Comment:
Since many oscar tools and CLIs that we provide use 
the OSCAR_HOME variable, we might as well put it 
into .profile or .bashrc (at least for root) so that users 
can run the tests, etc. without having to go back into 
the wizard.

----------------------------------------------------------------------

>Comment By: Jeff Squyres (jsquyres)
Date: 2003-07-04 13:25

Message:
Logged In: YES 
user_id=11722

Fixed in CVS.

----------------------------------------------------------------------

Comment By: Neil Gorsuch (ngorsuch)
Date: 2002-12-09 12:24

Message:
Logged In: YES 
user_id=215662

Perhaps it could also be set in the global database 
table "oscar" (not populated yet) and a suitable shortcut 
installed. 

----------------------------------------------------------------------

Comment By: Jeff Squyres (jsquyres)
Date: 2002-12-03 14:57

Message:
Logged In: YES 
user_id=11722

Per discussion today...

The proper long-term fix is as noted in a previous comment:
install the OSCAR infrastructure in a fixed place (e.g.,
/opt/oscar), and all of these concerns go away.

For 2.1, let's have something in the OSCAR infrastructure
(perhaps wizard_prep) set a default OSCAR_HOME somewhere
(.bashrc or something that .bashrc looks at/sources, such as
$HOME/.oscarrc), and every piece of OSCAR infrastructure
that needs OSCAR_HOME can first check to see if $OSCAR_HOME
is set.  If it's not set, then source $HOME/.oscarrc.

This is not perfect (e.g., if the OSCAR tree moves after the
initial install), but it will probably cover the majority of
cases until we can do the proper long-term solution.

----------------------------------------------------------------------

Comment By: Jeff Squyres (jsquyres)
Date: 2002-11-19 18:51

Message:
Logged In: YES 
user_id=11722

It would seem simpler to have a standardized location where
the OSCAR stuff is installed (i.e., a constant OSCAR_HOME).
 So /opt/oscar or something like that.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109368&aid=640927&group_id=9368


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Oscar-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to