ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Avlesh Singh <avl...@gmail.com>
Subject Re: path problems in build.xml
Date Wed, 09 Sep 2009 17:08:30 GMT
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.kris21@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>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message