Intellij Idea 9.0.2 CE build broblem

Hi!
I tried to install Intellij Idea 9.0.2 Community edition source code project, on Windows XP,  according to:
http://www.jetbrains.org/pages/viewpage.action?pageId=983225

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(UrlClassLoader.java:67)...


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]
     [java] doGant:
     [java]
     [java] BUILD FAILED
     [java] java.lang.RuntimeException: java.io.FileNotFoundException: D:\work\o
ther projects\ideaIC-95.66\null\build\scripts\utils.gant (D:\work\other projects
\ideaIC-95.66\null\build\scripts\utils.gant)


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?

Regards,
Denis

0
1 comment
Avatar
Permanently deleted user

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.

0

Please sign in to leave a comment.