facebook

Newbie – how enable library source code?

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #268038 Reply

    Hi

    I am MyEclipse newbie, so apologies in advance.

    I want to be able to reference the source code that is used by some of my project libraries (.jar files). For example, my proj uses Struts 1.3.8 – I want be able to step into the Struts source code when I stop at a breakpoint.

    I tried properties->java build path->source->link source.
    This does enable me to see the Struts source code, but the project compiles the code when building, which I do not want.

    How can I just reference the library source without having to build it?

    TIA – Adam

    #268072 Reply

    Riyad Kalla
    Member

    Adam,
    The way you want to link source to your JARs is by either right-clicking on the JAR in the package explorer and going to it’s properties dialog and setting it there, or by going to your project properties > Java Build Path > Libraries tab, and expand your JAR and attach source to it there.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Newbie – how enable library source code?

You must be logged in to post in the forum log in