I followed your instructions. I got 8 Errors and a bunch of warnings few of
them related to classpath. I also got the following exception when I tried
to run with the jetty ( i have attached the full console output with this
email. I figured solr directory with config files might be missing and
added that in WebContent.

Could be of great help if someone can point me at right direction.

ls WebContent
                admin  favicon.ico  index.jsp  solr  WEB-INF


*SEVERE: Error in solrconfig.xml:org.apache.solr.common.SolrException: No
system property or default value specified for solr.test.sys.prop1*
    at
org.apache.solr.common.util.DOMUtil.substituteProperty(DOMUtil.java:331)
    at
org.apache.solr.common.util.DOMUtil.substituteProperties(DOMUtil.java:290)
    at
org.apache.solr.common.util.DOMUtil.substituteProperties(DOMUtil.java:292)
    at org.apache.solr.core.Config.<init>(Config.java:165)
    at org.apache.solr.core.SolrConfig.<init>(SolrConfig.java:131)
    at org.apache.solr.core.CoreContainer.create(CoreContainer.java:435)
    at org.apache.solr.core.CoreContainer.load(CoreContainer.java:316)
    at
org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:133)
    at
org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:94)
    at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)
    at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    at
org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:713)
    at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
    at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
    at
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
    at
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
    at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
    at org.mortbay.jetty.Server.doStart(Server.java:224)
    at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    at runjettyrun.Bootstrap.main(Bootstrap.java:97)


*Here are the 8 errors I got*
*Description
Resource                                                 Path

          Location       Type*
core cannot be resolved
dataimport.jsp
 /solr3_5/ssrc/solr/contrib/dataimporthandler/src/webapp/admin
                                 line 27   JSP Problem
End tag (</html>) not closed properly, expected >.    package.html
/solr3_5/ssrc/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/core/config
 line 64    HTML Problem
Fragment    "_info.jsp" was not found at expected
path  /solr3_5/ssrc/solr/contrib/
dataimporthandler/src/webapp/admin/_info.jsp            dataimport.jsp
/solr3_5/ssrc/solr/contrib/dataimporthandler/src/webapp/admin
                                            line 21    JSP Problem
Fragment "_info.jsp" was not found at expected
path /solr3_5/ssrc/solr/contrib/dataimporthandler
/src/webapp/admin/_info.jsp
debug.jsp
/solr3_5/ssrc/solr/contrib/dataimporthandler/src/webapp/admin
                                            line 19    JSP Problem
Named template dotdots is not available                     tabutils.xsl

/solr3_5/ssrc/lucene/src/site/src/documentation/skins/common/xslt/html
                              line 41    XSL Problem
Named template dotdots is not available                     tabutils.xsl
    /solr3_5/ssrc/solr/site-src/src/documentation/skins/common/xslt/html
                                  line 41    XSL Problem
Unhandled exception type Throwable                          ping.jsp
    /solr3_5/WebContent/admin
                                                  line 46    JSP Problem
Unhandled exception type Throwable                          ping.jsp
        /solr3_5/ssrc/solr/webapp/web/admin

line 46    JSP Problem


*Here are the warnings I got*

> Description    Resource    Path    Location    Type
> Classpath entry
> /solr3_5/ssrc/lucene/contrib/benchmark/lib/commons-beanutils-1.7.0.jar will
> not be exported or published. Runtime ClassNotFoundExceptions may result.
>     solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry
> /solr3_5/ssrc/lucene/contrib/benchmark/lib/commons-collections-3.1.jar will
> not be exported or published. Runtime ClassNotFoundExceptions may result.
>     solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry
> /solr3_5/ssrc/lucene/contrib/benchmark/lib/commons-compress-1.2.jar will
> not be exported or published. Runtime ClassNotFoundExceptions may result.
>     solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry
> /solr3_5/ssrc/lucene/contrib/benchmark/lib/commons-digester-1.7.jar will
> not be exported or published. Runtime ClassNotFoundExceptions may result.
>     solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry
> /solr3_5/ssrc/lucene/contrib/benchmark/lib/commons-logging-1.0.4.jar will
> not be exported or published. Runtime ClassNotFoundExceptions may result.
>     solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry
> /solr3_5/ssrc/lucene/contrib/benchmark/lib/xercesImpl-2.9.1-patched-XERCESJ-1257.jar
> will not be exported or published. Runtime ClassNotFoundExceptions may
> result.      solr3_5        P/solr3_5    Classpath Dependency Validator
> Message
> Classpath entry /solr3_5/ssrc/lucene/contrib/icu/lib/icu4j-4_8_1_1.jar
> will not be exported or published. Runtime ClassNotFoundExceptions may
> result.      solr3_5        P/solr3_5    Classpath Dependency Validator
> Message
> Classpath entry
> /solr3_5/ssrc/lucene/contrib/queries/lib/jakarta-regexp-1.4.jar will not be
> exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry /solr3_5/ssrc/lucene/lib/ant-1.7.1.jar will not be
> exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry /solr3_5/ssrc/lucene/lib/ant-junit-1.7.1.jar will not be
> exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry /solr3_5/ssrc/lucene/lib/junit-4.7.jar will not be
> exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry
> /solr3_5/ssrc/solr/contrib/clustering/lib/carrot2-core-3.5.0.jar will not
> be exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry
> /solr3_5/ssrc/solr/contrib/clustering/lib/hppc-0.3.4-jdk15.jar will not be
> exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry
> /solr3_5/ssrc/solr/contrib/clustering/lib/jackson-core-asl-1.5.2.jar will
> not be exported or published. Runtime ClassNotFoundExceptions may result.
>     solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry
> /solr3_5/ssrc/solr/contrib/clustering/lib/jackson-mapper-asl-1.5.2.jar will
> not be exported or published. Runtime ClassNotFoundExceptions may result.
>     solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry
> /solr3_5/ssrc/solr/contrib/clustering/lib/mahout-collections-0.3.jar will
> not be exported or published. Runtime ClassNotFoundExceptions may result.
>     solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry
> /solr3_5/ssrc/solr/contrib/clustering/lib/mahout-math-0.3.jar will not be
> exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry
> /solr3_5/ssrc/solr/contrib/clustering/lib/simple-xml-2.4.1.jar will not be
> exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry
> /solr3_5/ssrc/solr/contrib/dataimporthandler/lib/activation-1.1.jar will
> not be exported or published. Runtime ClassNotFoundExceptions may result.
>     solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry
> /solr3_5/ssrc/solr/contrib/dataimporthandler/lib/mail-1.4.1.jar will not be
> exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry /solr3_5/ssrc/solr/contrib/extraction/lib/asm-3.1.jar will
> not be exported or published. Runtime ClassNotFoundExceptions may result.
>     solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry
> /solr3_5/ssrc/solr/contrib/extraction/lib/bcmail-jdk15-1.45.jar will not be
> exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry
> /solr3_5/ssrc/solr/contrib/extraction/lib/bcprov-jdk15-1.45.jar will not be
> exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry
> /solr3_5/ssrc/solr/contrib/extraction/lib/boilerpipe-1.1.0.jar will not be
> exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry
> /solr3_5/ssrc/solr/contrib/extraction/lib/commons-compress-1.2.jar will not
> be exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry /solr3_5/ssrc/solr/contrib/extraction/lib/dom4j-1.6.1.jar
> will not be exported or published. Runtime ClassNotFoundExceptions may
> result.      solr3_5        P/solr3_5    Classpath Dependency Validator
> Message
> Classpath entry
> /solr3_5/ssrc/solr/contrib/extraction/lib/fontbox-1.6.0.jar will not be
> exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry
> /solr3_5/ssrc/solr/contrib/extraction/lib/jempbox-1.6.0.jar will not be
> exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry
> /solr3_5/ssrc/solr/contrib/extraction/lib/metadata-extractor-2.4.0-beta-1.jar
> will not be exported or published. Runtime ClassNotFoundExceptions may
> result.      solr3_5        P/solr3_5    Classpath Dependency Validator
> Message
> Classpath entry
> /solr3_5/ssrc/solr/contrib/extraction/lib/netcdf-4.2-min.jar will not be
> exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry /solr3_5/ssrc/solr/contrib/extraction/lib/pdfbox-1.6.0.jar
> will not be exported or published. Runtime ClassNotFoundExceptions may
> result.      solr3_5        P/solr3_5    Classpath Dependency Validator
> Message
> Classpath entry
> /solr3_5/ssrc/solr/contrib/extraction/lib/poi-3.8-beta4.jar will not be
> exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry
> /solr3_5/ssrc/solr/contrib/extraction/lib/poi-ooxml-3.8-beta4.jar will not
> be exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry
> /solr3_5/ssrc/solr/contrib/extraction/lib/poi-ooxml-schemas-3.8-beta4.jar
> will not be exported or published. Runtime ClassNotFoundExceptions may
> result.      solr3_5        P/solr3_5    Classpath Dependency Validator
> Message
> Classpath entry
> /solr3_5/ssrc/solr/contrib/extraction/lib/poi-scratchpad-3.8-beta4.jar will
> not be exported or published. Runtime ClassNotFoundExceptions may result.
>     solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry /solr3_5/ssrc/solr/contrib/extraction/lib/rome-0.9.jar
> will not be exported or published. Runtime ClassNotFoundExceptions may
> result.      solr3_5        P/solr3_5    Classpath Dependency Validator
> Message
> Classpath entry
> /solr3_5/ssrc/solr/contrib/extraction/lib/tagsoup-1.2.1.jar will not be
> exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry
> /solr3_5/ssrc/solr/contrib/extraction/lib/tika-core-0.10.jar will not be
> exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry
> /solr3_5/ssrc/solr/contrib/extraction/lib/tika-parsers-0.10.jar will not be
> exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry
> /solr3_5/ssrc/solr/contrib/extraction/lib/xmlbeans-2.3.0.jar will not be
> exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry /solr3_5/ssrc/solr/contrib/langid/lib/jsonic-1.2.0.jar
> will not be exported or published. Runtime ClassNotFoundExceptions may
> result.      solr3_5        P/solr3_5    Classpath Dependency Validator
> Message
> Classpath entry
> /solr3_5/ssrc/solr/contrib/langid/lib/langdetect-r111-java5.jar will not be
> exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry
> /solr3_5/ssrc/solr/contrib/uima/lib/commons-digester-2.0.jar will not be
> exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry
> /solr3_5/ssrc/solr/contrib/uima/lib/uima-an-alchemy-2.3.1.jar will not be
> exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry
> /solr3_5/ssrc/solr/contrib/uima/lib/uima-an-calais-2.3.1.jar will not be
> exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry
> /solr3_5/ssrc/solr/contrib/uima/lib/uima-an-tagger-2.3.1.jar will not be
> exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry /solr3_5/ssrc/solr/contrib/uima/lib/uima-an-wst-2.3.1.jar
> will not be exported or published. Runtime ClassNotFoundExceptions may
> result.      solr3_5        P/solr3_5    Classpath Dependency Validator
> Message
> Classpath entry /solr3_5/ssrc/solr/contrib/uima/lib/uimaj-core-2.3.1.jar
> will not be exported or published. Runtime ClassNotFoundExceptions may
> result.      solr3_5        P/solr3_5    Classpath Dependency Validator
> Message
> Classpath entry
> /solr3_5/ssrc/solr/contrib/velocity/lib/commons-beanutils-1.7.0.jar will
> not be exported or published. Runtime ClassNotFoundExceptions may result.
>     solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry
> /solr3_5/ssrc/solr/contrib/velocity/lib/commons-collections-3.2.1.jar will
> not be exported or published. Runtime ClassNotFoundExceptions may result.
>     solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry /solr3_5/ssrc/solr/contrib/velocity/lib/velocity-1.6.4.jar
> will not be exported or published. Runtime ClassNotFoundExceptions may
> result.      solr3_5        P/solr3_5    Classpath Dependency Validator
> Message
> Classpath entry
> /solr3_5/ssrc/solr/contrib/velocity/lib/velocity-tools-2.0.jar will not be
> exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry
> /solr3_5/ssrc/solr/example/lib/jetty-6.1.26-patched-JETTY-1340.jar will not
> be exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry
> /solr3_5/ssrc/solr/example/lib/jetty-util-6.1.26-patched-JETTY-1340.jar
> will not be exported or published. Runtime ClassNotFoundExceptions may
> result.      solr3_5        P/solr3_5    Classpath Dependency Validator
> Message
> Classpath entry /solr3_5/ssrc/solr/example/lib/jsp-2.1/core-3.1.1.jar will
> not be exported or published. Runtime ClassNotFoundExceptions may result.
>     solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry
> /solr3_5/ssrc/solr/example/lib/jsp-2.1/jsp-2.1-glassfish-2.1.v20091210.jar
> will not be exported or published. Runtime ClassNotFoundExceptions may
> result.      solr3_5        P/solr3_5    Classpath Dependency Validator
> Message
> Classpath entry
> /solr3_5/ssrc/solr/example/lib/jsp-2.1/jsp-2.1-jetty-6.1.26.jar will not be
> exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry
> /solr3_5/ssrc/solr/example/lib/jsp-2.1/jsp-api-2.1-glassfish-2.1.v20091210.jar
> will not be exported or published. Runtime ClassNotFoundExceptions may
> result.      solr3_5        P/solr3_5    Classpath Dependency Validator
> Message
> Classpath entry
> /solr3_5/ssrc/solr/example/lib/servlet-api-2.5-20081211.jar will not be
> exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry /solr3_5/ssrc/solr/lib/apache-solr-noggit-r1099557.jar
> will not be exported or published. Runtime ClassNotFoundExceptions may
> result.      solr3_5        P/solr3_5    Classpath Dependency Validator
> Message
> Classpath entry /solr3_5/ssrc/solr/lib/commons-codec-1.5.jar will not be
> exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry
> /solr3_5/ssrc/solr/lib/commons-csv-1.0-SNAPSHOT-r966014.jar will not be
> exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry /solr3_5/ssrc/solr/lib/commons-fileupload-1.2.1.jar will
> not be exported or published. Runtime ClassNotFoundExceptions may result.
>     solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry /solr3_5/ssrc/solr/lib/commons-httpclient-3.1.jar will not
> be exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry /solr3_5/ssrc/solr/lib/commons-io-1.4.jar will not be
> exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry /solr3_5/ssrc/solr/lib/commons-lang-2.4.jar will not be
> exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry /solr3_5/ssrc/solr/lib/easymock-2.2.jar will not be
> exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry
> /solr3_5/ssrc/solr/lib/geronimo-stax-api_1.0_spec-1.0.1.jar will not be
> exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry /solr3_5/ssrc/solr/lib/guava-r05.jar will not be exported
> or published. Runtime ClassNotFoundExceptions may result.      solr3_5
>      P/solr3_5    Classpath Dependency Validator Message
> Classpath entry /solr3_5/ssrc/solr/lib/jcl-over-slf4j-1.6.1.jar will not
> be exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry /solr3_5/ssrc/solr/lib/junit-4.7.jar will not be exported
> or published. Runtime ClassNotFoundExceptions may result.      solr3_5
>      P/solr3_5    Classpath Dependency Validator Message
> Classpath entry /solr3_5/ssrc/solr/lib/servlet-api-2.4.jar will not be
> exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry /solr3_5/ssrc/solr/lib/slf4j-api-1.6.1.jar will not be
> exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry /solr3_5/ssrc/solr/lib/slf4j-jdk14-1.6.1.jar will not be
> exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
> Classpath entry /solr3_5/ssrc/solr/lib/wstx-asl-3.2.7.jar will not be
> exported or published. Runtime ClassNotFoundExceptions may result.
>  solr3_5        P/solr3_5    Classpath Dependency Validator Message
>


On Fri, Mar 23, 2012 at 3:25 AM, Li Li <fancye...@gmail.com> wrote:

> here is my method.
> 1. check out latest source codes from trunk or download tar ball
>    svn checkout
> http://svn.apache.org/repos/asf/lucene/dev/trunklucene_trunk
>
> 2. create a dynamic web project in eclipse and close it.
>       for example, I create a project name lucene-solr-trunk in my
> workspace.
>
> 3. copy/mv the source code to this project(it's not necessary)
>       here is my directory structure
>       lili@lili-desktop:~/workspace/lucene-solr-trunk$ ls
> bin.tests-framework  build  lucene_trunk  src  testindex  WebContent
>      lucene_trunk is the top directory checked out from svn in step 1.
> 4. remove WebContent generated by eclipse and modify it to a soft link to
>      lili@lili-desktop:~/workspace/lucene-solr-trunk$ ll WebContent
> lrwxrwxrwx 1 lili lili 28 2011-08-18 18:50 WebContent ->
> lucene_trunk/solr/webapp/web/
> 5. open lucene_trunk/dev-tools/eclipse/dot.classpath. copy all lines like
> kind="src" to a temp file
> <classpathentry kind="src" path="lucene/core/src/java"/>
> <classpathentry kind="src" path="lucene/core/src/resources"/>
> ....
> 6. replace all string like path="xxx" to path="lucene_trunk/xxx" and copy
> them into .classpath file
> 7. mkdir WebContent/WEB-INF/lib
> 8. extract all jar file in dot.classpath to WebContent/WEB-INF/lib
>    I use this command:
>    lili@lili-desktop:~/workspace/lucene-solr-trunk/lucene_trunk$ cat
> dev-tools/eclipse/dot.classpath |grep "kind=\"lib"|awk -F "path=\"" '{print
> $2}' |awk -F "\"/>" '{print $1}' |xargs cp ../WebContent/WEB-INF/lib/
> 9. open this project and refresh it.
>    if everything is ok, it will compile all java files successfully. if
> there is something wrong, Probably we don't use the correct jar. because
> there are many versions of the same library.
> 10. right click the project -> debug As -> debug on Server
>    it will fail because no solr home is specified.
> 11. right click the project -> debug As -> debug Configuration -> Arguments
> Tab -> VM arguments
>     add
>
> -Dsolr.solr.home=/home/lili/workspace/lucene-solr-trunk/lucene_trunk/solr/example/solr
>     you can also add other vm arguments like -Xmx1g here.
> 12. all fine, add a break point at SolrDispatchFilter.doFilter(). all solr
> request comes here
> 13. have fun~
>
>
> On Fri, Mar 23, 2012 at 11:49 AM, Karthick Duraisamy Soundararaj <
> karthick.soundara...@gmail.com> wrote:
>
> > Hi Solr Ppl,
> >                I have been trying to set up solr dev env. I downloaded
> the
> > tar ball of eclipse and the solr 3.5 source. Here are the exact sequence
> of
> > steps I followed
> >
> > I extracted the solr 3.5 source and eclipse.
> > I installed run-jetty-run plugin for eclipse.
> > I ran ant eclipse in the solr 3.5 source directory
> > I used eclipse's "Open existing project" option to open up the files in
> > solr 3.5 directory. I got a huge tree in the name of lucene_solr.
> >
> > I run it and there is a SEVERE error: System property not set
> excetption. *
> > solr*.test.sys.*prop1* not set and then the jetty loads solr. I then try
> > localhost:8080/solr/select/ I get null pointer execpiton. I am only able
> to
> > access admin page.
> >
> > Is there anything else I need to do?
> >
> > I tried to follow
> >
> >
> http://www.lucidimagination.com/devzone/technical-articles/setting-apache-solr-eclipse
> > .
> > But I dont find the solr-3.5.war file. I tried ant dist to generate the
> > dist folder but that has many jars and wars..
> >
> > I am able to compile the source with ant compile, get the solr in example
> > directory up and running.
> >
> > Will be great if someone can help me with this.
> >
> > Thanks,
> > Karthick
> >
>

Reply via email to