• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Intellij - implementation instead of declaration

 
Asher Tarnopolski
Ranch Hand
Posts: 260
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey,

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?

thanks.
[ April 13, 2005: Message edited by: Asher Tarnopolski ]
 
Mark Spritzler
ranger
Sheriff
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
These other files in the jar, are they also sources. Personally I'd remove the jar from the classpath.

Mark
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic