Intellij Idea 9.0.2 CE build broblem

I tried to install Intellij Idea 9.0.2 Community edition source code project, on Windows XP,  according to:

When I rebuild project and run Idea configuration, I get the exception:

java.lang.ClassNotFoundException: com.intellij.ide.plugins.PluginManager
    at com.intellij.util.lang.UrlClassLoader.findClass(

When I try to build idea using ant build task, either from Idea or from command line, I get the ant error:

     [java] Buildfile: d:\work\other projects\ideaIC-95.66\build\gant.xml
     [java] doGant:
     [java] BUILD FAILED
     [java] java.lang.RuntimeException: D:\work\o
ther projects\ideaIC-95.66\null\build\scripts\utils.gant (D:\work\other projects

The ant task wrongly search the script files in ideaIC-95.66\null\build\... directory, instead of ideaIC-95.66\build\...

Anyone experienced the same problem?


1 comment
Comment actions Permalink

I'm having the same problem (I'm trying to build the latest version from master branch). The problem appears to be caused by org.jetbrains.jps.idea.IdeaProjectLoader#guessHome which returns null.

When I changed the scripts which use guessHome to just use the current directory, there were some other errors such as "home is not defined. Defaulting to C:\DEVEL\IntelliJ%20IDEA\idea" which lead to the underlying reason that the build scripts don't work when there are spaces in the path.

I had IDEA checked out in a directory whose paths contains a space ("IntelliJ IDEA"). Removing the space fixed the problem.


Please sign in to leave a comment.