How to check jetty util jetty-util-8.1.17.v20150415 from git

I need to fix a bug in a specific version of the jetty (jetty-util-8.1.17.v20150415). Specifically, because the only version I'm sure works with Cling. Mistake:

Caused by java.lang.NullPointerException 
   org.eclipse.jetty.util.StringUtil.asciiToLowerCase(StringUtil.java:106)
   org.eclipse.jetty.http.MimeTypes.<clinit>(MimeTypes.java:138)    
   org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:711)
   org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
   org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
   org.eclipse.jetty.server.Server.doStart(Server.java:282)
   org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
   org.fourthline.cling.transport.impl.jetty.JettyServletContainer.startIfNotRunning(JettyServletContainer.java:141)

      

So what git command do I need to run to get this very version?

+3


source to share


1 answer


what git command do I need to run to get this very version?

As mentioned in " Loading a Specific Tag with Git ":

git clone -b jetty-8.1.17.v20150415 https://github.com/eclipse/jetty.project
git checkout -b fix

      



The first command will clone the repo right in tag/jetty-8.1.17.v20150415

commit, but will leave you in a separate head .

The second command will create a new branch starting at this commit, which will fix the bug in isolation (in the dedicated branch).

You may also want to fork, which is the first repo , in order to be able to redirect that branch to a repo that you own.

+2


source







All Articles