Thanks Andrew,

the problem was 'shape memory' in idea, which sometimes confuses what is
current and
what's obsolete wrt class files it has compiled.

I junked all the class files, took 1.8.0 out of the sourcepath,
leaving its jar in the classpath, restarted idea, and the app recompiled
everything and ran
OK. When I then hooked up src/java for 1.8.0 to the sourcepath, code
browsing into
POI worked properly.

Bill..
----- Original Message -----
From: "Andrew C. Oliver" <[EMAIL PROTECTED]>
To: "POI Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, November 12, 2002 9:12 AM
Subject: Re: /dev: compatible bin and src


> Exit your IDE, clear your classpath of everything but the bin and try
> it.  Then double check the source .zip file with a jar -tf
>  blabla-dev-src.zip contain the source, open them and see if the method
> is there.  If not, lets talk.  If so, you've misconfigured your classpath.
>
> Bill Winspur wrote:
>
> >I'm trying to get the HSSFDatetil.isCellDateFormatted() functionality,
> >so I installed: jakarta-poi-1.8.0-dev-bin.zip and
> >jakarta-poi-1.8.0-dev-src.zip, since the above method did not show
> >on 1.5.1.
> >
> >I put jakarta-poi-1.8.0-dev-20020919.jar on my classpath, and
> >src/java/ on my source path (im using idea fom intellij).
> >
> >Problem: the ide editor accepts the following code:
> >
> >if(HSSFDateUtil.isCellDateFormatted(cell)) {
> >              short formatIx = cell.getCellStyle().getDataFormat();
> >              System.out.println
> >                      ("row " + i + ", col 0, built-in format string: " +
> >                      HSSFDataFormat.getBuiltinFormat(formatIx));
> >            }
> >implying that methods isCellDateFormatted() and getBuiltInFormat() are
> >found in the class jar, but the compile fails, saying the two method
> >names cannot be resolved. It seems that the bin and source I'm using
> >are of different levels.
> >
> >Assuming I understand the problem, where can I find the source
> >corresponding to the 1.8.0 bin jar?
> >
> >
> >
> >
> >
>
>
>
> --
> To unsubscribe, e-mail:   <mailto:poi-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: <mailto:poi-user-help@;jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:poi-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:poi-user-help@;jakarta.apache.org>

Reply via email to