----- Original Message -----
From: "Chris Schaefer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, December 29, 2002 17:17
Subject: Re: axis ant task in netbeans


> Gene:
>     you are very close.... it all has to do with classpaths and the
> stuff.  Here's
> what I did  in my build.xml.   I had axis installed at /usr/local/axis
>
> <path id="axis.classpath">
>                    <fileset dir="/usr/local/axis/lib/">
>                      <include name="**/*.jar" />
>                    </fileset>
> </path>
> <taskdef resource="axis-tasks.properties" classpathref="axis.classpath" />
>
> This is including every jar in the axis subdirectory which is overkill,
but
> not bad that I know of except for efficiency reasons.  I suspect you could
> provide a more explicit include and make stuff run a bit faster.

I am not sure it is that much overkill; the task depends on axis.jar,
commons-logging.jar, mybe wsdl4j.jar and indirectly on log4j though that is
not mandatory. the **/*.jar inclusion is the safest way to get all you need.

Also, if Netbeans is running Ant1.4.1 then I dont guarantee the tasks work.
They were built against ant1.5 and so may not be backwards compatible,
though I dont think there are any deliberate attempts to be incompatible.

-Steve

Reply via email to