Hi Bradley, the required jar is included in the jar Carsten posted. So just unpack the http-servlet.jar and you will find the org.eclipse.equinox.http.servlet_1.0.0.v20070606.jar - then simply do a cp org.eclipse.equinox.http.servlet_1.0.0.v20070606.jar /home/beddoes/.m2/repository/org/eclipse/equinox/http/servlet/1.0.0.v20070606/servlet- 1.0.0.v20070606.jar to replace the jar in your local repository or reinstall the jar via maven
Now sling should build :-) Jan 2007/9/25, Bradley Beddoes <[EMAIL PROTECTED]>: > > Hi Guys, > So I installed the first jar file which removed that error then > additionally installed the jar referenced in this issue. > > However I still have a build problem missing the package > org.eclipse.equinox.http.servlet.internal > > Is there another jar I need to install here outside of whats referenced > in that issue? Seems likely. > > Error: > [INFO] Expanding: > > /home/beddoes/.m2/repository/org/eclipse/equinox/http/servlet/1.0.0.v20070606/servlet- > 1.0.0.v20070606.jar > into > > /home/beddoes/development/workspace/intient/webcontent/sling/sling-servlet/target/sling-app > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:compile] > [INFO] Compiling 2 source files to > > /home/beddoes/development/workspace/intient/webcontent/sling/sling-servlet/target/classes > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Compilation failure > > > /home/beddoes/development/workspace/intient/webcontent/sling/sling-servlet/src/main/java/org/apache/sling/launcher/servlet/SlingBridge.java:[24,48] > package org.eclipse.equinox.http.servlet.internal does not exist > > > /home/beddoes/development/workspace/intient/webcontent/sling/sling-servlet/src/main/java/org/apache/sling/launcher/servlet/SlingServlet.java:[41,39] > package org.eclipse.equinox.http.servlet does not exist > > > /home/beddoes/development/workspace/intient/webcontent/sling/sling-servlet/src/main/java/org/apache/sling/launcher/servlet/SlingBridge.java:[46,40] > cannot find symbol > symbol : class Activator > location: class org.apache.sling.launcher.servlet.SlingBridge > > > /home/beddoes/development/workspace/intient/webcontent/sling/sling-servlet/src/main/java/org/apache/sling/launcher/servlet/SlingServlet.java:[199,29] > cannot find symbol > symbol : class HttpServiceServlet > location: class org.apache.sling.launcher.servlet.SlingServlet > > regards, > Bradley > > > > Carsten Ziegeler wrote: > > There is another artifact currently missing from the maven repos: the > > equinox http servlet service impl. I already created an issue for this, > > http://jira.codehaus.org/browse/MAVENUPLOAD-1720 > > > > Now, we are waiting for the Maven guys to put this into the repo... > > > > Carsten > > > > Felix Meschberger wrote: > >> Hi Bradley, > >> > >> Sorry for that :-) > >> > >> Yes, this library is currently in an unfortunate state, as in the maven > >> 2 repository, there is only the pom file which points you to download > >> from the day site. Unfortunately it also does not help pointing maven > at > >> the day repository, as maven keeps trying repo1. > >> > >> So you will (for the moment, see below) have to manually download and > >> locally install the jcr.jar file as instructed by maven. I will update > >> the first-steps page with this information. > >> > >> Now, why "for the moment": Day is currently investigating whether and > >> how the jcr-1.0.jar file could be made publicly available in the > >> official maven repo. The problem is however not of a technical but of a > >> licensing nature. Until that time, the manual installation is > >> unfortunately required. > >> > >> Hope this helps. > >> > > > > > > > > > -- > Bradley Beddoes > Lead Software Architect > Intient > > http://intient.com - "Building intelligent open source solutions for > your enterprise" >
