org.jetbrains.annotations does nto exist

an attempted compilation of the javadoc of OpenAPI 702 against the source nets the following:
cannot find org.jetbrains.annotations.NotNull

package org.jetbrains.annotations does not exist

and I am inclined to agree.

The only mention of this is in the import statements of the source classes, none of which cannot find them either. A Google search tuns up nothing useful, as does a search on forums and jetbrains site generally.

What am I missing here? Do these classes exist and should I have them as part of the OpenAPI download?

7 comments

do you not have annotations.jar?

N.

softwarevisualization wrote:

an attempted compilation of the javadoc of OpenAPI 702 against the source nets the following:
cannot find org.jetbrains.annotations.NotNull

package org.jetbrains.annotations does not exist

and I am inclined to agree.

The only mention of this is in the import statements of the source classes, none of which cannot find them either. A Google search tuns up nothing useful, as does a search on forums and jetbrains site generally.

What am I missing here? Do these classes exist and should I have them as part of the OpenAPI download?

0

Nathan,
Thanks! That jar is located in the installation directory of intellij (the application I use) itself, and not the plugin directory. In the directory it lives in there, there are jar files aplenty - asm.jar and on and on and on, lots of which have nothing to do with the OpenAPI afaik....

I can see how the OpenAPI could need to call into non-Open part of the product (intellij), so it imports it. But I only found out about this because something I was doing blew up (threw errors). My question is, how can I identify what jars I need here other than trying to compile or javadoc the source, watching it blow up and then picking through the ashes? Shouldn't all dependencies be present within the OpenAPI download so that the OpenAPI is its own little self-contained world or is that just fundamentally wrong for some obvious-to-everyone-else reason?

0

Hello softwarevisualization,

I can see how the OpenAPI could need to call into non-Open part of the
product (intellij), so it imports it. But I only found out about this
because something I was doing blew up (threw errors). My question is,
how can I identify what jars I need here other than trying to compile
or javadoc the source, watching it blow up and then picking through
the ashes? Shouldn't all dependencies be present within the OpenAPI
download so that the OpenAPI is its own little self-contained world or
is that just fundamentally wrong for some obvious-to-everyone-else
reason?


annotations.jar is not a non-open part of the product - it just contains
the definitions for the standard annotations. You can find it in the 'redist'
folder of the IntelliJ IDEA distribution.

The OpenAPI is indeed a self-contained world which can be compiled separately
from the rest of the product, but it does have some external dependencies
(for instance, jdom.jar is also required).

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


0

Just to clarify,

there are TWO redist folders. One of those is what you get when you download the plugin development kit, let's call this DEVKIT. It's path is

C:\YourDevkitFolder\redist

the other is what you get when you download the product, intelliJ. Let's call this NON_DEVKIT. It's path is (adjust for your machine) :

C:\Program Files (x86)\JetBrains\IntelliJ IDEA 7.0.2\redist


it's only the NON_DEVKIT folder which contains the redist folder which contains the annotations jar (and some others) which was the subject of this post. The DEVKIT folder does not contain that needed jar.

For anyone who wants to confirm, I downloaded the EAP devkit today from
http://www.jetbrains.net/confluence/display/IDEADEV/Selena+EAP

unzipped it and examined the contents of the redist folder.

cheers!

0

Hello softwarevisualization,

Just to clarify: the DevKit installation assumes that the DevKit is unpacked
directly into the IntelliJ IDEA installation directory. You won't get two
redist folders in this case.

Just to clarify,

there are TWO redist folders. One of those is what you get when you
download the plugin development kit, let's call this DEVKIT. It's path
is

C:\YourDevkitFolder\redist

the other is what you get when you download the product, intelliJ.
Let's call this NON_DEVKIT. It's path is (adjust for your machine) :

C:\Program Files (x86)\JetBrains\IntelliJ IDEA 7.0.2\redist

it's only the NON_DEVKIT folder which contains the redist folder which
contains the annotations jar (and some others) which was the subject
of this post. The DEVKIT folder does not contain that needed jar.

For anyone who wants to confirm, I downloaded the EAP devkit today
from http://www.jetbrains.net/confluence/display/IDEADEV/Selena+EAP

unzipped it and examined the contents of the redist folder.

cheers!

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


0

ahh I see that makes a difference... LOL...thanks Dmitry!!!

0

Please sign in to leave a comment.