Ant cannot find a class needed by an externally defined taskdef

前端 未结 6 460
闹比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:36

    Ant mechanism for adding libraries is:

    • via command line argument -lib
    • adding to ${user.home}/.ant/lib
    • adding to ${ant.home}/lib

    Only. The manual doesn't mention anything about using the system.library.dir property. Probably it pretty much ignored for this purpose.

    Also, run ant in verbose mode ( and -verbose ) to see what is doing under the hood.

提交回复
热议问题