It is currently Wed Feb 08, 2012 4:45 pm

All times are UTC



Welcome
Welcome to RHAPSODY4YOU

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, respond to polls, upload and download content, and access many other special features. Registration is fast, simple, and absolutely free, so please, register to join our community today.





 Page 1 of 1 [ 1 post ] 
Author Message
 Post subject: *SOLVED* Environment Variables
PostPosted: Tue Dec 15, 2009 1:43 pm 

Joined: Wed May 07, 2008 3:50 pm
Posts: 148
Location: Horsham, W Sussex, England
I had been using User Environment Variables instead of System Environment Variables.
Also I was unnecessarily/inadvertently overridding the variable in the General:Model:EnvironmentVariables property.
If I remove any reference to the variable from rhapsody.ini and the project properties, then I can simply use $myEnvVar directly in a path field.

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

I use Rhapsody from within Windows and Redhat Linux.
If my project contains a reference package - I have portability problems.

I have a shared folder which both Windows and Redhat can see called devshare.
On Windows the path to the ref pkg is say, C:\devshare\myPath, whereas on Redhat it would need to be say
/mnt/hgfs/devshare/myPath.

Surely there must be an easy way to make this path portable (maybe using environment variables)?
The only workable solution I can think of would involve editing the (windows) rhapsody.ini and (linux) rhp_env files. I'd rather not do this if possible.

Can Rhapsody READ a system environment variable? Anyone know another way?


Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:


suspicion-preferred