open project without a UI

Hi, I'm writing a command line utility using ApplicationStarter. I would like to open a project to modify it. However, ProjectManager.loadAndOpenProject() brings up the swing UI and I don't want my command to have any UI since it's a command-line utility. Is there some other method I could call to get a Project without any UI?

1 comment
Comment actions Permalink

Hello Brian,

Hi, I'm writing a command line utility using ApplicationStarter. I
would like to open a project to modify it. However,
ProjectManager.loadAndOpenProject() brings up the swing UI and I don't
want my command to have any UI since it's a command-line utility. Is
there some other method I could call to get a Project without any UI?


ProjectUtil.openOrImport()

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


0

Please sign in to leave a comment.