[prev in list] [next in list] [prev in thread] [next in thread] 

List:       solr-dev
Subject:    [jira] Closed: (SOLR-1849) ant luke target in Solr build no longer
From:       "Grant Ingersoll (JIRA)" <jira () apache ! org>
Date:       2010-03-29 15:56:27
Message-ID: 946620105.552981269878187282.JavaMail.jira () brutus ! apache ! org
[Download RAW message or body]


     [ https://issues.apache.org/jira/browse/SOLR-1849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]

Grant Ingersoll closed SOLR-1849.
---------------------------------


> ant luke target in Solr build no longer works
> ---------------------------------------------
> 
> Key: SOLR-1849
> URL: https://issues.apache.org/jira/browse/SOLR-1849
> Project: Solr
> Issue Type: Bug
> Reporter: Grant Ingersoll
> Priority: Trivial
> Fix For: 1.5
> 
> 
> Here's a fix:
> {code}
> <property  name="luke.version" value="1.0.0"/>
> <available file="luke/luke-${luke.version}.jar" property="luke.jar.exists" />
> <target name="luke-download" unless="luke.jar.exists" depends="proxy.setup">
> <mkdir dir="luke"/>
> <get src="http://luke.googlecode.com/files/luke-${luke.version}.jar"
> dest="luke/luke-${luke.version}.jar"/>
> </target>
> 
> <target name="luke" depends="luke-download">
> <java fork="true" 
> classname="org.getopt.luke.Luke"
> logError="true"
> failonerror="true">
> <classpath>
> <fileset dir="luke">
> <include name="luke-${luke.version}.jar"/>
> </fileset>
> <path refid="lucene.classpath"/>
> <path refid="test.run.classpath"/>
> </classpath>
> </java>
> </target>
> {code}
> But it requires there to be a standalone, downloadable version of Luke w/o any \
> Lucene bundled in.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic