The classpathref="axis2.classpath" attribute you have used for the javac task, needs to be defined prior to using it.
Cheers Avlesh On Wed, Sep 9, 2009 at 9:34 PM, veena pandit <v.kri...@gmail.com> wrote: > I have the following in my build.xml, but it complains about an import: > * > > import* org.apache.axis2.util.OptionsParser; > I thought this class is part of the axis 2 package. Can anyone help me > fix this? > > Thanks, > > Sonia > > > <target name="compile.service"> > > <mkdir dir="${build.dir}"/> > > <mkdir dir="${build.dir}/classes"/> > > <!--First let's compile the classes--> > > <javac debug="on" > > fork="true" > > destdir="${build.dir}/classes" > > srcdir="${basedir}/src" > > classpathref="axis2.classpath"> > > <classpath> > > <fileset dir="lib"> > > <include name="**.jar"/> > > </fileset> > > </classpath> > > </javac> > > </target> >