commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Dever <jsde...@sympatico.ca>
Subject Re: [GUMP] Build Failure - commons-httpclient
Date Fri, 27 Sep 2002 11:34:43 GMT
Hey Stefan,

Yesterday a new dependancy on the javax.crypto packages was added to HttpClient which caused
the nightly to fail.  The crypto package is optional in 1.3
but standard in 1.4.  Can we fix this by adding a dependancy block in the build.xml?


Stefan Bodewig wrote:

> ----------------------------------------------------
> This email is autogenerated from the output from:
> <http://jakarta.apache.org/builds/gump/2002-09-27/commons-httpclient.html>
> ----------------------------------------------------
>
> Buildfile: build.xml
>
> init:
>      [echo] -------- HttpClient Library 2.0-alpha1-dev --------
>
> prepare:
>     [mkdir] Created dir: /home/rubys/jakarta/jakarta-commons/httpclient/target
>     [mkdir] Created dir: /home/rubys/jakarta/jakarta-commons/httpclient/target/classes
>     [mkdir] Created dir: /home/rubys/jakarta/jakarta-commons/httpclient/target/conf
>     [mkdir] Created dir: /home/rubys/jakarta/jakarta-commons/httpclient/target/docs
>     [mkdir] Created dir: /home/rubys/jakarta/jakarta-commons/httpclient/target/docs/api
>     [mkdir] Created dir: /home/rubys/jakarta/jakarta-commons/httpclient/target/tests
>     [mkdir] Created dir: /home/rubys/jakarta/jakarta-commons/httpclient/target/examples
>     [mkdir] Created dir: /home/rubys/jakarta/jakarta-commons/httpclient/target/httpclienttest
>     [mkdir] Created dir: /home/rubys/jakarta/jakarta-commons/httpclient/target/httpclienttest/WEB-INF
>     [mkdir] Created dir: /home/rubys/jakarta/jakarta-commons/httpclient/target/httpclienttest/WEB-INF/classes
>
> static:
>      [copy] Copying 1 file to /home/rubys/jakarta/jakarta-commons/httpclient/target/conf
>      [copy] Replacing: @name@ -> httpclient
>      [copy] Replacing: @version@ -> 2.0-alpha1-dev
>
> compile:
>     [javac] Compiling 50 source files to /home/rubys/jakarta/jakarta-commons/httpclient/target/classes
>     [javac] /home/rubys/jakarta/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/NTLM.java:68:
package javax.crypto does not exist
>     [javac] import javax.crypto.*;
>     [javac] ^
>     [javac] /home/rubys/jakarta/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/NTLM.java:69:
package javax.crypto.spec does not exist
>     [javac] import javax.crypto.spec.*;
>     [javac] ^
>     [javac] /home/rubys/jakarta/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/NTLM.java:118:
cannot resolve symbol
>     [javac] symbol  : class Cipher
>     [javac] location: class org.apache.commons.httpclient.NTLM
>     [javac]     private static Cipher getCipher(byte[] key) throws HttpException {
>     [javac]                        ^
>     [javac] /home/rubys/jakarta/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/NTLM.java:91:
cannot resolve symbol
>     [javac] symbol  : class SunJCE
>     [javac] location: package provider
>     [javac]             Security.addProvider(new com.sun.crypto.provider.SunJCE());
>     [javac]                                                                 ^
>     [javac] /home/rubys/jakarta/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/NTLM.java:120:
cannot resolve symbol
>     [javac] symbol  : class Cipher
>     [javac] location: class org.apache.commons.httpclient.NTLM
>     [javac]                     Cipher ecipher = Cipher.getInstance("DES/ECB/NoPadding");
>     [javac]                         ^
>     [javac] /home/rubys/jakarta/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/NTLM.java:120:
cannot resolve symbol
>     [javac] symbol  : variable Cipher
>     [javac] location: class org.apache.commons.httpclient.NTLM
>     [javac]                     Cipher ecipher = Cipher.getInstance("DES/ECB/NoPadding");
>     [javac]                                          ^
>     [javac] /home/rubys/jakarta/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/NTLM.java:122:
cannot resolve symbol
>     [javac] symbol  : variable Cipher
>     [javac] location: class org.apache.commons.httpclient.NTLM
>     [javac]                     ecipher.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(key,
"DES"));
>     [javac]                                      ^
>     [javac] /home/rubys/jakarta/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/NTLM.java:122:
cannot resolve symbol
>     [javac] symbol  : class SecretKeySpec
>     [javac] location: class org.apache.commons.httpclient.NTLM
>     [javac]                     ecipher.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(key,
"DES"));
>     [javac]                                                               ^
>     [javac] /home/rubys/jakarta/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/NTLM.java:128:
cannot resolve symbol
>     [javac] symbol  : class NoSuchPaddingException
>     [javac] location: class org.apache.commons.httpclient.NTLM
>     [javac]             } catch(NoSuchPaddingException e) {
>     [javac]                         ^
>     [javac] /home/rubys/jakarta/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/NTLM.java:155:
cannot resolve symbol
>     [javac] symbol  : class Cipher
>     [javac] location: class org.apache.commons.httpclient.NTLM
>     [javac]             Cipher ecipher = getCipher(key);
>     [javac]                 ^
>     [javac] /home/rubys/jakarta/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/NTLM.java:159:
cannot resolve symbol
>     [javac] symbol  : class IllegalBlockSizeException
>     [javac] location: class org.apache.commons.httpclient.NTLM
>     [javac]             } catch (IllegalBlockSizeException e) {
>     [javac]                          ^
>     [javac] /home/rubys/jakarta/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/NTLM.java:161:
cannot resolve symbol
>     [javac] symbol  : class BadPaddingException
>     [javac] location: class org.apache.commons.httpclient.NTLM
>     [javac]             } catch (BadPaddingException e) {
>     [javac]                          ^
>     [javac] 12 errors
>
> BUILD FAILED
> file:/home/rubys/jakarta/jakarta-commons/httpclient/build.xml:221: Compile failed; see
the compiler error output for details.
>
> Total time: 3 seconds
>
> --
> To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message