On 29/07/2008, at 11:19 AM, Brett Porter wrote:
DAV-with-proxy was broken in 2.0.9, which is why MNG-3599 is still
open.
The test case has a condition in it to check that it's running on
2.0.10 for the second part - you should bump that to 2.0.11 if you
are going to rollback. No other changes should be needed. Keep the
test included though, the first part tests generic HTTP proxying.
I've just committed this change.
Cheers,
Brett
On 29/07/2008, at 10:33 AM, John Casey wrote:
Hi everyone (and maybe especially Brett),
I took some time today and rolled back the 2.0.10-RC branch to
using 1.0-beta-2 of wagon, including the user-agent changes. I also
tried to enable (and make work) the IT for MNG-3599 using wagon 1.0-
beta-2 and wagon-webdav (instead of the jackrabbit impl), but I'm
running into trouble.
The problem seems to be in the way slide is using httpclient[1].
Brett, did this work before we changed things to use 1.0-beta-3 of
wagon?
I'm going to be AFK tomorrow, but Wednesday I'd like to roll
another release candidate for testing (I think we're getting very
near to a vote now, actually)...so I'd like to know how the DAV-
with-proxy stuff worked in, say, 2.0.9 before I do that.
Thanks,
-john
[1] Stack Trace:
[DEBUG] Connecting to repository: 'test-mirror' with url: 'dav://www.example.com/'
.
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] id is null
[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
java.lang.IllegalArgumentException: id is null
at
org
.apache
.commons.httpclient.protocol.Protocol.getProtocol(Protocol.java:110)
at
org
.apache
.commons
.httpclient.HostConfiguration.setHost(HostConfiguration.java:254)
at
org
.apache
.commons
.httpclient.HostConfiguration.setHost(HostConfiguration.java:320)
at
org
.apache
.webdav.lib.WebdavSession.getSessionInstance(WebdavSession.java:149)
at
org
.apache
.webdav.lib.WebdavSession.getSessionInstance(WebdavSession.java:127)
at
org.apache.webdav.lib.WebdavResource.setClient(WebdavResource.java:
1273)
at
org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:
1298)
at
org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:
1320)
at
org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:
1408)
at org.apache.webdav.lib.WebdavResource.<init>(WebdavResource.java:
290)
at
org
.apache
.maven
.wagon
.providers
.webdav.CorrectedWebdavResource.<init>(CorrectedWebdavResource.java:
54)
at
org
.apache
.maven
.wagon.providers.webdav.WebDavWagon.openConnection(WebDavWagon.java:
143)
at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:
143)
at
org
.apache
.maven
.artifact
.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:
423)
at
org
.apache
.maven
.artifact
.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:
356)
at
org
.apache
.maven
.artifact
.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:
311)
at
org
.apache
.maven
.artifact
.resolver
.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:200)
at
org
.apache
.maven
.artifact
.resolver
.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:74)
at
org
.apache
.maven
.artifact
.resolver
.DefaultArtifactResolver
.resolveTransitively(DefaultArtifactResolver.java:311)
at
org
.apache
.maven
.artifact
.resolver
.DefaultArtifactResolver
.resolveTransitively(DefaultArtifactResolver.java:288)
at
org
.apache
.maven
.plugin
.DefaultPluginManager
.resolveTransitiveDependencies(DefaultPluginManager.java:1476)
at
org
.apache
.maven
.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:
406)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor
.executeGoals(DefaultLifecycleExecutor.java:578)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor
.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:519)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:
498)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor
.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:350)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor
.executeTaskSegments(DefaultLifecycleExecutor.java:311)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:162)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:127)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:302)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun
.reflect
.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun
.reflect
.DelegatingMethodAccessorImpl
.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:
315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
--
John Casey
Developer, PMC Member - Apache Maven (http://maven.apache.org)
Blog: http://www.ejlife.net/blogs/buildchimp/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Brett Porter
[EMAIL PROTECTED]
http://blogs.exist.com/bporter/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Brett Porter
[EMAIL PROTECTED]
http://blogs.exist.com/bporter/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]