Pengbo,
I am not sure exactly what you are asking.
To simply use the package in your programs, import the package directly
into your program. The package must be placed into your classpath for it
to work, which you must have done since you say it is working fine.
There is no need to build it in Ant if you are not a developer. The
people developing the POI application have to build it when they make
changes to it.
There are no hssf.jar or poi.jar files. There is a large jar file
(jakarta-poi-1.5.1-final-20020615.jar) that you extracted from the zip file on the
website. If you look at
what is in the jar file, there are directories of class files which you
are importing into your programs. Hence, the folder in the jar file
org.apache.poi.hssf.usermodel contains the HSSFWorkbook.class file.
If you want to look at the source files, you have to download the src zip
file. That would contain the java files. If you are changing the java
files, you will have to rebuild the design with ant.
Bin = class files.
Src = java files.
I hope I was able to answer your question.
Nichole
"pengbo" <[EMAIL PROTECTED]>
09/11/2003 10:05 PM
Please respond to "POI Users List"
To: "POI Users List" <[EMAIL PROTECTED]>,
<[EMAIL PROTECTED]>
cc:
Subject: RE: Questions about hssf.jar files
Thanks Nichole. It works fine.
Now the test is running alright.
Just One more question to make it clear:
Here is what I did before,
1,Download the source file, extract it then build it through ant. --- all
these are fine.
But I can not find the poi.jar/hssf.jar files in any path.
Is that a difference between bin and source package?
Thanks
Pengbo
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 11, 2003 8:42 PM
To: POI Users List
Subject: Re: Questions about hssf.jar files
Hello Pengbo,
1. Download jakarta-poi-1.5.1-final-bin.zip from the website.
2. Extract it.
3. Put the file jakarta-poi-1.5.1-final-20020615.jar (inside build
directory) into your classpath.
4. import org.apache.poi.poifs.filesystem.* for the poi-poif functionality
(POIFSFileSystem etc.)
5. import org.apache.poi.hssf.usermodel.* for the hssf functionality
(HSSFWorkbook etc.)
Does that help?
NS
"pengbo" <[EMAIL PROTECTED]>
09/11/2003 05:24 AM
Please respond to "POI Users List"
To: "POI Users List" <[EMAIL PROTECTED]>
cc:
Subject: Questions about hssf.jar files
Hi,
Does any one can tell me where can I find the hssf.jar files? I installed
POI and try to run a test. But I have no idea where to find hssf.jar,
poi-poif.jar.
Thanks
Pengbo liu
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]