why does Aurora parse every file in the whole world?

Just for the sake of my enlightenment (and if this
has already been answered, just point me to the
archive):
Aurora takes much longer than earlier versions, to
start up. It says it's parsing every file in the
classpath, going into every jar. earlier it used to
say it was optimizing each file in the jdk.
what exactly is it doing that takes so much time?
Thanks,
Nilesh

4 comments
Comment actions Permalink

Nilesh Thali wrote:

Just for the sake of my enlightenment (and if this
has already been answered, just point me to the
archive):
Aurora takes much longer than earlier versions, to
start up. It says it's parsing every file in the
classpath, going into every jar. earlier it used to
say it was optimizing each file in the jdk.
what exactly is it doing that takes so much time?


Basically, it's indexing all the classes, fields, methods, etc. in all
the files so that it can do all those cool refactoring and navigation
tricks.

That's a vast simplification, but you get the idea.

Ciao,
Gordon

--
Gordon Tyler (Software Developer)
Quest Software <http://java.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: 416-643-4846 | Fax: 416-594-1919

0
Comment actions Permalink

I noticed that its also scanning html files.
E.g. my project contains subdir reports/html/..
all that content (that is generated) will be scanned.


0
Comment actions Permalink

This is for "Find usages"'s search in non-java files option. I'd suggest to
exclude any content subdirs that aren't actually source of any kind like
generated stuff in your case.

--

Best regards,
Maxim Shafirov
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"


"Michael Damberger" <michael.damberger@t-online.de> wrote in message
news:21463120.1060840893839.JavaMail.itn@is.intellij.net...

I noticed that its also scanning html files.
E.g. my project contains subdir reports/html/..
all that content (that is generated) will be scanned.

>
>
>


0
Comment actions Permalink

That probably has something to do with the fact that refactoring in IDEA searches for usages in non-java files. For example if you change the name of a class, IDEA will display it's usage in the java source of course but also in non-java files such as the project files (in run definitions for example) and probably in HTML files as well.

0

Please sign in to leave a comment.