- This topic has 6 replies, 2 voices, and was last updated 20 years, 6 months ago by Riyad Kalla.
-
AuthorPosts
-
Laurent DupervalMemberHi,
Since I started using RC1 and ME 2.8, my compilation time has gone up unexpectedly. I used to to a refresh and a Project | Clean in less than 2 minutes. Now, when I do a refresh or a clean, it can go on for more than 15 minutes. I often run out of memory.
One of the reasons is probably because a refresh goes through every single Javadoc HTML file to find problems in them. I actually had to remove my javadoc files from my project because of that.
To give you an idea, if I don’t have the javadoc files, recompilation finds about 300 problems. If I put the Javadocs files… > 109,000 problems! No wonder!
I logged a bug for Eclipse but there, they tell me that they don’t do any HTML processing so it’s probably because of a tool that parses HTML. The only plugin that I have that does that is ME. Has anyone else ever noticed this? How to I prevent ME from looking at my HTML files?
While I’m at it, I have JSP files in a lot of directories in my project but I only want ME to compile a certain subset of them. Is this possible?
THanks,
L
Riyad KallaMemberL,
A few other’s have reported this problem and as a workaround you can modify the HTML validator’s filter to ignore your .html files. However we have identified a memory usage problem with the parser and it will be fixed in Beta 2. Additionally we forgot to add a ‘turn off HTML validation completely’ switch in Beta 1, this will be in Beta 2 as well, so you will be able to completely disable HTML validation.Sorry for the trouble.
Laurent DupervalMemberOk. When is Beta 2 expected?
Where is the configuration of the HTML validator located? Can I configure the JSP validation there also?
L
Riyad KallaMemberOk. When is Beta 2 expected?
This week or next. If all goes well, I believe this week.
Where is the configuration of the HTML validator located?
Windows > Preferneces > MyEclipse > Editors > JSP/HTML Editors > HTML Formatting and Validation
Here you can adjust the file filter, and also the ability to show warnings and persist warnings.
Can I configure the JSP validation there also?
This is located at: Windows > Preferneces > MyEclipse > Editors > JSP/HTML Editors
and then select “Don’t compile JSPs”, if the JSPs aren’t compiled then they won’t be validated.
Laurent DupervalMemberThanks. Only thing is that I *do*want to compile JSPs. Just not all of them, only a subset. I don’t think that’s possible, right?
L
Laurent DupervalMemberOh, and the subset is in a specific directory. It’s not “one JSP in this directory, two in another, four more in that directory…” 🙂
L
Riyad KallaMemberCorrect, compiling subsets of JSP pages is not supported.
-
AuthorPosts