upgrading to new idea build without losing plug-ins

is it possible? after each update i need to re-install the plugins...

thanks

0
13 comments
Avatar
Permanently deleted user

If you're on Linux, you can change your plugins path by setting the IDEA_PLUGINS_PATH environment variable to the path before running IDEA. This probably works on other platforms too. This way you can set your plugins path to be ~/idea-plugins or something, so it isn't touched when you upgrade IDEA.

0
Avatar
Permanently deleted user

Unfortunately, that doesn't work in Windows. XP Pro anyway.

"Keith Lea" <keith@cs.oswego.edu> wrote in message
news:8132042.1080155790793.JavaMail.itn@is.intellij.net...

If you're on Linux, you can change your plugins path by setting the

IDEA_PLUGINS_PATH environment variable to the path before running IDEA. This
probably works on other platforms too. This way you can set your plugins
path to be ~/idea-plugins or something, so it isn't touched when you upgrade
IDEA.


0
Avatar
Permanently deleted user

Try adding something like -Didea.plugins.path="~
.IntelliJIdea
plugins"
to the "lax.nl.java.option.additional" entry in the idea.lax file.
It seems to work with WinXP Pro. Although I haven't really tested it other
than checking the plugin list after startup to see that it matches the right
plugins directory contents.

"Brad" <none@nowhere.org> wrote in message
news:c3so0d$7lv$1@is.intellij.net...

Unfortunately, that doesn't work in Windows. XP Pro anyway.

>

"Keith Lea" <keith@cs.oswego.edu> wrote in message
news:8132042.1080155790793.JavaMail.itn@is.intellij.net...

If you're on Linux, you can change your plugins path by setting the

IDEA_PLUGINS_PATH environment variable to the path before running IDEA.

This

probably works on other platforms too. This way you can set your plugins
path to be ~/idea-plugins or something, so it isn't touched when you

upgrade

IDEA.

>
>


0
Avatar
Permanently deleted user

On 24-03-2004 18:28, Michal Bazynski wrote:

is it possible? after each update i need to re-install the plugins...


I install each new IDEA from the zip file. For each update I do the
following steps (on windows 2000).
1. rename the directory of the previous installation by appending the
build number(e.g. C:\Program Files\IDEA --> C:\Program Files\IDEA1179)
2. unpack the zip in a new directory with the same name (C:\Program
Files\IDEA)
3. move the jre directory from the old installation to the new one.
4. move the plugin jars and directories from the old installation to the
new one (being careful not to overwrite the plugins already there:
cvsIntegration, jsr45debug, starteamIntegration, tomcatIntegration)

Finished. These actions can of course be scripted to avoid manual
labor:-) This way I can easily go back a build if the current one
doesn't allow me to work and I don't have to install all plugins again.

Bas

0
Avatar
Permanently deleted user

Yes this is exactly what I do too. Any budding script writers fancy
knocking together a bat file? ;)

N.

Bas Leijdekkers wrote:

On 24-03-2004 18:28, Michal Bazynski wrote:

>> is it possible? after each update i need to re-install the plugins...


I install each new IDEA from the zip file. For each update I do the
following steps (on windows 2000).
1. rename the directory of the previous installation by appending the
build number(e.g. C:\Program Files\IDEA --> C:\Program Files\IDEA1179)
2. unpack the zip in a new directory with the same name (C:\Program
Files\IDEA)
3. move the jre directory from the old installation to the new one.
4. move the plugin jars and directories from the old installation to the
new one (being careful not to overwrite the plugins already there:
cvsIntegration, jsr45debug, starteamIntegration, tomcatIntegration)

Finished. These actions can of course be scripted to avoid manual
labor:-) This way I can easily go back a build if the current one
doesn't allow me to work and I don't have to install all plugins again.

Bas

0
Avatar
Permanently deleted user

I have a .bat file that does this.

"Nathan Brown" <nedski@yahoo.com> wrote in message
news:c3uogh$cgr$2@is.intellij.net...

Yes this is exactly what I do too. Any budding script writers fancy
knocking together a bat file? ;)

>

N.

>

Bas Leijdekkers wrote:

>

On 24-03-2004 18:28, Michal Bazynski wrote:

>
>> is it possible? after each update i need to re-install the plugins...
>
>

I install each new IDEA from the zip file. For each update I do the
following steps (on windows 2000).
1. rename the directory of the previous installation by appending the
build number(e.g. C:\Program Files\IDEA --> C:\Program Files\IDEA1179)
2. unpack the zip in a new directory with the same name (C:\Program
Files\IDEA)
3. move the jre directory from the old installation to the new one.
4. move the plugin jars and directories from the old installation to the
new one (being careful not to overwrite the plugins already there:
cvsIntegration, jsr45debug, starteamIntegration, tomcatIntegration)

>

Finished. These actions can of course be scripted to avoid manual
labor:-) This way I can easily go back a build if the current one
doesn't allow me to work and I don't have to install all plugins again.

>

Bas



0
Avatar
Permanently deleted user

Tried that and it didn't work. I'll give it another shot though.

"Tim Haley" <ymaraner@yahoo.com> wrote in message
news:c3un2i$rob$1@is.intellij.net...

Try adding something like -Didea.plugins.path="~
.IntelliJIdea
plugins"
to the "lax.nl.java.option.additional" entry in the idea.lax file.
It seems to work with WinXP Pro. Although I haven't really tested it

other

than checking the plugin list after startup to see that it matches the

right

plugins directory contents.

>

"Brad" <none@nowhere.org> wrote in message
news:c3so0d$7lv$1@is.intellij.net...

Unfortunately, that doesn't work in Windows. XP Pro anyway.

>

"Keith Lea" <keith@cs.oswego.edu> wrote in message
news:8132042.1080155790793.JavaMail.itn@is.intellij.net...

If you're on Linux, you can change your plugins path by setting the

IDEA_PLUGINS_PATH environment variable to the path before running IDEA.

This

probably works on other platforms too. This way you can set your plugins
path to be ~/idea-plugins or something, so it isn't touched when you

upgrade

IDEA.

>
>

>
>


0
Avatar
Permanently deleted user

Hmm. Must have had a typo the first try. Works now. Thanks.

"Tim Haley" <ymaraner@yahoo.com> wrote in message
news:c3un2i$rob$1@is.intellij.net...

Try adding something like -Didea.plugins.path="~
.IntelliJIdea
plugins"
to the "lax.nl.java.option.additional" entry in the idea.lax file.
It seems to work with WinXP Pro. Although I haven't really tested it

other

than checking the plugin list after startup to see that it matches the

right

plugins directory contents.

>

"Brad" <none@nowhere.org> wrote in message
news:c3so0d$7lv$1@is.intellij.net...

Unfortunately, that doesn't work in Windows. XP Pro anyway.

>

"Keith Lea" <keith@cs.oswego.edu> wrote in message
news:8132042.1080155790793.JavaMail.itn@is.intellij.net...

If you're on Linux, you can change your plugins path by setting the

IDEA_PLUGINS_PATH environment variable to the path before running IDEA.

This

probably works on other platforms too. This way you can set your plugins
path to be ~/idea-plugins or something, so it isn't touched when you

upgrade

IDEA.

>
>

>
>


0
Avatar
Permanently deleted user

Brad,

I don't suppose you would mind sharing that .bat would you?

thanks
scott

"Brad" <none@nowhere.org> wrote in message
news:c3uq72$gtq$1@is.intellij.net...

I have a .bat file that does this.

>

"Nathan Brown" <nedski@yahoo.com> wrote in message
news:c3uogh$cgr$2@is.intellij.net...

Yes this is exactly what I do too. Any budding script writers fancy
knocking together a bat file? ;)

>

N.

>

Bas Leijdekkers wrote:

>

On 24-03-2004 18:28, Michal Bazynski wrote:

>
>> is it possible? after each update i need to re-install the plugins...
>
>

I install each new IDEA from the zip file. For each update I do the
following steps (on windows 2000).
1. rename the directory of the previous installation by appending the
build number(e.g. C:\Program Files\IDEA --> C:\Program Files\IDEA1179)
2. unpack the zip in a new directory with the same name (C:\Program
Files\IDEA)
3. move the jre directory from the old installation to the new one.
4. move the plugin jars and directories from the old installation to

the

new one (being careful not to overwrite the plugins already there:
cvsIntegration, jsr45debug, starteamIntegration, tomcatIntegration)

>

Finished. These actions can of course be scripted to avoid manual
labor:-) This way I can easily go back a build if the current one
doesn't allow me to work and I don't have to install all plugins

again.

>

Bas

>
>


0
Avatar
Permanently deleted user

Not at all. It uses Winzip comand-line which requires Winzip 9.0. So, if you
have another zip tool, you'll have to edit accordingly.
Anyway, here it is.

"Scott Curtis" <scurtis@smart421.com> wrote in message
news:c3ut8i$3ui$1@is.intellij.net...

Brad,

>

I don't suppose you would mind sharing that .bat would you?

>

thanks
scott

>

"Brad" <none@nowhere.org> wrote in message
news:c3uq72$gtq$1@is.intellij.net...

I have a .bat file that does this.

>

"Nathan Brown" <nedski@yahoo.com> wrote in message
news:c3uogh$cgr$2@is.intellij.net...

Yes this is exactly what I do too. Any budding script writers fancy
knocking together a bat file? ;)

>

N.

>

Bas Leijdekkers wrote:

>

On 24-03-2004 18:28, Michal Bazynski wrote:

>
>> is it possible? after each update i need to re-install the

plugins...

>
>

I install each new IDEA from the zip file. For each update I do the
following steps (on windows 2000).
1. rename the directory of the previous installation by appending

the

build number(e.g. C:\Program Files\IDEA --> C:\Program

Files\IDEA1179)

2. unpack the zip in a new directory with the same name (C:\Program
Files\IDEA)
3. move the jre directory from the old installation to the new one.
4. move the plugin jars and directories from the old installation to

the

new one (being careful not to overwrite the plugins already there:
cvsIntegration, jsr45debug, starteamIntegration, tomcatIntegration)

>

Finished. These actions can of course be scripted to avoid manual
labor:-) This way I can easily go back a build if the current one
doesn't allow me to work and I don't have to install all plugins

again.

>

Bas

>
>

>
>





Attachment(s):
install.bat
0
Avatar
Permanently deleted user

Another way to do it: I got tired of struggling with batch file
limitations so I wrote a simple Ant script which I call from a very
simple batch file (which overrides "dest" and "settings", etc.):

build.xml:
]]>
<property name="idea.lax" value="$/bin/idea.lax"/> <available property="idea" file="${idea.lax}" /> <fail unless="idea" message="Not an idea installation!" /> <copy todir="$" overwrite="true" >
<fileset dir="$" includes="plugins/*,lib/,bin/*" />
</copy>
<replaceregexp file="${idea.lax}" match="-Xms.?m -Xmx.?m"
replace="-Xms64m -Xmx512m" />
</project>

update.bat:
ant -f C:\dev\tools\settings\build.xml -Ddest=%1 -Dbasedir="."
-Dsettings="C:\dev\tools\settings"

Brad wrote:

Not at all. It uses Winzip comand-line which requires Winzip 9.0. So, if you
have another zip tool, you'll have to edit accordingly.
Anyway, here it is.

"Scott Curtis" <scurtis@smart421.com> wrote in message
news:c3ut8i$3ui$1@is.intellij.net...

>>Brad,
>>
>>I don't suppose you would mind sharing that .bat would you?
>>
>>thanks
>>scott


--
Regards,
Rob Harwood
Software Developer
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"

0
Avatar
Permanently deleted user

thank you everyone.

0
Avatar
Permanently deleted user

I really like your approach! Especially the regular expression replacement is very neat

0

Please sign in to leave a comment.