Modifying Global Libraries manually

Hi all,

I need to write a perl program to modify the global libraries manually. Basically, it will modify the file: IntelliJ\config\options\applicationLibraries.xml to add/remove some jar files. But the problem I am facing is that, even though I modify this file, whenever IntelliJ is restarted, it overwrites this with the old version somehow. It looks like it is caching this file somewhere, and during the restarts, removes all the modifications.

Is there a way to prevent this from happening and keep the changes that were made? Do I need to delete something from IntelliJs cache directory?

Thanks...

2 comments
Comment actions Permalink

Don't modify it while IDEA is still running...

Hi all,

I need to write a perl program to modify the global libraries
manually. Basically, it will modify the file:
IntelliJ\config\options\applicationLibraries.xml to add/remove some
jar files. But the problem I am facing is that, even though I modify
this file, whenever IntelliJ is restarted, it overwrites this with the
old version somehow. It looks like it is caching this file somewhere,
and during the restarts, removes all the modifications.

Is there a way to prevent this from happening and keep the changes
that were made? Do I need to delete something from IntelliJs cache
directory?

Thanks...



0
Comment actions Permalink

Actually, I am not...

I close IntelliJ, modify this, then restart it, but still, it somehow grabs it from somewhere...

0

Please sign in to leave a comment.