Anton, > Sourcepath entry will be compiled via Ctrl-Shift-F9 whenever > it is project paths or not.
I know, but at least in the IDEA build I'm using (507), Ctrl-Shift-F9 is not available (grayed-out) for classes in the sourcepath that are in a JAR file. I assume the same is true for (508-510). So, if that command can't be invoked on sourcepath classes in JAR files, why do you need a warning message? Am I getting this wrong? Also, I don't think that Scott was trying to explicitly compile c:/jdk1.3.1/src.jar!/src/com/sun/image/codec/jpeg/ImageFormatException.java using Ctrl+Shift+F9 when he got the error message. Or did you, Scott? If so, how did you do it? Is Ctrl+Shift+F9 not grayed-out? If Scott didn't use Ctrl+Shift+F9 to compile, then c:/jdk1.3.1/src.jar!/src should not have been compiled unless it is in the sourcepath AND in the project path (at least that's what the IDEA help says). So, since Scott reported that he had put c:/jdk1.3.1/src.jar!/src in the projectpath, I concluded that this is the reason for IDEA trying to compile it. When I have c:/jdk1.3.1/src.jar!/src in the projectpath, I get different kinds of errors though. -Thomas > -----Original Message----- > From: Anton Katilin [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 25, 2001 1:43 AM > To: [EMAIL PROTECTED] > Subject: Re: [Eap-list] strange compile error > > > Thomas, > > > Another one of those source path/project path things. > > If c:\jdk1.3.1\src.jar!\src is in the source path only, it will not > > compiled. > > If you add it to the project path and the source path, it will be > compiled. > > Sourcepath entry will be compiled via Ctrl-Shift-F9 whenever > it is project > paths or not. > In 510 we added a message shown when user tries to perform > this operation to > JAR content. > > Best regards, > Anton Katilin > ----------------------------------------------------------- > IntelliJ Software, "Develop with pleasure" > http://www.intellij.com/ > ----------------------------------------------------------- > > > ----- Original Message ----- > From: "Vollmer, Thomas - CannonSA" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, October 25, 2001 3:20 AM > Subject: RE: [Eap-list] strange compile error > > > > Another one of those source path/project path things. > > If c:\jdk1.3.1\src.jar!\src is in the source path only, it will not > > compiled. > > If you add it to the project path and the source path, it will be > compiled. > > > > If you want to step through Java classes, doesn't > unchecking "java.*" in > > "Do not step into these classes" (Project Properties | > Debugger) do it? > > > > -Thomas > > > > > -----Original Message----- > > > From: Scott Sirovy [mailto:[EMAIL PROTECTED]] > > > Sent: Wednesday, October 24, 2001 1:05 PM > > > To: '[EMAIL PROTECTED]' > > > Subject: RE: [Eap-list] strange compile error > > > > > > > > > I added it to the project tab, not the source tab (as you > > > said, IDEA does > > > that for me). > > > > > > -sms > > > > > > -----Original Message----- > > > From: Erb [mailto:[EMAIL PROTECTED]] > > > Sent: Wednesday, October 24, 2001 2:44 PM > > > To: [EMAIL PROTECTED] > > > Subject: Re: [Eap-list] strange compile error > > > > > > > > > IDEA adds c:\jdk1.3.1\src.jar!\src > > > to the source path automatically. > > > You are not adding it by hand, are you? > > > > > > Anton Katilin wrote: > > > > > > > Scott, > > > > > > > > Looks like you tried to compile the file > > > > > > > c:/jdk1.3.1/src.jar!/src/com/sun/image/codec/jpeg/ImageFormatE > > > xception.java, > > > > which is in jar. > > > > We will fix this, so IDEA will not pass sources in jars > to compiler. > > > > Thank you! > > > > > > > > Best regards, > > > > Anton Katilin > > > > ----------------------------------------------------------- > > > > IntelliJ Software, "Develop with pleasure" > > > > http://www.intellij.com/ > > > > ----------------------------------------------------------- > > > > > > > > > > > > ----- Original Message ----- > > > > From: "Scott Sirovy" <[EMAIL PROTECTED]> > > > > To: "IDEA List (E-mail)" <[EMAIL PROTECTED]> > > > > Sent: Wednesday, October 24, 2001 7:45 PM > > > > Subject: [Eap-list] strange compile error > > > > > > > > > > > > > > > >>I see this during compiles: > > > >> > > > >>Information: 1 error > > > >>Error: : cannot read: > > > >> > > > >> > > > > > > > c:/jdk1.3.1/src.jar!/src/com/sun/image/codec/jpeg/ImageFormatE > > > xception.java > > > > > > > >>It used to happen only when there were other errors, but > > > now I see it even > > > >>with an otherwise clean compile. > > > >> > > > >> > > > >>509 on JDK 1.3.1, win2k sp2 > > > >> > > > >>In my project, I include: c:\jdk1.3.1\src.jar!\src > (so I can step > > > >> > > > > through > > > > > > > >>some Java code during debugs, etc.). > > > >> > > > >> > > > >>-sms > > > >> > > > >>-- > > > >>Scott Sirovy > ************************************ If this email is not intended for you, or you are not responsible for the delivery of this message to the addressee, please note that this message may contain ITT Privileged/Proprietary Information. In such a case, you may not copy or deliver this message to anyone. You should destroy this message and kindly notify the sender by reply email. Information contained in this message that does not relate to the business of ITT is neither endorsed by nor attributable to ITT. ************************************ _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list
