facebook

Refreshing/recompilation of my Project is slow [Closed]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #208449 Reply

    Hi,

    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

    #208452 Reply

    Riyad Kalla
    Member

    L,
    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.

    #208458 Reply

    Ok. When is Beta 2 expected?

    Where is the configuration of the HTML validator located? Can I configure the JSP validation there also?

    L

    #208467 Reply

    Riyad Kalla
    Member

    Ok. 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.

    #208472 Reply

    Thanks. 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

    #208473 Reply

    Oh, 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

    #208478 Reply

    Riyad Kalla
    Member

    Correct, compiling subsets of JSP pages is not supported.

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Refreshing/recompilation of my Project is slow [Closed]

You must be logged in to post in the forum log in