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 Jeremy Hinegardner <je...@hinegardner.org> on 2008/05/08 20:22:05 UTC

solrj src not in nightly build?

Hi all,

I was wondering if there is a reason the solrj source is not in the nightly
build.  I've started playing around with the nightly build and unfortunately
since the solrj source code is not shipped "ant compile" does not work out 
of the box:

  BUILD FAILED
  /Users/jeremy/pkgs/solr/dist/apache-solr-1.3-dev/build.xml:247: The following error occurred while executing this line:
  /Users/jeremy/pkgs/solr/dist/apache-solr-1.3-dev/build.xml:124: srcdir "/Users/jeremy/pkgs/solr/dist/apache-solr-1.3-dev/client/java/solrj/src" does not exist!

All of the solrj documentation ships, and the solrj .jar files but not the
source.

My java and ant skills are rusty these days, so my mucking around with
build.xml, produced this which appears to fix it for me but I"m not sure if
this is what you want to do.

Index: build.xml
===================================================================
--- build.xml   (revision 654581)
+++ build.xml   (working copy)
@@ -724,7 +724,7 @@
     <tar destfile="${dist}/${fullnamever}.tgz" compression="gzip">
       <tarfileset dir="."
         prefix="${fullnamever}"
-        includes="LICENSE.txt NOTICE.txt *.txt *.xml lib/** src/** example/**"
+        includes="LICENSE.txt NOTICE.txt *.txt *.xml lib/** src/** example/** client/java/**"
         excludes="**/data/ **/logs/* **/classes/ **/*.sh **/bin/ src/scripts/ src/site/build/" />
       <tarfileset dir="."
         mode="755"


enjoy,

-jeremy

-- 
========================================================================
 Jeremy Hinegardner                              jeremy@hinegardner.org 


Re: solrj src not in nightly build?

Posted by Jeremy Hinegardner <je...@hinegardner.org>.
On Thu, May 08, 2008 at 04:00:58PM -0700, Chris Hostetter wrote:
> 
> http://issues.apache.org/jira/browse/SOLR-510
> 
> 	:)
> 
> -Hoss

Of course I would forget to look in the bug tracker ....  good to know I had the
same patch :-).  Thanks.

enjoy,

-jeremy


-- 
========================================================================
 Jeremy Hinegardner                              jeremy@hinegardner.org 


Re: solrj src not in nightly build?

Posted by Chris Hostetter <ho...@fucit.org>.
http://issues.apache.org/jira/browse/SOLR-510

	:)

-Hoss