- This topic has 7 replies, 3 voices, and was last updated 19 years, 10 months ago by peterjb.
-
AuthorPosts
-
peterjbMemberI have an existing web application that I’m trying to maintain with MyEclipse. The struts.config.xml has been extended to include additional attributes outside those specified by the original Struts 1.0.1 DTD ( Don’t ask! ). As such, I can’t configure the application as a MyEclipse Web-Struts Project and I have also turned off the Validations for the project.
When I attempt to open the struts-config.xml file, MyEclipse tells me that It can’t open the file in the default Struts config editor and will instead open it in the default XML Editor. I can then modify/save the file to my hearts content – But when I then go to close the editor – Eclipse hangs and the CPU on my machine goes to 100%. Eclipse never returns control ( after @1 Hour ) and I then have to kill Eclipse via ALT-F4.
The struts-config.xml is well formed and it’s also quite large- 504K. Any ideas?
Thanks
Peter
– System Setup ——————————-
Operating System and version: Windows XP SP2
Eclipse version: 3.0.1
Eclipse build id: 200409161125
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.*: 8
MyEclipse version: 3.8.3
Eclipse JDK version: 1.4.2_06
Application Server JDK version: 1.4.2_06
Are there any exceptions in the Eclipse log file? No
Scott AndersonParticipantPeter,
Could you possibly send us a copy of the problematic struts-config.xml file for testing? Please feel free to do global search/replaces on it to hide company names etc. As long as the format is the same and it’s selfl-consistent with what it calls things it should be fine. If you can send the file, please be sure to include the URL to this thread so that our support people can route the file properly. The email address is support@genuitec.com.
Brian FernandesModeratorPeter,
We received your file and were able to replicate the problem.
We are looking into the cause now.Your file is really massive – 500KB as you said and more than 11K lines.
Thank you for sharing the file, it will help a great deal in tracking down the problem.
Brian.
peterjbMemberGuys,
Not being pushy – But any progress on this? It’s causing me a bit of grief
Cheers
Peter
Scott AndersonParticipantPeter,
We’ll have the issue resolved in the 3.8.4 release in a couple of weeks. In the interim, the best workaround is to use Open With > MyEclipse XML Editor. Sorry for the inconvenience, but we will get it taken care of shortly
Brian FernandesModeratorPeter,
Sorry for the misunderstanding, we realize that you are already facing the problem with the MyEclipse XML editor.
It is a serious issue, and we have managed to replicate it as I mentioned earlier. Since it’s a problem with the XML editor – you will face the same if you try to open with the Struts Config Editor as well (uses the XML editor)We definitely need to fix this before the next release, so you can be sure it will work for you then. In the meanwhile, if there is anyway for you work around this – we’ll let you know as soon as we find out.
If you don’t want the closing problem I guess you have to open it in the Eclipse Text Editors for now.Sorry for the inconvenience, we really appreciate your patience on this one,
Brian.
Brian FernandesModeratorPeter,
Just letting you know that we located the problem and fixed it this afternoon.
Unfortunately, there is no way you can get around it for now, sorry. 🙁
As Scott mentioned, this fix will be included in the upcoming 3.8.4 release.
Thanks for the push 😉
Brian.
peterjbMemberGuys,
Thanks for yor help – I’ll await the 3.8.4 release for the permanent fix, but in the interim I’ll temporarily assign the struts-config.xml to the default text editor as a workaround.
I should have thought of that myself – Doh!
Cheers
Peter
-
AuthorPosts