Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Trivial
-
Resolution: Incomplete
-
Affects Version/s: 1.0
-
Fix Version/s: None
-
Component/s: Generator
-
Labels:None
-
Number of attachments :
Description
The WSDL code generator documentation uses an Ant taskdef to declare the <wsgen/> task. It would be nicer if the JAR file contained an antlib.xml to allow you to use XML namespaces in the Ant file, as described here:
http://ant.apache.org/manual/CoreTypes/antlib.html
So you would instead using something like:
<project xmlns:xfire="antcontrib:org.codehaus.xfire">
<xfire:wsgen outputDirectory="..." package="..." wsdl="..."/>
</project>
If additional Ant tasks are added to XFire in the future, then they would be covered by the antlib, and would not require additional taskdefs inside the Ant script.