Still trying to get ant:style to work behind an authenticating proxy...
Is there a way I can do this in jelly or should I create a jelly bean?
System.setProperty("http.proxyHost", System.getProperty("maven.proxy.host"));
System.setProperty("http.proxyPort", System.getProperty("maven.proxy.port"));
java.net.Authenticator.setDefault (new java.net.Authenticator() {
public java.net.PasswordAuthentication getPasswordAuthentication()
{
return new java.net.PasswordAuthentication (
System.getProperty("maven.proxy.username"),
System.getProperty("maven.proxy.password").toCharArray());
}
});
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]