我正在尝试使用JarBundler ant插件,但它没有看到类。见:
Marisas-Mini:ThudNG-1.0 fstltna$ ant
Buildfile: /Users/fstltna/Documents/ThudNG2/ThudNG2/ThudNG-1.0/build.xml
BUILD FAILED
/Users/fstltna/Documents/ThudNG2/ThudNG2/ThudNG-1.0/build.xml:62: taskdef class net.sourceforge.jarbundler.JarBundler cannot be found
using the classloader AntClassLoader[]
Total time: 0 seconds
请帮忙!
我仍然收到此错误: 建筑失败 /Users/fstltna/Documents/ThudNG2/ThudNG2/ThudNG-1.0/build.xml:63:无法找到taskdef类net.sourceforge.jarbundler.JarBundler 使用类加载器AntClassLoader []
以下是我的build.xml中的部分:
<taskdef name="jarbundler"
classpath="~/.ant/lib/jarbundler-core-3.3.0.jar"
classname="net.sourceforge.jarbundler.JarBundler" />
并在定义中:
<jarbundler
build="3.1.0"
bundleid="com.mekcity.thudng2"
copyright="(C) 2016 - Mek City"
icon="foo.png"
infostring="The Battletech MUX client ThudNG2"
shortname="ThudNG2"
signature="TNG2"
version="3.1.0"
dir="release"
name="ThudNG2"
mainclass="=ThudNG-1.0/src<net.sourceforge.btthud.ui{Thud.java[Thud"
jar="Thud.jar" />