comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: not yet another workbench workspace question!?!
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: not yet another workbench workspace question!?! [message #60268] Thu, 08 May 2008 16:06 Go to next message
David Fanning is currently offline  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 #60269 is a reply to message #60268] Thu, 08 May 2008 15:13 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Jean H 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. :-(

> grmgmrmlmgr... I tried all day to remove the "*.bak" files from the
> project explorer... still no luck... getting closer, but it's not
> working... Has any of you succeeded in filtering those files?? ... I
> will work on it on Monday... hopefully I will find (and share) a working
> way!

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
--
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 #60274 is a reply to message #60269] Thu, 08 May 2008 14:36 Go to previous messageGo to next message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
Thanks a lot David!

..'got a few useful tips from the other pages on the workbench!

Oh, by the way, you talk about having the "problem" view on the debug
perspective. Does this view provide any information???? ... I made a
bogus program (divide by zero, print an undefined variable etc), which,
as expected, have IDL to throw a warning and an error... alas the
"problem" view remains empty!

grmgmrmlmgr... I tried all day to remove the "*.bak" files from the
project explorer... still no luck... getting closer, but it's not
working... Has any of you succeeded in filtering those files?? ... I
will work on it on Monday... hopefully I will find (and share) a working
way!

Jean
Re: not yet another workbench workspace question!?! [message #60296 is a reply to message #60274] Wed, 07 May 2008 12:31 Go to previous messageGo to next message
David Fanning is currently offline  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 Go to previous message
Jean H. is currently offline  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 :)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: storing in array
Next Topic: not yet another workbench workspace question!?!

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:12:49 PDT 2025

Total time taken to generate the page: 0.00541 seconds