Re: not yet another workbench workspace question!?! [message #60296 is a reply to message #60274] |
Wed, 07 May 2008 12:31   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Jean H writes:
> if I try to make C:\Documents and Settings\Jean\My Documents\ as my
> workspace, I got a nice error telling this directory is not writable..
> 1st time, IDL would crash, then it starts but I can not create any
> project in there.... anyone has any idea as to why???
It is a complete mystery. Probably because the workspace has
to be in charge, and it is not likely to be if it has to fight
Bill Gates. But I wouldn't put your workspace here. I tried it
there, and it was a nightmare specifying filenames. I'd put it
in the very top level of a very accessible hard drive. You will
sleep better at night.
> Ok, so, I have tried to make C:\Documents and Settings\Jean\My
> Documents\IDL\ as my workspace, and it works fine. I have many folders
> in there, as well as a few pro files (temporary files mainly.. like
> whatever I download from the web, test files etc). For the folders, I
> can easily make a project with them.... but how can I access the files
> located a the root of my workspace?
You are going to have to stick them in a folder and make a project
out of them. Mine is called "junk".
> (of course, IDL refuse to have the
> same directory as a workspace and as a project)?
A workspace is a container to hold projects. Don't use it for
anything else.
> Also, If I want to call one of this file from another program in a
> project, is there any other way of having it compiled other than
> manually (or in my start-up file) setting the path to the workspace
> directory and below?
Not sure I follow this. IDL paths work exactly as they
always did, except that the Workbench sorts them in a
completely arbitrary way, if you have that feature turned
on, which I am certain you don't, since this is the first
thing that drives previous IDL users totally crazy. Turn
off automatic path updating for your projects. Set the IDL
path yourself. And read the article about the Path Problem
from Hell, because you are surely going to run into it if
you upgraded to IDL 7 from a previous installation.
> Thanks in advance!
> ... and sorry to bring the pain back :)
I have a feeling we will be sharing the pain for years
to come. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|