How to run compiled idea10 source

Downloaded and compiled idea10 source. Wondering how to run that  compiled version - is it possible to use the compiled srouces as an  intellij editor? Is there an  Intellij IDEA 10 exectuable created somewhere as a result of building the source?

6 comments
Comment actions Permalink

Hello bassybassy,

Compiling the CE source doesn't build an .exe file. The compilation puts
the artifacts into out/artifacts directory. You can unpack the distribution
for the correct platform and run it using bin\idea.bat or bin/idea.sh.

Downloaded and compiled idea10 source. Wondering how to run that
compiled version - is it possible to use the compiled srouces as an
intellij editor? Is there an  Intellij IDEA 10 exectuable created
somewhere as a result of building the source?


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


0
Comment actions Permalink

Compiling the CE source doesn't build an .exe file. The compilation puts
the artifacts into out/artifacts directory.

FWIW the "out" directory as it was created upon compilation  has only two subdirectories: "production" and "test".

Inside the "production" directory there is a "bin" subdirectory which in turn contains  a "win" subdirectory (among others, mac, nix , linux )  which does have  an idea.bat file .

None of this is zipped (packed) so unpacking it seems not an option. Not sure what was meant there.

Anyway, running idea.bat from the directory just throws a  "class not found" error. Fooling around moving the  same named files which do reside  in the Community Edition  installation under Program Files (on Windows...that is the just ordinary  downloadable free edition of IntelliJ) to the seemingly appropriate place under out\bin and moving the idea.bat out of "win" and under "bin" so the paths are right just creates further "class not found" errors and is obviously not what was  ever  intended. Just confused .

Thank you for trying to assist. :)  Just not sure what you're saying to do.  

0
Comment actions Permalink

run the following command in the idea folder:
ant build

this will create several folders:

artifacts
classes
dist.all.ce
dist.mac.ce
dist.unix.ce
dist.win.ce

0
Comment actions Permalink

How did you compile them?
Did you open the project in IDEA and invoked the build action?
Then just invoke the Run action.
If you built by doing "ant all", "ant build" or "ant", then you have distributable packages at ./out/artifacts/

0
Comment actions Permalink

Yes it worked. thank you and thank you Björn Kautler . It's as you both said.


For the record
Make sure you ahve the ant plugin enabled in your copy of IntelliJ.
Open  the ant plugin for intelliJ (which is a side panel on the right labeld "ant" at least on my installation of IntelliJ) .
Click on  the  little yellow+ icon on the north panel  of that  ant plugin panel.
Navigate to the file  build.xml located within the top-level directory of the sources you downloaded.
Select that file and click OK
Find  the "all" task which will apper in the main ant plugin panel, right click on "all" and select "run".
When it's done building,  navigate to the directory  "your_community_source_location\out\artifacts", which is a folder just  created by the ant build process you kicked off.
In the artifacts folder you'll see a number of zip (tar) files with names like ideaIC-108.SNAPSHOT.win  and ideaIC-108.SNAPSHOT.tar. These are  platform specific zipped files which consititute the version of IntelliJ you just created from source.
Unzip the one specific to your platform, (what follows is specific to Windows, adjust for your platform)
navigate to "your_community_source_location\out\artifacts\bin"
double click on the file idea.bat

This will launch the Intelli version built from the sources.

I would like to mark this question as answered and remit stars to you and Björn Kautler  but I don't  see the checkmark box to mark the question as answered anywhere :(

Message was edited by: bassybassy goodboy

0
Comment actions Permalink

You didn't post it as question as it seems. You also see in the thread list that questions have other icons.

0

Please sign in to leave a comment.