run: ant example
or it come pre packaged in a nightly build
David Pratt wrote:
Hi Ryan. Thanks for your reply. I don't see anywhere that we have
created a war for the example app to use. Jetty will run but it does not
have an app to run.
Regards,
David
Ryan McKinley wrote:
aaah -- mvn jetty:run does not work with that pom
you can run the example server from the example directory using "java
-jar start.jar"
check:
http://lucene.apache.org/solr/tutorial.html
ryan
David Pratt wrote:
Hey Ryan. You were right about SOLR-303. I checked out trunk from
svn, patched source, ran the pom and manually ran the commons pom and
it all built fine. Only trouble is I am not providing the right
incantation for maven to start the server. This I am sure will all
seem very simple once I have got this working at least the first time
but I need a hint :-) Many thanks.
Regards,
David
Ryan McKinley wrote:
I just posted the pom.xml I am using with the current trunk code.
Give that a go.
src/java/org/apache/solr/handler/component/ShardRequest.java:[60,0]
'class' or 'interface' expected
src/java/src/test/org/apache/solr/TestDistributedSearch.java:[129,0]
'class' or 'interface' expected
src/java/src/java/org/apache/solr/handler/component/ShardDoc.java:[273,0]
'class' or 'interface' expected
This is not in trunk yet -- my guess is you are applying a SOLR-303
patch that is not in sync.
make sure 'ant' works before trying to debug maven (for now)
ryan