Alternate "New Project" wizard
Hello all,
I want to develop a plugin that works as the New Project Wizard, but it will take all its information from a XML file in our company-standard format.
How can I create a com.intellij.openapi.project.Project object ? And how do I set the necessary info like libraries, JDK, and other properties, on the new instance ?
Any info will be greatly appreciated,
Petr
请先登录再写评论。
Just copy predefined package ZIP. Wizard will ask location of unpacking and
then unpack files, rename IPR, IWS, IML files, fix also IML entries. Then
open project.
Look at http://www.intellij.org/twiki/bin/view/Main/ProjectPluginTemplate
BTW, it a old my dream :)) I'll already started such plugin (and not once),
but in every case i must closed plugin development becouse i haven't time :)
--
Alexey Efimov, Software Engineer
Sputnik Labs,
http://www.spklabs.com
"Petr Kozelka" <no_mail@jetbrains.com> wrote in message
news:27379776.1063021598780.JavaMail.itn@is.intellij.net...
will take all its information from a XML file in our company-standard
format.
>
do I set the necessary info like libraries, JDK, and other properties, on
the new instance ?
>
You can:
Use IML files for plugable mudules. See IPR file:
I think that you can add your ouw modules. In IML file you can specify Libraries, Sources etc. Also in IML file attached JDK. So if you create IML file you must just attach it to IPR, i guess. But i'm not sure... -- Alexey Efimov, Software Engineer Sputnik Labs, http://www.spklabs.com "Petr Kozelka" ]]> wrote in message
news:10155222.1063034123618.JavaMail.itn@is.intellij.net...