- This topic has 5 replies, 3 voices, and was last updated 18 years, 8 months ago by Riyad Kalla.
-
AuthorPosts
-
Detlef KriegelParticipantWhich Struts version is implemented in MyEclipse 4.1.1 ? Struts 1.2.8 or lower? How can I change it to 1.2.9? It is possible to include the api docs for all System libraries to the MyEclipse Distribution. The library extension (Java Build path xxx.jar / Java Doc Location /) will not work with system libs.
Riyad KallaMemberWhich Struts version is implemented in MyEclipse 4.1.1 ?
For Struts 1.1, it’s the 1.1 release.
For Struts 1.2, it’s the 1.2.4 or 1.2.6 release, I don’t recall exactly. You can actually download your own libraries and update ours by going to Window > Preferences > MyEclipse > Project Capabilities > Struts, then the 1.2 tab, and then remove everything there and add your own.
It is possible to include the api docs for all System libraries to the MyEclipse Distribution. The library extension (Java Build path xxx.jar / Java Doc Location /) will not work with system libs.
Sorry about this bug, we want to ship javadoc pre-attached, we were just waiting for a lot of structural changes in MyEclipse 5.0 first, then we need to address the bloat issue… you’ll notice MyEclipse is getting *huge*.
Goro216MemberI just did what you recommended, removing the myeclipse struts jars and tlds and replacing them with the downloaded 1.2.9 jars and tlds. It’s great except for one thing (for now): in struts-config.xml, I have an Action with the cancellable attribute. Eclipse/myeclipse does not recognize this as valid. Is there an easy fix for this?
thx
-goro-
Riyad KallaMemberThat’s because that was added in version 1.3 of the struts-config DTD, you will have to change your DOCTYPE definition from this:
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN" "http://struts.apache.org/dtds/struts-config_1_2.dtd">
to this:
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.3//EN" "http://struts.apache.org/dtds/struts-config_1_3.dtd">
Then close and reopen the file.
Goro216MemberExcellent. thank you.
Riyad KallaMemberNo problem.
-
AuthorPosts