File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes Intellij - implementation instead of declaration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Intellij - implementation instead of declaration " Watch "Intellij - implementation instead of declaration " New topic

Intellij - implementation instead of declaration

Asher Tarnopolski
Ranch Hand

Joined: Jul 28, 2001
Posts: 260

i have a problem with my intellij 4.5.

my project includes a lot of java files and a jar file that
includes the same files and other files i need to run the whole thing.

in the paths->order/export preferences i set the order of the sources so,
that MODULE SOURCE is higher than the jar file.

but still, when i try to see a java file declaration (ctrl+b) i get a class file taken from the jar.

everything works fine when i try to get the java source from jsp file.

any ideas how can i solve this?

[ April 13, 2005: Message edited by: Asher Tarnopolski ]

Asher Tarnopolski
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

These other files in the jar, are they also sources. Personally I'd remove the jar from the classpath.


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: Intellij - implementation instead of declaration
jQuery in Action, 3rd edition