- This topic has 5 replies, 4 voices, and was last updated 20 years, 9 months ago by
Riyad Kalla.
-
AuthorPosts
-
flingMemberI am unable to use jsp formatter, looks like it is not enabled.
August 10, 2003 at 9:37 am #197712
support-michaelKeymasterJSP formatting features are currently going through our internal testing process. This capability will be available in an upcoming release.
Michael
MyEclipse SupportOctober 1, 2004 at 7:11 pm #216668
Scott RyanMemberIt would nice if you would not remove features that were working ok but upgrade them. The formatter was a nice feature that we were using in previous versions. We had to upgrade to the latest version to get around some bugs in other areas only to find a number of features we were using had disappeared. The formatter was a useful tool in the state it was in and it is too bad you have removed it.
October 2, 2004 at 10:20 am #216690
Riyad KallaMemberScott,
The JSP formatter was *not* working OK before, that is why it was removed. On some pages, it would mangle the imports in a such a way that some would be removed and other would randomly be concatonated together into a giant string. Ontop of that it would sometimes munge the page directives and <html> and <head> tag contents together, overall ruining the page. You can imagine the kind of feedback we would have gotten if someone had right clicked on their project and said “Format”… I imagine someone would have shot us.October 2, 2004 at 2:30 pm #216711
Scott RyanMemberI did not realize there were issues. We did not see any problem but hopefully you get them resolved soon as it was a very useful tool and there aren’t any good replacements out there.
I hope the JSP validator gets fixed as well cause right now it is taking 10 minutes to validate a 30 line JSP file. It must be doing some incredible validation.
Well thanks for a great product and I look forward to future versions and more features and stability.
Scott
October 2, 2004 at 2:41 pm #216712
Riyad KallaMemberit was a very useful tool and there aren’t any good replacements out there.
Absolutely agree, formatters now fall into the “Required tools” category for keeping large projects nicely organized.
I hope the JSP validator gets fixed as well cause right now it is taking 10 minutes to validate a 30 line JSP file. It must be doing some incredible validation.
I had to re-read this sentence 3x to make sure I understood you… JSP validation consists of the following steps:
1) Run JSP page through Jasper2 to create the Servlet Java file
2) Execute javac.exe to compile the Java file into a class.So ‘validation’ of a file should not take any longer than it does for example, Tomcat to compile and display the JSP page to a user visiting the site (it should be much faster in ME). I have compiled many large files and they take about a second (Give or take) each… are you exagerating or do you honestly mean wall-clock-time it takes more than a few seconds to validate a JSP file when you save it? (or execute validation manually).
Please provide all of your Build IDs for MyEclipse (Window > Preferences > MyEclipse) and Eclipse (Help > About) as well as the JSP file in question, even 10 seconds per file is unacceptable, let alone 1 minutve, 5 minutes or 10. We would like to get to the bottom of this ASAP.
It must be doing some incredible validation.
For 10mins of validation? I wish I could point you to a 200pg whitepaper on how we do validation to explain the 10mins it takes… but I can’t 😛
-
AuthorPosts