OpenAPI objects outside running Application instance

Is it possible to access/retrieve OpenAPI objects (Project, e.g.) outside a running instance of Application? If so, how would that be achieved?

4 comments

Hello Steve,

Is it possible to access/retrieve OpenAPI objects (Project, e.g.)
outside a running instance of Application? If so, how would that be
achieved?


What exactly would you like to do? A Project cannot exist without an Application.

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

This is a command line utility I am trying to build (its a re-impl of the maven-idea-plugin to use the mevenide-idea codebase, which utilizes the OpenAPI). From my searches online it seemed that getting an Application instance forced the IDE to actually launch, which I do not want to have happen.

The utility is attempting to generate an IntelliJ project (IPR, IWL and IML files) given a maven project descriptor.

0

Hello Steve,

This is a command line utility I am trying to build (its a re-impl of
the maven-idea-plugin to use the mevenide-idea codebase, which
utilizes the OpenAPI). From my searches online it seemed that getting
an Application instance forced the IDE to actually launch, which I do
not want to have happen.

The utility is attempting to generate an IntelliJ project (IPR, IWL
and IML files) given a maven project descriptor.


You need to implement a command-line launcher. You'll need to implement the
ApplicationStarter interface, and register the implementation at the ]]>
extension point. The DiffApplication class available in the OpenAPI sources
can serve as an example.

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

But, Maven will already be "starting" this process.

I am looking to just access the OpenAPI instances without actually launching an IntelliJ instance. Is that possible?

0

Please sign in to leave a comment.