Ant cannot find a class needed by an externally defined taskdef

前端 未结 6 459
闹比i
闹比i 2020-12-31 06:00

I am trying to use the axis-java2wsdl ant task to create a wsdl from one of my java classes, but I cannot get the classpath correct.

I am using Ubuntu\'s libaxis-jav

6条回答
  •  星月不相逢
    2020-12-31 06:30

    It works for me to specify the classpath directly in the taskdef task, as menstioned by matt b. For my project I find it useful to include the taskdef library in the project folder and specify the classpath in the ant build file, to simply setup on other development pcs. I use the following taskdef:

    
    

    Note that this might not work for versions of ant earlier than 1.7.0.

提交回复
热议问题