Re: How to compile nightly build?
The nightly test artifacts don't currently contain everything needed to recompile the sources, this is a known issue... https://issues.apache.org/jira/browse/SOLR-1989 ...if you want to compile from source off hte trunk or 3x branch, you need to check out the *entire* branch (not just the solr directory, but it's parent including lucene and the modules) This is the problem with the source in the nightly artifacts at the moment: they only include the solr source. -Hoss
Re: How to compile nightly build?
yup, The Nightly build you pointed out has pre-built code and does the include the lucene and module dependencies needed for compilation. In case you want to compile from the source You can check the code from the location @ https://svn.apache.org/repos/asf/lucene/dev/trunk/solr There are 3 Folder - Solr, Lucene and Modules If you are making changes in any of the folders :- From the modules folder execute - ant compile From the lucene folder execute - ant dist From the solr folder execute - ant dist Would require jdk 1.6 Regards, Jayendra On Fri, Aug 13, 2010 at 7:11 PM, Chris Hostetter hossman_luc...@fucit.orgwrote: The nightly test artifacts don't currently contain everything needed to recompile the sources, this is a known issue... https://issues.apache.org/jira/browse/SOLR-1989 ...if you want to compile from source off hte trunk or 3x branch, you need to check out the *entire* branch (not just the solr directory, but it's parent including lucene and the modules) This is the problem with the source in the nightly artifacts at the moment: they only include the solr source. -Hoss
How to compile nightly build?
I am attempting to follow the instructions located at: http://wiki.apache.org/solr/ExtractingRequestHandler#Getting_Started_with_the_Solr_Example I have downloaded the most recent clean build from Hudson. After running 'ant example' I get the following error: C:\solr_build\apache-solr-4.0-2010-07-27_08-06-29ant example Buildfile: C:\solr_build\apache-solr-4.0-2010-07-27_08-06-29\build.xml init-forrest-entities: compile-lucene: BUILD FAILED C:\solr_build\apache-solr-4.0-2010-07-27_08-06-29\common-build.xml:214: C:\solr_ build\modules\analysis\common does not exist. Total time: 0 seconds = What is the correct procedure? -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-compile-nightly-build-tp1077115p1077115.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: How to compile nightly build?
You don't have to download the source. You can just download the binary distribution from their site and run it without compiling it. - Moazzam On Tue, Aug 10, 2010 at 1:48 PM, harrysmith harrysmith...@gmail.com wrote: I am attempting to follow the instructions located at: http://wiki.apache.org/solr/ExtractingRequestHandler#Getting_Started_with_the_Solr_Example I have downloaded the most recent clean build from Hudson. After running 'ant example' I get the following error: C:\solr_build\apache-solr-4.0-2010-07-27_08-06-29ant example Buildfile: C:\solr_build\apache-solr-4.0-2010-07-27_08-06-29\build.xml init-forrest-entities: compile-lucene: BUILD FAILED C:\solr_build\apache-solr-4.0-2010-07-27_08-06-29\common-build.xml:214: C:\solr_ build\modules\analysis\common does not exist. Total time: 0 seconds = What is the correct procedure? -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-compile-nightly-build-tp1077115p1077115.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: How to compile nightly build?
In this particular case I would like to get the trunk. Is there a different link for binary distributions of nightly builds? I had been downloading from here: http://hudson.zones.apache.org/hudson/job/Solr-trunk/lastSuccessfulBuild/artifact/trunk/solr/dist/ In the case I did want to compile from the source, am I missing a step? -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-compile-nightly-build-tp1077115p1080266.html Sent from the Solr - User mailing list archive at Nabble.com.