Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Ctrl-Shift-R shows files in .deployables
Ctrl-Shift-R shows files in .deployables [message #117887] Fri, 08 July 2005 09:41 Go to next message
Eclipse UserFriend
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 #117938 is a reply to message #117887] Fri, 08 July 2005 11:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Rafal.Krzewski.caltha.pl

Didier Alves wrote:

> Is there a way to hide the files in the .deployables folder so that they
> dont appear in the "Open Resources" window?

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.

Enjoy

Rafal
Re: Ctrl-Shift-R shows files in .deployables [message #117950 is a reply to message #117938] Fri, 08 July 2005 12:17 Go to previous messageGo to next message
John O'Shea is currently offline John O'SheaFriend
Messages: 43
Registered: July 2009
Member
Shouldn't WTP be marking the folder as derived when it creates it?


Rafał Krzewski wrote:
> Didier Alves wrote:
>
>> Is there a way to hide the files in the .deployables folder so that
>> they dont appear in the "Open Resources" window?
>
>
> 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.
>
> Enjoy
>
> Rafal
Re: Ctrl-Shift-R shows files in .deployables [message #118066 is a reply to message #117887] Fri, 08 July 2005 14:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cooll.free.fr

Didier Alves wrote:
> Hello,
>
> When I try to open any file that is deployable using Ctrl-Shift-R

I have other problems with .deployables:
- CVS directories seems to be deployed
- .deployables appears in synchronisation view
Re: Ctrl-Shift-R shows files in .deployables [message #118737 is a reply to message #118066] Fri, 08 July 2005 22:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: florin.iucha.ugs.com

Lionel wrote:

> I have other problems with .deployables:
> - CVS directories seems to be deployed
> - .deployables appears in synchronisation view

And SVN directories as well!

florin
Re: Ctrl-Shift-R shows files in .deployables [message #119155 is a reply to message #118066] Mon, 11 July 2005 07:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Rafal.Krzewski.caltha.pl

Lionel wrote:

> I have other problems with .deployables:
> - CVS directories seems to be deployed
apparently a bug in WTP, these directories are somehow marked as Team
specific, because they don't show up in Navigator view etc. I would
suggest reporting it to Bugzilla.

> - .deployables appears in synchronisation view
this should be easy to solve using "Add to .cvsignore..."
Re: Ctrl-Shift-R shows files in .deployables [message #119209 is a reply to message #119155] Mon, 11 July 2005 08:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cooll.free.fr

Rafal Krzewski wrote:
> Lionel wrote:
>
>> I have other problems with .deployables:
>> - CVS directories seems to be deployed
> apparently a bug in WTP, these directories are somehow marked as Team
> specific, because they don't show up in Navigator view etc. I would
> suggest reporting it to Bugzilla.

Strangely, I can't find them anymore in .deployables (full rebuild cleaned
up ?)


>> - .deployables appears in synchronisation view
> this should be easy to solve using "Add to .cvsignore..."

I hadn't try to add each file to cvsignore (option not available on
directories) until today.
At first file, I got a message "operation not available" and all the
..deployables resources desappeared form the synchronization tree :)
Re: Ctrl-Shift-R shows files in .deployables [message #119221 is a reply to message #119209] Mon, 11 July 2005 08:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cooll.free.fr

Lionel wrote:
>>> I have other problems with .deployables:

Another one:
I get errors on JSP's of the .deployables directory that I do not have on
same resource in the webContent dir.
(variable cannot be resolved when accessing a variable defined by a
bean:define)
Re: Ctrl-Shift-R shows files in .deployables [message #119480 is a reply to message #117938] Mon, 11 July 2005 19:16 Go to previous messageGo to next message
Eclipse UserFriend
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 20:12 Go to previous messageGo to next message
Eclipse UserFriend
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: Ctrl-Shift-R shows files in .deployables [message #119579 is a reply to message #119480] Mon, 11 July 2005 22:43 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4481
Registered: July 2009
Senior Member

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).
>
> Any good instructions on debugging JSPs in WTP?

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?

--
- Nitin


_
Nitin Dahyabhai
Eclipse Web Tools Platform
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 12:37 Go to previous message
Eclipse UserFriend
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?
Previous Topic:Dependant Project not being copied on deployment of Web Project
Next Topic:Help me with my client!!!
Goto Forum:
  


Current Time: Sat Aug 10 07:45:04 GMT 2024

Powered by FUDForum. Page generated in 0.03670 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top