Disabling JAR caching

The command-line flag to disable caching of JARS was posted last week but I
can't find it. can someone please repost it? Thanks.


5 comments
Comment actions Permalink

The command-line flag to disable caching of JARS was posted last week but

I

can't find it. can someone please repost it? Thanks.


-Didea.jars.nocopy=true



0
Comment actions Permalink


What, actually, is the purpose of the jar caching?
Is it to speed up access where Jars might be on a network drive?

What is the downside to disabling jar caching?

Thanks,
Nick

0
Comment actions Permalink

jars opened by IDEA cannot be copied over. So copying them to a cache prevents write conflicts, if you run jobs that try to overwrite the jars while IDEA is referencing them. Why IDEA also makes copies of the JDK jars (including source) is beyond me..

0
Comment actions Permalink


OK. Understood.
This would be a problem with ant integration. The ant stcript may fetch the jars over the top of the exising ones...

-Nick

0
Comment actions Permalink

Why IDEA also makes copies of the JDK jars (including source) is beyond

me..

It doesn't anymore (the fix added on one of the latest builds before
release).

--
Valentin Kipiatkov
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"


"Christian Sell" <christian.sell@netcologne.de> wrote in message
news:5996885.1037551971763.JavaMail.jrun@is.intellij.net...

jars opened by IDEA cannot be copied over. So copying them to a cache

prevents write conflicts, if you run jobs that try to overwrite the jars
while IDEA is referencing them. Why IDEA also makes copies of the JDK jars
(including source) is beyond me..


0

Please sign in to leave a comment.