- This topic has 8 replies, 3 voices, and was last updated 20 years, 7 months ago by
lchuenya.
-
AuthorPosts
-
daviesrMemberAnyone 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.
Riyad KallaMemberThe 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.
daviesrMemberThanks 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).
Riyad KallaMemberApache 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
daviesrMemberThanks 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?
Riyad KallaMemberThe 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.
lchuenyaMemberI 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?
Riyad KallaMemberThe 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).
lchuenyaMemberI’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 🙂
-
AuthorPosts