Ctrl-Shift-R shows files in .deployables [message #117887] |
Fri, 08 July 2005 05:41  |
Eclipse User |
|
|
|
Originally posted by: didier.alves.gmail.com
Hello,
When I try to open any file that is deployable using Ctrl-Shift-R, I
always get twice the same file because that the "Open Resource" window
also shows files that are deployed in the hidden .deployables folder. This
behaviour is very annoying because you may be mislead to open the wrong
file.
Is there a way to hide the files in the .deployables folder so that they
dont appear in the "Open Resources" window?
Thanks.
|
|
|
|
|
|
|
|
|
|
Re: Ctrl-Shift-R shows files in .deployables [message #119480 is a reply to message #117938] |
Mon, 11 July 2005 15:16   |
Eclipse User |
|
|
|
Originally posted by: joe.herbers.ugs.com
Related question: I'm new to WTP and trying to debug JSPs. Unexpectedly,
the first time I hit a breakpoint in a regular Java file, it doesn't know
where to find the source, even though this project contains the source file
and it had been built successfully. I clicked the button that appears in
the pane where the source file should be, and did an Add and selected the
source dir in my project. Now I can step through Java classes just fine.
However, when I hit a breakpoint in a .jsp, it brings up the copy of the
..jsp from the .deployables dir instead of the original source file - why?
(and as someone else noted, this version of the jsp has more errors). I had
a similar problem when I tried debugging a JSP in one of the tutorials, but
I had gotten around it by somehow choosing the source path differently (but
I can't recall now exactly how).
Any good instructions on debugging JSPs in WTP?
"Rafal Krzewski" <Rafal.Krzewski@caltha.pl> wrote:
> Sure. Select .deloyables in Navigation, open Properties, check "Derived"
> box in the Info pane. Repeat for each project in your workspace.
>
> Then Ctrl-Shift-R, make sure "Show derived resources" box is unchecked.
> Stuff under .deployables should be invisible.
|
|
|
Re: Ctrl-Shift-R shows files in .deployables [message #119493 is a reply to message #119480] |
Mon, 11 July 2005 16:12   |
Eclipse User |
|
|
|
Originally posted by: joe.herbers.ugs.com
Replying to my own post: it seems that when choosing source to add during
debug, if I choose Folders and then "WebContent" folder and add this, then
JSPs come up fine in the debugger. However, it's when I chose "Projects"
that it was pulling up the copy of my JSP in .deployables which caused
issues.
How do I get back to the source chooser for this anyway?
"Joe Herbers" <joe.herbers@ugs.com> wrote in message
news:daugi0$tbt$1@news.eclipse.org...
> Related question: I'm new to WTP and trying to debug JSPs. Unexpectedly,
> the first time I hit a breakpoint in a regular Java file, it doesn't know
> where to find the source, even though this project contains the source
> file and it had been built successfully. I clicked the button that
> appears in the pane where the source file should be, and did an Add and
> selected the source dir in my project. Now I can step through Java
> classes just fine.
>
> However, when I hit a breakpoint in a .jsp, it brings up the copy of the
> .jsp from the .deployables dir instead of the original source file - why?
> (and as someone else noted, this version of the jsp has more errors). I
> had a similar problem when I tried debugging a JSP in one of the
> tutorials, but I had gotten around it by somehow choosing the source path
> differently (but I can't recall now exactly how).
>
> Any good instructions on debugging JSPs in WTP?
|
|
|
|
Re: JSP Debugger points to ".deployables" version of the .jsp file (was Ctrl-Shift-R shows [message #119851 is a reply to message #119579] |
Tue, 12 July 2005 08:37  |
Eclipse User |
|
|
|
Originally posted by: joe.herbers.ugs.com
Nitin, this bug sounds just like the problem I'm seeing. I'm running with
M5, so this should have been fixed, right? BTW how can I get back to the
source mapping so I can play with this?
Thanks for your help. I've used Eclipse but am new to WTP, and should learn
to search the bug lists. And is there a way to search archives of this
group? Here's what I downloaded last week when I started this: Eclipse 3.1,
WTP 1.0M5 (I20050627-1435), GEF 3.1RC4, EMF/JEM 0623, JDK 1.4.2_08, tried
Tomcat 5.0.28 and 5.5.
"Nitin Dahyabhai" <nitind@us.ibm.com> wrote:
> Joe Herbers wrote:
>> However, when I hit a breakpoint in a .jsp, it brings up the copy of the
>> .jsp from the .deployables dir instead of the original source file - why?
>> (and as someone else noted, this version of the jsp has more errors). I
>> had a similar problem when I tried debugging a JSP in one of the
>> tutorials, but I had gotten around it by somehow choosing the source path
>> differently (but I can't recall now exactly how).
>
> Is this with M4 or M5? Bug 93174 added a fix for this when you have
> multiple modules in the same project, but I suspect that's not your setup?
|
|
|
Powered by
FUDForum. Page generated in 0.04895 seconds