I did not try to compile
c:/jdk1.3.1/src.jar!/src/com/sun/image/codec/jpeg/ImageFormatException.java
nor have I ever tried to compile any class found in that source jar.

A compile on my own classes shows that error.  I agree -- IDEA is trying to
compile something in the jar because it is in the project path.

(Or something more funky is going on, like during synchronization?)

-sms

-----Original Message-----
From: Vollmer, Thomas - CannonSA [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 25, 2001 3:32 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [Eap-list] strange compile error


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

-------------------------------------------------- 
DISCLAIMER 
This e-mail, and any attachments thereto, is intended only for use by the
addressee(s) named herein and may contain legally privileged and/or
confidential information.  If you are not the intended recipient of this
e-mail, you are hereby notified that any dissemination, distribution or
copying of this e-mail, and any attachments thereto, is strictly prohibited.
If you have received this e-mail in error, please immediately notify me and
permanently delete the original and any copy of any e-mail and any printout
thereof. 

E-mail transmission cannot be guaranteed to be secure or error-free.  The
sender therefore does not accept liability for any errors or omissions in
the contents of this message which arise as a result of e-mail transmission.

NOTICE REGARDING PRIVACY AND CONFIDENTIALITY 

Knight Trading Group may, at its discretion, monitor and review the content
of all e-mail communications. 


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to