Hi Lance,

Are you adding a new solr/contrib/project/?  If so, why not use the build.xml 
file from a sibling project?  E.g. try starting from 
solr/contrib/velocity/build.xml - it is very simple and enables all build steps 
by importing solr/contrib/contrib-build.xml.

solr/contrib/contrib-build.xml imports solr/common-build.xml;
solr/common-build.xml imports lucene/contrib/contrib-build.xml;
and lucene/contrib/contrib-build.xml imports lucene/common-build.xml.

Simple!

Steve

-----Original Message-----
From: Lance Norskog [mailto:goks...@gmail.com] 
Sent: Saturday, March 24, 2012 7:56 PM
To: solr-user
Subject: "ant test" and contribs

What do I need to add so that a contrib/project/src/test/ directory can find 
the classes in contrib/project/src/java? I've gotten the ant files to where 
'ant test-contrib' works. But 'ant test' fails: it cannot compile the test 
classes after building the jars for contrib/project. Any hints?

--
Lance Norskog
goks...@gmail.com

Reply via email to