4 comments

It is indeed possible to build an IDEA project without running the IDE but currently we don't expose the corresponding API for public use. It is used
in our continuous integration server (TeamCity) to compile IDEA projects (see http://confluence.jetbrains.com/display/TCD8/IntelliJIDEAProject).

Why do you need this? Do you need to compile your project on some continuous integration server?

--
Nikolay Chashnikov
JetBrains
http://www.jetbrains.com
"Develop with pleasure!"

0

We do use a CI server; A full compilation for us takes ~10 minutes and I was hoping to integrate that as a step in the early morning automated sync and build script that could execute on each developers m/c so that when one starts the day, the project is fully ready. (Also the motivation behind wanting to externally trigger the indexing process, and possibly re-use the index structures across m/cs)

Is there a chance you guys could share the API ? (With the obvious understanding that this API can continue to change)

Thanks,
-Rohit

0

Nikolay Chashnikov/Jetbrains team - can you let me know the "api" that I can use to do this ?

Thanks
Rohit

0

Hello,

currently the required classes aren't packaged to IDEA's distribution. You can check out and build Community Edition from sources, this will produce
the required jars in out/artifacts/jps/ directory. After that you can run org.jetbrains.jps.build.Standalone class. But note that you won't be able to
perform build operations provided by plugins from Ultimate Edition this way (e.g. build Web/Ejb artifacts, compile GWT modules, etc).

Probably we'll include 'standalone build' part to the distribution of IDEA 14 but I cannot promise that. You can watch
http://youtrack.jetbrains.com/issue/IDEA-119784 to be notified about progress on this.

--
Nikolay Chashnikov
JetBrains
http://www.jetbrains.com
"Develop with pleasure!"

0

Please sign in to leave a comment.