You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Christian Klinger <ck...@novareto.de> on 2007/10/10 09:27:54 UTC

Problems with mySolr Wiki

Hi Solr-Users,

i try to follow the instructions [1] from the solr-wiki
to build my custom solr server.

First i have created the directory-structure.

mySolr
--solr
   --conf
     --schema.xml
     --solrconfig.xml
--solr.xml <-- Where i can find this file?
--build.xml <-- copy & paste from the wiki

Than i run the command

$ ant mysolr.dist
Buildfile: build.xml

BUILD FAILED
/root/buildouts/mySolr/build.xml:10: Cannot find 
${env.SOLR_HOME}/build.xml imported from /root/buildouts/mySolr/build.xml

Total time: 0 seconds


Maybe someone have an tipp for me?

Thanks for your help.
Christian


[1] http://wiki.apache.org/solr/mySolr


Re: Problems with mySolr Wiki

Posted by Chris Hostetter <ho...@fucit.org>.
i'm not very familiar with that wiki, but note the line in the example ant 
script...

  <!-- SOLR_HOME must be set as an environment variable -->

...

: --solr.xml <-- Where i can find this file?

according to the wiki page...

> First we will setup a basic directory structure (assuming we only want to 
> change some fields) and copy the attached build.xml and solr.xml:

...i addume it is refering to what you named build.xml ... if you name it 
solr.xml i think you would need to run "ant -f solr.xml mysolr.dist" ... 
but like i said, i'm not too familiar with that wiki, so i could be wrong.


-Hoss