PluginDev: Troubles

Hello,

1. Configure IDEA jdk make wrong JDK configuration. It place jars from %IDEA_JDK%\lib, but must from %IDEA_JDK%\jre\lib, %IDEA_JDK%\jre\lib\ext

2. Running sandbox keep existing plugins. But must have only one plugin (that in development).

3. Cosmetics. Sandbox textfield aligment in configuration box mistakes.

Thanks!

6 comments
Comment actions Permalink

What is even worse:

When I have two plugin projects open and compile plugin 2, then a folder
for plugin 2 is created in the sandbox but the files from plugin 1 are
copied into... :(

Alexey Efimov wrote:

Hello,

1. Configure IDEA jdk make wrong JDK configuration. It place jars from %IDEA_JDK%\lib, but must from %IDEA_JDK%\jre\lib, %IDEA_JDK%\jre\lib\ext

2. Running sandbox keep existing plugins. But must have only one plugin (that in development).

3. Cosmetics. Sandbox textfield aligment in configuration box mistakes.

Thanks!


--
Martin Fuhrer
Fuhrer Engineering AG
http://www.fuhrer.com

0
Comment actions Permalink

Sounds like, that i must continue using my old ant script for autodeploying and debuginh plugins into sandbox...

0
Comment actions Permalink

Alexey,

1. Configure IDEA jdk make wrong JDK configuration. It place jars from

%IDEA_JDK%\lib, but must from %IDEA_JDK%\jre\lib, %IDEA_JDK%\jre\lib\ext

Really? Internal jdk in IDEA SDK just yours IDEA_JDK - as one you can create
by hands.

2. Running sandbox keep existing plugins. But must have only one plugin

(that in development).

We synchronize this directory on compilation as exploded directory for WEB
modules. Again, if you want to test a number of plugins together (as they
will live in IDEA) what should you do?

>

3. Cosmetics. Sandbox textfield aligment in configuration box mistakes.


;( You are absolutely right.


--
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"


0
Comment actions Permalink

Hello Ann,

Really? Internal jdk in IDEA SDK just yours IDEA_JDK
- as one you can create
by hands.


Just try it on your build. And you will see that problem is. In fact, IDEA_JDK is pointed into JAVA_HOME, but IDEA start from JRE - %IDEA_JDK%\jre.

We synchronize this directory on compilation as
exploded directory for WEB
modules. Again, if you want to test a number of
plugins together (as they
will live in IDEA) what should you do?


In real, i don't need thiese plagins in my sandbox. I don't try to debug number of plugins. I just try to debug 'only my' plugin. Not anymore else.
But what in case of depended pluging... Hmm, i guess, it must deploy depended plugins also and clean up all other.

Thanks!

0
Comment actions Permalink

We synchronize this directory on compilation as exploded directory for WEB
modules. Again, if you want to test a number of plugins together (as they
will live in IDEA) what should you do?


Anna,
should we have an option to "clean all other plugins on deploy"? I've also
worked
on several different plugins (not necessarily at the same time) and
everytime I switch
projects I need to remember to go clean the sandbox to not be polluted by
the
previous plugin.

Just a thought :)

Vince.


0
Comment actions Permalink

Vincent,

should we have an option to "clean all other plugins on deploy"? I've also
worked
on several different plugins (not necessarily at the same time) and
everytime I switch
projects I need to remember to go clean the sandbox to not be polluted by
the previous plugin.


May be it's easier just to have different sandboxes for them? I think that
sandbox (by definition) "group" everything you want to test together.

Thanks.


--
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"


0

Please sign in to leave a comment.