[scala] how to stop recompile all scala files even there is no file has been changed?

View: New views
5 Messages — Rating Filter:   Alert me  

[scala] how to stop recompile all scala files even there is no file has been changed?

by Andrew Z Tan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Firstly, thanks for this nice plugin, which is the main reason that I upgraded to IDEA 8.0.
 
it has bee a nice experience with this plugin. however, (1) it seems that all the scala files are recompiled when there is no file has been changed. is there a way to stop this as the compile time can be quite long for a fair size project.  In my case, it takes about 20 seconds.

Many thanks,
Andrew






Re: [scala] how to stop recompile all scala files even there is no file has been changed?

by Ricky Clarkson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You might want to address this directly to Jetbrains.

2009/7/7 Andrew Z Tan <andrew.z.tan@...>:

> Hi,
>
> Firstly, thanks for this nice plugin, which is the main reason that I
> upgraded to IDEA 8.0.
>
> it has bee a nice experience with this plugin. however, (1) it seems that
> all the scala files are recompiled when there is no file has been changed.
> is there a way to stop this as the compile time can be quite long for a fair
> size project.  In my case, it takes about 20 seconds.
>
> Many thanks,
> Andrew
>
>
>
>
>
>



--
Ricky Clarkson
Java Programmer, AD Holdings
+44 1565 770804
Skype: ricky_clarkson
Google Talk: ricky.clarkson@...

Re: [scala] how to stop recompile all scala files even there is no file has been changed?

by braver :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I don't see "all files being recompiled," only the changed ones in fact.  The changed ones are rescanned, which does take time indeed.  Like in times of Fortran, Scala compile is a good time to meditate on your algorithms and the state of the world in general -- thinking through your program in your mind eliminates extra "test by compile" cycles!

Cheers,
Alexy


Re: [scala] how to stop recompile all scala files even there is no file has been changed?

by Andrew Z Tan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Oops..sent to the wrong list. sorry,
I have post it to jetbrains now. thanks for all the replies!


2009/7/7 Alexy Khrabrov <deliverable@...>
I don't see "all files being recompiled," only the changed ones in fact.  The changed ones are rescanned, which does take time indeed.  Like in times of Fortran, Scala compile is a good time to meditate on your algorithms and the state of the world in general -- thinking through your program in your mind eliminates extra "test by compile" cycles!

Cheers,
Alexy



Re: [scala] how to stop recompile all scala files even there is no file has been changed?

by Andrew Z Tan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have got the answer from jetbrains:

Due to IDEA make logic we can't to not recompile files with wrong package name (I mean if package name not same as package structure). So check that all files factorized right.

I'll add new intention for checking it.

If all files factorized right, please ask again.

Or possibly you use 9M1 IDEA version, there is also problems with make.

 

Best regards,

Alexander Pokhalyuzin.



2009/7/7 Andrew Z Tan <andrew.z.tan@...>
Oops..sent to the wrong list. sorry,
I have post it to jetbrains now. thanks for all the replies!


2009/7/7 Alexy Khrabrov <deliverable@...>

I don't see "all files being recompiled," only the changed ones in fact.  The changed ones are rescanned, which does take time indeed.  Like in times of Fortran, Scala compile is a good time to meditate on your algorithms and the state of the world in general -- thinking through your program in your mind eliminates extra "test by compile" cycles!

Cheers,
Alexy