上記は間違い。下記のエラーは、Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher が投げられる箇所をこえていなかった。
そもそも、Ant がちゃんとインストールされてないようだ。
mkdir -p lib/tools
/usr/bin/ecj -nowarn -g -d lib/tools \
-source 1.6 \
-sourcepath tools \
@tools-source-files.txt
Annotation processing got disabled, since it requires a 1.6 compliant JVM
----------
1. ERROR in tools/netx/jnlp/tools/JarSigner.java (at line 37)
import sun.security.x509.*;
^^^^^^^^^^^^
The import sun.security cannot be resolved
----------
2. ERROR in tools/netx/jnlp/tools/JarSigner.java (at line 38)
import sun.security.util.*;
^^^^^^^^^^^^
The import sun.security cannot be resolved
----------
3. ERROR in tools/netx/jnlp/tools/JarSigner.java (at line 163)
CodeSigner[] signers = je.getCodeSigners();
^^^^^^^^^^
CodeSigner cannot be resolved to a type
----------
4. ERROR in tools/netx/jnlp/tools/JarSigner.java (at line 163)
CodeSigner[] signers = je.getCodeSigners();
^^^^^^^^^^^^^^
The method getCodeSigners() is undefined for the type JarEntry
----------
5. ERROR in tools/netx/jnlp/tools/JarSigner.java (at line 235)
SignatureFileVerifier.isBlockOrSF(ucName)) {
^^^^^^^^^^^^^^^^^^^^^
SignatureFileVerifier cannot be resolved
----------
6. ERROR in tools/netx/jnlp/tools/JarSigner.java (at line 298)
DerInputStream in = new DerInputStream(netscapeEx);
^^^^^^^^^^^^^^
DerInputStream cannot be resolved to a type
----------
7. ERROR in tools/netx/jnlp/tools/JarSigner.java (at line 298)
DerInputStream in = new DerInputStream(netscapeEx);
^^^^^^^^^^^^^^
DerInputStream cannot be resolved to a type
----------
8. ERROR in tools/netx/jnlp/tools/JarSigner.java (at line 300)
encoded = new DerValue(encoded).getUnalignedBitString()
^^^^^^^^
DerValue cannot be resolved to a type
----------
9. ERROR in tools/netx/jnlp/tools/JarSigner.java (at line 303)
NetscapeCertTypeExtension extn =
^^^^^^^^^^^^^^^^^^^^^^^^^
NetscapeCertTypeExtension cannot be resolved to a type
----------
10. ERROR in tools/netx/jnlp/tools/JarSigner.java (at line 304)
new NetscapeCertTypeExtension(encoded);
^^^^^^^^^^^^^^^^^^^^^^^^^
NetscapeCertTypeExtension cannot be resolved to a type
----------
11. ERROR in tools/netx/jnlp/tools/JarSigner.java (at line 307)
NetscapeCertTypeExtension.OBJECT_SIGNING);
^^^^^^^^^^^^^^^^^^^^^^^^^
NetscapeCertTypeExtension cannot be resolved
----------
11 problems (11 errors)make: *** [stamps/tools-class-files.stamp] エラー 255
0 件のコメント:
コメントを投稿