facebook

Attaching source code to Struts [Closed]

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

    David
    Member

    Hi,

    I looked around for the place to associate the Struts Source file to the Struts jar that get added when you add Struts capability, so I can clik on a Struts Class and see the source code not the decompilation stub.

    So far I can’t find it anywhere. I looked in the preference and don’t see it.

    thanks

    david

    – System Setup ——————————-
    Operating System and version: Win XP SP1
    Eclipse version: 3.0
    Eclipse build id: 200406251208
    Fresh Eclipse install (y/n): y
    If not, was it upgraded to its current version using the update manager?
    Other installed external plugins:
    Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*:
    MyEclipse version: 3.8.1 ( build 200408201200-3.8.1)
    Eclipse JDK version: 1.4
    Application Server JDK version: 1.4
    Are there any exceptions in the Eclipse log file? no

    – Message Body ——————————-

    #213863 Reply

    Riyad Kalla
    Member

    David,
    We don’t ship the Struts source code with our struts support, you will have to download it separately from jakarta.apache.org and attach it to the Struts.jar file. Additionally you can do this as well with the Javadoc for easier coding.

    #213888 Reply

    David
    Member

    Ok, but is there a way to add them to the generic librairy ?

    I mean I know I can right click on the jar file once it is in the project and add the source & javadoc.

    But what I was wondering if it’s possible to automatically associate them with the jar file when clicking on the add struts capabilitiy.

    thanks.

    #213890 Reply

    Riyad Kalla
    Member

    Cyberguard,
    Actually no there isn’t currently because we aren’t using Libraries for the Struts/Hibernate/JSTL/etc. capabilities, its a direct copy of JARs and Reousrces into your project… but you bring up an interesting point… I wonder if we CAN use Libraries for this functionality so that all this stuff is ‘attachable’ once you add caps to the project…. I will pass this by the team.

    #268223 Reply

    davout
    Participant

    Was there any conclusion to this thread?

    I’m trying to trace an exception inside the MyEclipse ‘struts.jar’ file. Right clicking on this file in the package explorer I can see that there is an option to attach source code and docs.

    However, what Struts version is this jar employing? Where would I find the source code?

    #268236 Reply

    Riyad Kalla
    Member

    Davout,
    The version is Struts 1.2.4, and you can get the source directly from the http://struts.apache.org site.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Attaching source code to Struts [Closed]

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