facebook

Struts source version [Closed]

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #216410 Reply

    daviesr
    Member

    Anyone know what the correct struts source version is for MyEclipse 3.8.1?

    More details…
    I have MyEclipse 3.8.1 installed and I wanted to attach the Struts source. I downloaded jakarta-struts-1.2.4-src.zip and attached it to my project. However, when I follow a link in a stacktrace into a struts source file the file line numbers are all wrong, so it seems like I have the wrong version of struts source.

    BTW, I thought this would be an easy thing to infer looking at the plugins directory or a config file or something, but couldn’t find it anywhere. Is there someway I could have figured this out on my own?

    Thanks in advance.

    #216457 Reply

    Riyad Kalla
    Member

    The info you are looking for is under the “Project Capabilities” section and “Struts”, there is a 1.0 and 1.1 tab, we don’t ship 1.2 yet. So you want to grab the 1.1 sources.

    #216535 Reply

    daviesr
    Member

    Thanks for the reply.

    In case anyone else has this question in the future, “the Project Capabilities section” in the reply refers to the section of Eclipse preferences–i.e. menu “Window/Preferences”, tree node “MyEclipse/Project Capabilities/Struts”.

    Also, at the moment the struts download site doesn’t offer any archived versions of its downloads. So I still don’t know where to get the source for the particular Struts source version supported by my particular MyEclipse version (except for perhaps hitting a Struts cvs repository somewhere and building my own source zip, but that sounds like too much work for what it’s worth).

    #216536 Reply

    Riyad Kalla
    Member

    Apache hides their archives at the bottom of the downloads list… at the WAY bottom:
    http://archive.apache.org/dist/jakarta/struts/source/jakarta-struts-1.1-src.zip

    #216545 Reply

    daviesr
    Member

    Thanks again. I found the secret archive link 😀

    Now I want to do the same with jakarta commons validator source. This time however the MyEclipse/Project Capabilities/Struts doesn’t tell me anything about version, only where the commons-validator jar file is. Unfortunately the jar files that MyEclipse distributes doesn’t retain the jakarta jar file naming convention that includes the version number. This seems like a bug.

    Can you tell me the version of validator with MyEclipse 3.8.1?

    #216557 Reply

    Riyad Kalla
    Member

    The files distributed with Struts 1.1 in MyEclipse are exactly the same libraries from the Struts 1.1 download, we don’t change anything. You’ll need to check the Struts docs to see what version of validator that was, and then check the commons site for the src.

    #217419 Reply

    lchuenya
    Member

    I loved the content assist for Struts html tag lib. However, I cant seem to get the description of what the parameters eg. content assist for property in <html:text property=””/> even when I attach the source to struts.jar. Any work arounds?

    #217425 Reply

    Riyad Kalla
    Member

    The description that is shown is part of the <tag> tag in the TLD file… there is an optiona description field, and if you do custom taglib development you’ll notice that the content assist shows the descriptions you type in… I’d guess that the Struts tags don’t have descriptions and that’s why they don’t show? (it would be in the TLD file in the struts.jar file under META-INF directory).

    #217505 Reply

    lchuenya
    Member

    I’m always impressed by your prompt replies! 🙂 Yes, you’re right. The <info> tag within the <tag> in *.tld for Struts is not populated. 🙁 Wonder if anyone bothered to do so and post it on the web… so that we can use it 🙂

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: Struts source version [Closed]

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