Build of IntelliJ 10 CE fails because com.google.common.collect is not there

Hello,

I tried build ing intelliJ 10 CE following instructions:
(downloaded tar ball since I wasnt able to git through our firewall)
http://www.jetbrains.org/pages/viewpage.action?pageId=983225

When using intelliJ 10 CE to build it from code usung Build -> Make Project it builds with error:
com.google.common.collect
is not found.

I also tries die add build.xml in root director as an Ant Build File an build it using ant build integration of intelliJ.
It builds successfully, but IntelliJ itself doesn't find it anyway. So I cannot start it in Debug Mode for instance.

Does someone know how I can add this to the project.(IntelliJ make way )
If it would be a maven project I would add it to dependencies, but its ant and I don't know much about
ant and dependency resolution.

Thanks
Ciao Matthias

10 comments
Comment actions Permalink

Hello Matthias,

which version of source tarball do you have? Which file gives a compilation error?
Please verify that file lib/guava-r06.jar is in place.

0
Comment actions Permalink

My Tarball version is ideaIC-99.18
/lib/guava-r06.jar is there
deaIC-99.18\java\java-impl\src\com\intellij\codeInsight\completion\ExpectedTypeBasedCompletionProvider.java
ideaIC-99.18\java\java-impl\src\com\intellij\ide\util\TreeJavaClassChooserDialog.java

have in sume 4 errors

0
Comment actions Permalink

Any ideas  what it could be? Googleing for the package didn't help much, I did not found a current downloadable jar or something.

thanks
matthias

0
Comment actions Permalink

Dependencies of 99.18 appear to be a bit incomplete :(
You can get recent sources from Git repository, or fix it manually - by adding project library "Guava" to the dependencies of the module "java-impl".

0
Comment actions Permalink

Hello,

yeah this helped out!

Unofrtunatly I am not able to git through our firewall. Also there is the Problem that Task Management Plugin is not available in my self compliled version
of intelliJ CE In Settings -> PlugiNs its not listet. I wanted to try to fix the redmine issue I filed (http://youtrack.jetbrains.net/issue/IDEA-63027) but when its not there I cannot check my
work on this bug. Will this be solved when I clone from git?

thanks
Matthias

0
Comment actions Permalink

Sorry, another one broken thing :/
Please add modules "tasks-core", "tasks-api", "tasks-java" and "jira-connector" to the dependencies of the module "community-main".

Having access to the repository isn't needed for playing with sources but is required if you would want to submit a patch.

0
Comment actions Permalink

Hello,

meanwhile I got the current idea 10 ce via GIT, but the Task Management Problem is there too.
I will try your suggestion and will report.

thanks
matthias

0
Comment actions Permalink

It takes some time for changes to be pushed and forwarded to public repository.
The commit is there now: http://git.jetbrains.org/?p=idea/community.git;a=commit;h=104add6261efd030fe0f4debc3851e05d889241b
Please check your git log. If the commit isn't there - just update.

0
Comment actions Permalink

Hi,

meanwhile everything works out of the box. Last days I made a fresh git clone on my Mac and it worked immediately.
The only weird thing is that IDEA complains about circular dependencies between some modules:

1. platform-impl, testFramework, lang-impl, lvcs-impl, RedExpSupport, images, xdebugger-impl, vcs-impl, xml, platform-resources, dom-impl, dom-openapi, resources
2. compiler-impl, idea-ui

Despite of that it builds without errors.

ciao Matthias

0
Comment actions Permalink

Hi Matthias,

I've applied the same patches to the project so that's no wonder you got them after update.

Circular dependencies is not a problem usually, just a bad practice. We're working slowly to get rid of them.

0

Please sign in to leave a comment.