David,
I have no knowledge about the design decisions made for
the Axis-Ant tasks. I would also prefer to pass the task
itself a classpath.
But:
I my case it helped to put the service interface classes
into the classpath defined in the <taskkdef> element
of the axis ant tasks in order to let the Java2WSDL
task correctly find those.
Therefore I did not have to alter the classpath in my
shell to use Java2WSDL!
I am using Axis 1.1
BR
Christof
-----Original Message-----
From: David Knox [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 22, 2003 4:14 PM
To: [EMAIL PROTECTED]
Subject: RE: WSDL Ant task question
Thanks Christof,
The classpathref in the taskdef is the classpath used by the taskdef task to look for the classes associated with the task. At least that's the limit of the extent according to the Ant documentation. The Java2WSDL task requires that the interface used as the model be on the classpath. I had to alter the classpath in my shell for it to work. I would prefer to pass the task a classpath (or reference to one). I want to make sure before I change the task to accept and use a classpath element, that I'm not stepping on a prior design decision.
-- dave
-----Original Message-----
From: Laenzlinger, Christof [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 21, 2003 12:49 AM
To: '[EMAIL PROTECTED]'
Subject: RE: WSDL Ant task question
I'm not shure about that but I think the Axis Ant tasks are using
the classpath defined in the <taskdef> element for the Axis tasks:
<taskdef resource="axis-tasks.properties" classpathref="axis.classpath" />
Christof
-----Original Message-----
From: David Knox [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 20, 2003 2:23 AM
To: [EMAIL PROTECTED]
Subject: WSDL Ant task question
Hi,
Was there a reason why the Axis Ant Tasks don't include a classpath
element? It appears that it might be convenient to include a classpath
element, but I wanted to make sure there wasn't a consideration that I'm
overlooking.
Thanks,
-- dave
David Knox
EsotericSystems, Inc.
Voice: 303-979-7817
Mobile: 303-748-8906
Fax: 303-979-7861
Email: [EMAIL PROTECTED]