Here is how the span highlighter I have been working on uses the Memory contrib (I think I copied this from another contrib that has a dependency):

<?xml version="1.0"?>

<project name="highlighter" default="buildHighlighter">

<description>
    Hits highlighter
</description>

<import file="../contrib-build.xml"/>

<property name="memory.jar" location="../../build/contrib/memory/lucene-memory-${version}.jar"/>

<path id="classpath">
<pathelement path="${lucene.jar}"/>
<pathelement path="${memory.jar}"/>
<pathelement path="${project.classpath}"/>
</path>


<target name="buildHighlighter" depends="buildMemory,default" />

<target name="buildMemory" >
<echo>Highlighter building dependency ${memory.jar}</echo>
<ant antfile="../memory/build.xml" target="default" inheritall="false"/>
</target>


</project>

[EMAIL PROTECTED] wrote:
Hi all,

perhaps this is a simple question, but I don't know how to do it.

I'm developing on a new contrib subfolder. My development needs to use
classes in another contrib subfolder. How do I add the corresponding JAR
to the build.xml file?

thanks in advance.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to