IntelliLang JAR Required in Class-Path in IDEA 8.0?

Hi,

I noticed that in IDEA 8.0 the only IntelliLang file anywhere in ~/.IntelliJIdea80 is its configuration file, while in version 7.0 there were three JAR files, one of which I had to put in my class-path so IDEA knew about the annotations I used. (I use only the @RegExp and @PrintFormat annotations.)

Is IntelliLang now a part of the IDEA core? And if so, does that mean that it is not necessary to include the old "annotations.jar" in my class-path?


Randall Schulz

6 comments
Comment actions Permalink

Hello Randall,

I noticed that in IDEA 8.0 the only IntelliLang file anywhere in
~/.IntelliJIdea80 is its configuration file, while in version 7.0
there were three JAR files, one of which I had to put in my class-path
so IDEA knew about the annotations I used. (I use only the @RegExp and
@PrintFormat annotations.)

Is IntelliLang now a part of the IDEA core? And if so, does that mean
that it is not necessary to include the old "annotations.jar" in my
class-path?


The IntelliLang annotations are now part of IDEA's main annotations.jar.
You need to add it to the classpath, and don't need to add any of IntelliLang
plugin jars.

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


0
Comment actions Permalink

Hello Randall,

...


The IntelliLang annotations are now part of IDEA's main annotations.jar.
You need to add it to the classpath, and don't need to add any of IntelliLang
plugin jars.


I'm confused. I do need to add it to my project's classpath? But I find no file named "annotations.jar" in my ~/.IntelliJIdea80 directory.


Randall Schulz

0
Comment actions Permalink

The IntelliLang annotations are now part of IDEA's main annotations.jar.
You need to add it to the classpath, and don't need to add any of IntelliLang
plugin jars.


I'm confused. I do need to add it to my project's classpath? But I find no file named "annotations.jar" in my ~/.IntelliJIdea80 directory.


annotations.jar can be found in the "redist" directory unde IntelliJ IDEA's installation directory.

Bas

0
Comment actions Permalink

Hi, Bas,

I did find that. In fact, I found two:


However, I noticed that while their sizes are identical (10899 bytes), their chekcsums are not:



Anyway, I doubt that's of consequence to me.

However, I wonder if there's a way to refer to this JAR file in my project definition that is not invalidated by upgrading to new (minor) releases of IDEA? For now, I have a symbolic link called "idea8" that I manually point at the current release of IDEA that I'm running. Is that the best way to handle this? An acceptable way?


Randall Schulz

0
Comment actions Permalink

I usually just copy annotations.jar to my project. There is a handy quick fix for that, which appears on uses of the annotation when the jar is not part of the classpath.

Bas

0
Comment actions Permalink

Hello Randall,

>>

>> Hello Randall,
>>> ...
>>>
>> The IntelliLang annotations are now part of IDEA's main
>> annotations.jar. You need to add it to the classpath, and don't need
>> to add any of IntelliLang plugin jars.
>>

I'm confused. I do need to add it to my project's classpath? But I
find no file named "annotations.jar" in my ~/.IntelliJIdea80
directory.


Find it in "redist" directory of the IntelliJ IDEA installation home.

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


0

Please sign in to leave a comment.