Community: adding tools.jar and heap space

These questions are meant to improve the experience for people compiling the community version of IJ,

First, off I believe the default heap space for javac needs to be increased in the default project setting. I could not compile with the default of 128MB.
I set it to 192MB.

Second, When I added the tools.jar to the Community edition I created a global library and added it to individually modules that needed it.
This doesn't appear to be what the IJ developers do, since the project didn't reference an undefined global library.

What do the JetBrains team do for this ?

I ask this because I want to make as few changes to the configuration files as possible since they are in GIT.

-Rob

1 comment

Hello Rob,

These questions are meant to improve the experience for people
compiling the community version of IJ,

First, off I believe the default heap space for javac needs to be
increased in the default project setting. I could not compile with the
default of 128MB.

I set it to 192MB.


Thanks for the notice! I've updated the default compiler settings for the
CE project so that the javac heap size is larger by default.

Second, When I added the tools.jar to the Community edition I created
a global library and added it to individually modules that needed it.

This doesn't appear to be what the IJ developers do, since the project
didn't reference an undefined global library.

What do the JetBrains team do for this ?


As described on http://www.jetbrains.org/pages/viewpage.action?pageId=983225
we add tools.jar to the classpath of the JDK.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.