Over-aggressive license checking code doesn't like jars in extraneous
directories (like the work directory that the war is exploded into
under exampleB).
delete "exampleB" and the build should work.

-Yonik
lucenerevolution.com - Lucene/Solr Open Source Search Conference.
Boston May 7-10

On Mon, Mar 12, 2012 at 3:24 AM, Per Steffensen <st...@designware.dk> wrote:
> Hi
>
> Just tried to "ant clean test" on latest code from trunk. I get a lot of
> "MISSING LICENSE" messages - e.g.
> [licenses] MISSING LICENSE for the following file:
> [licenses]
> .../solr/exampleB/work/Jetty_0_0_0_0_8900_solr.war__solr__dsbrc0/webapp/WEB-INF/lib/zookeeper-3.3.3.jar
> [licenses]   Expected locations below:
> [licenses]   =>
> .../solr/exampleB/work/Jetty_0_0_0_0_8900_solr.war__solr__dsbrc0/webapp/WEB-INF/lib/zookeeper-LICENSE-ASL.txt
> [licenses]   =>
> .../solr/exampleB/work/Jetty_0_0_0_0_8900_solr.war__solr__dsbrc0/webapp/WEB-INF/lib/zookeeper-LICENSE-BSD.txt
> [licenses]   =>
> .../solr/exampleB/work/Jetty_0_0_0_0_8900_solr.war__solr__dsbrc0/webapp/WEB-INF/lib/zookeeper-LICENSE-BSD_LIKE.txt
> [licenses]   =>
> .../solr/exampleB/work/Jetty_0_0_0_0_8900_solr.war__solr__dsbrc0/webapp/WEB-INF/lib/zookeeper-LICENSE-CDDL.txt
> [licenses]   =>
> .../solr/exampleB/work/Jetty_0_0_0_0_8900_solr.war__solr__dsbrc0/webapp/WEB-INF/lib/zookeeper-LICENSE-CPL.txt
> [licenses]   =>
> .../solr/exampleB/work/Jetty_0_0_0_0_8900_solr.war__solr__dsbrc0/webapp/WEB-INF/lib/zookeeper-LICENSE-EPL.txt
> [licenses]   =>
> .../solr/exampleB/work/Jetty_0_0_0_0_8900_solr.war__solr__dsbrc0/webapp/WEB-INF/lib/zookeeper-LICENSE-MIT.txt
> [licenses]   =>
> .../solr/exampleB/work/Jetty_0_0_0_0_8900_solr.war__solr__dsbrc0/webapp/WEB-INF/lib/zookeeper-LICENSE-MPL.txt
> [licenses]   =>
> .../solr/exampleB/work/Jetty_0_0_0_0_8900_solr.war__solr__dsbrc0/webapp/WEB-INF/lib/zookeeper-LICENSE-PD.txt
> [licenses]   =>
> .../solr/exampleB/work/Jetty_0_0_0_0_8900_solr.war__solr__dsbrc0/webapp/WEB-INF/lib/zookeeper-LICENSE-SUN.txt
> [licenses]   =>
> .../solr/exampleB/work/Jetty_0_0_0_0_8900_solr.war__solr__dsbrc0/webapp/WEB-INF/lib/zookeeper-LICENSE-COMPOUND.txt
> [licenses]   =>
> .../solr/exampleB/work/Jetty_0_0_0_0_8900_solr.war__solr__dsbrc0/webapp/WEB-INF/lib/zookeeper-LICENSE-FAKE.txt
>
> $ ant -version
> Apache Ant(TM) version 1.8.2 compiled on October 14 2011
>
> What might be wrong?
>
> Regards, Per Steffensen

Reply via email to