excel - Using apache poi ant in eclipse -


i have installed "ee developers" software , "xml editors , tools" on eclipse , want use apache poi read data excel files when eclipse compiles code, gives me error.

in fact cannot support following imports. why problem?

import org.apache.poi.hssf.usermodel.hssfcell; import org.apache.poi.hssf.usermodel.hssfrow; import org.apache.poi.hssf.usermodel.hssfsheet; import org.apache.poi.hssf.usermodel.hssfworkbook; 

cheers

the ant tutorial explains how external libraries managed ant.

<project name="helloworld" basedir="." default="main">     ...     <property name="lib.dir"     value="lib"/>      <path id="classpath">         <fileset dir="${lib.dir}" includes="**/*.jar"/>     </path>      ...      <target name="compile">         <mkdir dir="${classes.dir}"/>         <javac srcdir="${src.dir}" destdir="${classes.dir}" classpathref="classpath"/>     </target>      ...  </project> 

Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -