ProjectWizardStepFactory and createProjectJdkStep
Hi All,
I would like write a plugin for developing for the J9 VM. I have been looking at the J2MEsupport plugin source as an example and I would need to create a new wizard step similar to createProjectJdkStep but customized for the J9 VM. Anyone know exactly what this method sets up?
I assume its things like classpaths, compiler location etc..
Thanks,
Serge
请先登录再写评论。
Serge,
This step just provide a dialog to choose appropriate to selected module jdk
(like MobileJDK for Mobile modules or IdeaJDK for Plugin modules).
Do you want to implement your own Sdk to use specific compiler and
classpaths?
Thank you.
--
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
"Serge Sozonoff" <no_mail@jetbrains.com> wrote in message
news:3749613.1123668490360.JavaMail.itn@is.intellij.net...
>
looking at the J2MEsupport plugin source as an example and I would need to
create a new wizard step similar to createProjectJdkStep but customized for
the J9 VM. Anyone know exactly what this method sets up?
>
>
Hi Anna,
Yes, I realised this after further looking around. I have now started looking at SdkType...
Yes I do. J9 uses a different directory layout and filenames amongst other differences.
I would like to build the plugin in phases.
Phase 1 would just allow me to add J9 VM as a JDK and develop and compile a projct with it.
Phase 2 would enable debugging, since debugger is a little different in J9 I think.
Phase 3 Add support for J9 Device developer version.
Phase 4 etc ...
Serge,
Currently SdkType doesn't provide an explicit way to compile/run/debug etc.
Seems that everything would work only via different external tools. Sorry.
Thank you.
--
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
"Serge Sozonoff" <no_mail@jetbrains.com> wrote in message
news:9099436.1123674779223.JavaMail.itn@is.intellij.net...
>
looking at SdkType...
>
differences.
>
a projct with it.
>
I think.
>
>
>
>
Anna,
Fine, but for the moment all I would like to do is add IBM's J9 as a JDK. Since it has a slightly different layout than the standard SUN JDK I am assuming that I still need to define a new SdkType where I define paths to binaries and setup the classpath etc ...
I think run and compile should then work fine.
Debugging will take some additional work because the debugger does not work the same way.
Thanks,
Serge
Hi Anna,
Actually, I was expecting a reply.
Can I simply use SDK and SdkType to add J9 as a valid JDK and get the basic functionality of develop, compile and run?
Thanks,
Serge
Serge,
when you implement SdkType you provide vm executable, bin, rt, tools etc
paths. Idea internally would use them to run java/javaw/javac. So if J9 can
provide compatible analogs then everything would work.
Feel free to ask more ....
Thanks.
--
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
"Serge Sozonoff" <no_mail@jetbrains.com> wrote in message
news:7810282.1123782616025.JavaMail.itn@is.intellij.net...
>
>
basic functionality of develop, compile and run?
>