Unable to write in an editor

Yes, I know we talked about this one before but when it came back to
haunt me, I noticed this in my 3144 console window when I updated a plug-in:

Execute copy[C:\IntelliJ-IDEA-3144\bin\..\system\plugins\lineage.jar,
C:\Documents and Settings\agovrin\.IntelliJIdea\config\plugins\lineage.jar]
Execute delete[C:\IntelliJ-IDEA-3144\bin\..\system\plugins\lineage.jar]

This means that plug-ins find their way to my 4.5.3 system directory
instead of their correct place in the 3144 directory.

From my idea.lax:
lax.nl.java.option.additional=-Xms16m -Xmx192m -ea
-Xrunyjpagent:port=10100 -Djavasvn.delta.disabled=true
-Dsun.java2d.noddraw=true -Didea.system.path="..
system"
-Didea.config.path="..
config" -Didea.popup.weight=heavy
-Xbootclasspath/p:"C:
IntelliJ-IDEA-3144/lib/boot.jar"

So I decided to install another copy of 3144 choosing the IntelliJ
directory (not user directory) for config and system and see what
happens then.

I didn't choose to import settings.

Surprisingly, after I opened IntelliJ all of my plug-ins were there.

Thus, there seems to be a bug of putting and getting plug-ins from the
user directory rather than the defined one.

Can anyone else verify what I am saying?

Amnon

5 comments
Comment actions Permalink

I don't see idea.plugins.path defined in your idea.lax. Also on my
machine all variables are defined in an idea.properties file in the bin
dir, aren't your variables defined there?

Bas

Amnon I. Govrin wrote:

Yes, I know we talked about this one before but when it came back to
haunt me, I noticed this in my 3144 console window when I updated a plug-in:

Execute copy[C:\IntelliJ-IDEA-3144\bin\..\system\plugins\lineage.jar,
C:\Documents and Settings\agovrin\.IntelliJIdea\config\plugins\lineage.jar]
Execute delete[C:\IntelliJ-IDEA-3144\bin\..\system\plugins\lineage.jar]

This means that plug-ins find their way to my 4.5.3 system directory
instead of their correct place in the 3144 directory.

From my idea.lax:
lax.nl.java.option.additional=-Xms16m -Xmx192m -ea
-Xrunyjpagent:port=10100 -Djavasvn.delta.disabled=true
-Dsun.java2d.noddraw=true -Didea.system.path="..
system"
-Didea.config.path="..
config" -Didea.popup.weight=heavy
-Xbootclasspath/p:"C:
IntelliJ-IDEA-3144/lib/boot.jar"

So I decided to install another copy of 3144 choosing the IntelliJ
directory (not user directory) for config and system and see what
happens then.

I didn't choose to import settings.

Surprisingly, after I opened IntelliJ all of my plug-ins were there.

Thus, there seems to be a bug of putting and getting plug-ins from the
user directory rather than the defined one.

Can anyone else verify what I am saying?

Amnon

0
Comment actions Permalink

Yup, you are right. My idea.properties is not set up the way I specified
during installation -

  1. path to IDEA config folder

idea.config.path=~/.IntelliJIdea/config

  1. path to IDEA system folder

idea.system.path=~/.IntelliJIdea/system

  1. path to user installed plugins folder

idea.plugins.path=~/.IntelliJIdea/config/plugins

  1. other properties required to load

load.this.properties=

Can you confirm that the idea.properties file points to the user
directory even when the user specifies the IntelliJ directory during setup?

Amnon

Bas Leijdekkers wrote:

I don't see idea.plugins.path defined in your idea.lax. Also on my
machine all variables are defined in an idea.properties file in the bin
dir, aren't your variables defined there?

Bas

Amnon I. Govrin wrote:

>> Yes, I know we talked about this one before but when it came back to
>> haunt me, I noticed this in my 3144 console window when I updated a
>> plug-in:
>>
>> Execute copy[C:\IntelliJ-IDEA-3144\bin\..\system\plugins\lineage.jar,
>> C:\Documents and
>> Settings\agovrin\.IntelliJIdea\config\plugins\lineage.jar]
>> Execute delete[C:\IntelliJ-IDEA-3144\bin\..\system\plugins\lineage.jar]
>>
>> This means that plug-ins find their way to my 4.5.3 system directory
>> instead of their correct place in the 3144 directory.
>>
>> From my idea.lax:
>> lax.nl.java.option.additional=-Xms16m -Xmx192m -ea
>> -Xrunyjpagent:port=10100 -Djavasvn.delta.disabled=true
>> -Dsun.java2d.noddraw=true -Didea.system.path="..
system"
>> -Didea.config.path="..
config" -Didea.popup.weight=heavy
>> -Xbootclasspath/p:"C:
IntelliJ-IDEA-3144/lib/boot.jar"
>>
>> So I decided to install another copy of 3144 choosing the IntelliJ
>> directory (not user directory) for config and system and see what
>> happens then.
>>
>> I didn't choose to import settings.
>>
>> Surprisingly, after I opened IntelliJ all of my plug-ins were there.
>>
>> Thus, there seems to be a bug of putting and getting plug-ins from the
>> user directory rather than the defined one.
>>
>> Can anyone else verify what I am saying?
>>
>> Amnon

0
Comment actions Permalink

Amnon I. Govrin wrote:

Can you confirm that the idea.properties file points to the user
directory even when the user specifies the IntelliJ directory during setup?


Sorry, I can't, I have never used the installer.

Bas

0
Comment actions Permalink

OK, can anyone validate this?

Thanks,
Amnon

Bas Leijdekkers wrote:

Amnon I. Govrin wrote:

>> Can you confirm that the idea.properties file points to the user
>> directory even when the user specifies the IntelliJ directory during
>> setup?


Sorry, I can't, I have never used the installer.

Bas

0
Comment actions Permalink

AG> Can you confirm that the idea.properties file points to the user
AG> directory even when the user specifies the IntelliJ directory during
AG> setup?

Yes, it seems that the default idea.properties is always installed. I've
been updating this file by hand every since it appeared a few versions back.

Haven't bothered yet to file a bug about this - very buzy and even more lazy
:)

Carlos


0

Please sign in to leave a comment.