- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Re: To those hacking scalac in IntelliJ
Thu, 2010-07-22, 14:51
On Thu, Jul 22, 2010 at 9:31 AM, Alexander Podkhalyuzin
wrote:
> We simplified compiling ordinary projects in recent IntelliJ scala plugin
> builds (only nightly builds), and this instruction doesn’t work. Actually
> it’s impossible now to compile scala compiler sources using IntelliJ.
>
> We are going to build scala compiler sources with IntelliJ (after some our
> code patching), so after that I’ll send newer instructions about how to
> build (and without newer instruction I can offer you just to use build
> 0.3.1814).
Thanks for all great responses!
I'll stick to 0.3.1814 for now and will report on my progress on
getting it to work.
PS. Publishing updated intellij projects would more than welcome. :-)
Thu, 2010-07-22, 15:17
#2
Re: To those hacking scalac in IntelliJ
On Thu, Jul 22, 2010 at 9:59 AM, Adriaan Moors wrote:
>> PS. Publishing updated intellij projects would more than welcome. :-)
>
> here are mine: http://github.com/adriaanm/scala/tree/idea -- thanks to
> Gilles Dubochet for getting me started
> Gilles set it up to use ant for builds, which should be better at handling
> dependencies
> using community edition 9.0 build 95.390, scala plugin 03.1796
How long does it take for ant to recompile it so intellij can run it?
(probably packing into a jar can skipped so it should be faster than
just default ant target)
Thu, 2010-07-22, 15:27
#3
Re: To those hacking scalac in IntelliJ
On Thu, Jul 22, 2010 at 3:59 PM, Adriaan Moors <adriaan.moors@epfl.ch> wrote:
PS. Publishing updated intellij projects would more than welcome. :-)here are mine: http://github.com/adriaanm/scala/tree/idea -- thanks to Gilles Dubochet for getting me started Gilles set it up to use ant for builds, which should be better at handling dependencies
In my experience that's not true. One of the main reasons for using and IDE is precisely because it handles dependencies better than ant. Additionally, IntelliJ with fsc (as Lukas described) gives the fastest modify-compile-run cycle on the planet, when it comes to the scala compiler project.
It is a pity the latest nightlies are unusable for scalac..
iulian
using community edition 9.0 build 95.390, scala plugin 03.1796
adriaan
--
« Je déteste la montagne, ça cache le paysage »
Alphonse Allais
Thu, 2010-07-22, 15:37
#4
Re: To those hacking scalac in IntelliJ
I feel the same as Iulian, the dependency manager in IntelliJ seems to work well,and it's much faster than using ant.
Btw, it's important to set the "maximum heap size" in the "Scala Compiler" settings to 1024 (or more).
Lukas
On Thu, Jul 22, 2010 at 16:07, Grzegorz Kossakowski <grek@google.com> wrote:
Btw, it's important to set the "maximum heap size" in the "Scala Compiler" settings to 1024 (or more).
Lukas
On Thu, Jul 22, 2010 at 16:07, Grzegorz Kossakowski <grek@google.com> wrote:
On Thu, Jul 22, 2010 at 9:59 AM, Adriaan Moors <adriaan.moors@epfl.ch> wrote:
>> PS. Publishing updated intellij projects would more than welcome. :-)
>
> here are mine: http://github.com/adriaanm/scala/tree/idea -- thanks to
> Gilles Dubochet for getting me started
> Gilles set it up to use ant for builds, which should be better at handling
> dependencies
> using community edition 9.0 build 95.390, scala plugin 03.1796
How long does it take for ant to recompile it so intellij can run it?
(probably packing into a jar can skipped so it should be faster than
just default ant target)
--
Grzegorz
using community edition 9.0 build 95.390, scala plugin 03.1796
adriaan