colladoc/colladoc — Issue #3: Test code doesn't compile due to references to outdated Jetty
Author: david-christiansen
Created: 2011-12-27 14:34:08+00:00
State: open

Runing "test" from SBT gives me the following:

[error] /home/drc/Documents/typesearch/colladoc/src/test/scala/scala/tools/colladoc/integration/SearchEndToEndTests.scala:4: object mortbay is not a member of package org
[error] import org.mortbay.jetty.Server
[error] ^
[error] /home/drc/Documents/typesearch/colladoc/src/test/scala/scala/tools/colladoc/integration/SearchEndToEndTests.scala:5: object mortbay is not a member of package org
[error] import org.mortbay.jetty.webapp.WebAppContext
[error] ^
[error] two errors found
[error] {file:/home/drc/Documents/typesearch/colladoc/}default-b2185c/test:compile: Compilation failed
[error] Total time: 11 s, completed Dec 27, 2011 3:12:25 PM

I got as far as adding Jetty as a dependency for the tests and changing the imports to point at its new home as of Jetty 7, which is org.eclipse.jetty, but then I failed to get further, as the Server class no longer has an addHandler method and I'm not advanced enough in Jetty-fu to figure out how to port the code.