Please download sources in background...

Hi,

I really love the Maven integration. This is a very nice feature. But
please, please download the sources and javadocs in the background. I am
sitting here and waiting since several minutes until Idea has checked
every repository....
Just open the project with the jars that are available in my local
repository and check for sources/javadocs later.


Johannes Schneider

4 comments

I love this feature. Project start should be accelerated. Everybody likes to open project quickly and do something, not waits in seat to look at the screen.

0

I can possibly think of a number of reasons not to do it. Would your project structure be modified in the background? What about reparsing/indexing the library sources? Not impossible, but has to be given a very thorough thought.

On the other hand here's a solution which worked great for me. configure the integration the way as on the attached screenshot (generate sources is optional, depends on your project). IDEA re-opens the project very fast. When you need to, just click re-sync in Maven integration toolbar.



Attachment(s):
integration_settings.gif
0

Andrew Perepelytsya wrote:

I can possibly think of a number of reasons not to do it. Would your
project structure be modified in the background?


The project structure isn't changed. Only sources and javadocs would be
attached. I don't think that can be problematic.
Maybe it is a good idea to tell the user that idea is still updating the
sources/javadocs (there might be a yellow block on top of the uncompiled
class file).

An easy fix for the problems is to stay in offline mode for sources and
javadocs... I could live with this solution...

What about
reparsing/indexing the library sources? Not impossible, but has to be
given a very thorough thought.
On the other hand here's a solution which worked great for me.
configure the integration the way as on the attached screenshot
(generate sources is optional, depends on your project). IDEA
re-opens the project very fast. When you need to, just click re-sync
in Maven integration toolbar.


I really prefer to let Idea depend directly at the poms. This removes
another unnecessary indirection in project organization.



Johannes Schneider

0

Please sign in to leave a comment.