How to attach source of JSF implementation? [message #475405] |
Mon, 04 February 2008 17:05 |
David M. Karr Messages: 143 Registered: July 2009 |
Senior Member |
|
|
The problem I'm having here probably isn't JSF-specific, but since I ran
into it with respect to the JSF implementation, perhaps someone here has
run into this.
I've created a dynamic web app, with JSF 1.2 as one of the facets. As a
result, the JSF implementation (Sun's) is not available as a normal User
Library. I guess it has to be this way in order for the JSF tooling to
work. The problem I'm having is that I want to debug something in the JSF
implementation by stepping through the code. Strangely, the IDE is
preventing me from attaching the source for the JSF implementation. I can
edit the source reference, but it doesn't get stored. When I click OK on
the dialog and then reenter project properties and look at it again, the
setting is empty again.
Similarly, if I try to view a particular class file from the
implementation and then click the "Attach Source" button and enter the
root of the JSF source tree, it doesn't do anything. It doesn't "fail",
it just has no effect.
|
|
|
Re: How to attach source of JSF implementation? [message #475531 is a reply to message #475405] |
Tue, 05 February 2008 05:29 |
epson wang Messages: 32 Registered: July 2009 |
Member |
|
|
On Mon, 4 Feb 2008 17:05:58 +0000 (UTC), david.karr@wamu.net (David
Karr) wrote:
>The problem I'm having here probably isn't JSF-specific, but since I ran
>into it with respect to the JSF implementation, perhaps someone here has
>run into this.
>
>I've created a dynamic web app, with JSF 1.2 as one of the facets. As a
>result, the JSF implementation (Sun's) is not available as a normal User
>Library. I guess it has to be this way in order for the JSF tooling to
>work. The problem I'm having is that I want to debug something in the JSF
>implementation by stepping through the code. Strangely, the IDE is
>preventing me from attaching the source for the JSF implementation. I can
>edit the source reference, but it doesn't get stored. When I click OK on
>the dialog and then reenter project properties and look at it again, the
>setting is empty again.
>
>Similarly, if I try to view a particular class file from the
>implementation and then click the "Attach Source" button and enter the
>root of the JSF source tree, it doesn't do anything. It doesn't "fail",
>it just has no effect.
>
This is a problem about the wtp from the 2.0 maybe.
I solve this by using define a "User Library", It is work just like
the normal way.
define the user lib and add this library to your project.
I use this way a long time, it work fine, In the user library, you
can attach the javadoc and source, Work fine.
Hope can help you..
Regards
ginkgo
|
|
|
|
|
|
Re: How to attach source of JSF implementation? [message #617108 is a reply to message #475405] |
Tue, 05 February 2008 05:29 |
epson wang Messages: 32 Registered: July 2009 |
Member |
|
|
On Mon, 4 Feb 2008 17:05:58 +0000 (UTC), david.karr@wamu.net (David
Karr) wrote:
>The problem I'm having here probably isn't JSF-specific, but since I ran
>into it with respect to the JSF implementation, perhaps someone here has
>run into this.
>
>I've created a dynamic web app, with JSF 1.2 as one of the facets. As a
>result, the JSF implementation (Sun's) is not available as a normal User
>Library. I guess it has to be this way in order for the JSF tooling to
>work. The problem I'm having is that I want to debug something in the JSF
>implementation by stepping through the code. Strangely, the IDE is
>preventing me from attaching the source for the JSF implementation. I can
>edit the source reference, but it doesn't get stored. When I click OK on
>the dialog and then reenter project properties and look at it again, the
>setting is empty again.
>
>Similarly, if I try to view a particular class file from the
>implementation and then click the "Attach Source" button and enter the
>root of the JSF source tree, it doesn't do anything. It doesn't "fail",
>it just has no effect.
>
This is a problem about the wtp from the 2.0 maybe.
I solve this by using define a "User Library", It is work just like
the normal way.
define the user lib and add this library to your project.
I use this way a long time, it work fine, In the user library, you
can attach the javadoc and source, Work fine.
Hope can help you..
Regards
ginkgo
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05280 seconds