Re: not yet another workbench workspace question!?! [message #60268] |
Thu, 08 May 2008 16:06  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
David Fanning writes:
>> Oh, by the way, you talk about having the "problem" view on the debug
>> perspective. Does this view provide any information????
>
> Not that I am aware of. But I remember I had to have it for
> some reason. :-(
OK, I have a little more time to think. I believe if this window
is not open, some errors will pop the view open in front
of the workbench, which means you have to click it closed
to read anything. It doesn't provide any information I've
ever been able to use.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
|
|
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.")
|
|
|
Re: not yet another workbench workspace question!?! [message #60419 is a reply to message #60269] |
Mon, 12 May 2008 13:30  |
Jean H.
Messages: 472 Registered: July 2006
|
Senior Member |
|
|
> Yeah, I don't get *.bak files anymore. (I used to.) So
> I must have turned it off. I searched for 10 minutes and
> can't find where either. But isn't it good to know it is
> *possible*. :-)
>
> Cheers,
>
> David
On the net,
( http://musetracks.instantspot.com/blog/2007/9/13/Add-Custom- File-Filters-to-the-Eclipse-Explorer
and a few other sources) it is said to add to a file called "plugin.xml"
the following lines:
<extension point="org.eclipse.ui.ide.resourceFilters">
<filter selected="true" pattern="*.bak"></filter>
</extension>
I have 4 candidates:
C:\Program
Files\ITT\IDL70\idlde\plugins\org.eclipse.platform_3.3.0.v20 070613
C:\Program
Files\ITT\IDL70\idlde\plugins\org.eclipse.platform_3.3.3.r33 x_r20080129
C:\Program
Files\ITT\IDL70\idlde\plugins\org.eclipse.tomcat_4.1.230.v20 070531
C:\Program
Files\ITT\IDL70\idlde\plugins\org.eclipse.ui.intro.universal _3.2.100.v20070530A
... just to take no chance, I have put the above code in all of them...
Then I restart eclipse with a -clean statement... so I move to the IDL
directory and type idlde -clean (from windows command line)... alas it
has no effect... (IDL starts but the file filter is not applied).
... the -clean seems to work, as some "bundle" subdirectories have been
removed (don't ask me more on this)...
do you remember doing something similar?
Thanks!
Jean
PS: that would be another useful article :)
|
|
|