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 Per Steffensen <st...@designware.dk> on 2012/03/12 08:24:26 UTC

MISSING LICENSE

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

Re: MISSING LICENSE

Posted by Per Steffensen <st...@designware.dk>.
Thank you both for your kind help.

Regards, Steff

Erick Erickson skrev:
> Per:
>
> You've been working with SolrCloud, haven't you? Yonik's right on, removing
> exampleB is what I had to do with the exact same problem.
>
> Erick
>
> On Mon, Mar 12, 2012 at 2:33 PM, Yonik Seeley
> <yo...@lucidimagination.com> wrote:
>   
>> 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


Re: MISSING LICENSE

Posted by Erick Erickson <er...@gmail.com>.
Per:

You've been working with SolrCloud, haven't you? Yonik's right on, removing
exampleB is what I had to do with the exact same problem.

Erick

On Mon, Mar 12, 2012 at 2:33 PM, Yonik Seeley
<yo...@lucidimagination.com> wrote:
> 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

Re: MISSING LICENSE

Posted by Yonik Seeley <yo...@lucidimagination.com>.
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

Re: MISSING LICENSE

Posted by Per Steffensen <st...@designware.dk>.
Shawn Heisey skrev:
> On 3/12/2012 1:24 AM, Per Steffensen wrote:
>> $ ant -version
>> Apache Ant(TM) version 1.8.2 compiled on October 14 2011
>>
>> What might be wrong?
>
> If you check lucene/BUILD.txt in your source, it says to use ant 1.7.1 
> or later, but not 1.8.x.  This is from a recent trunk checkout:
>
> Basic steps:
>   0) Install JDK 1.6 (or greater), Ant 1.7.1+ (not 1.6.x, not 1.8.x)
>   1) Download Lucene from Apache and unpack it
>   2) Connect to the top-level of your Lucene installation
>   3) Install JavaCC (optional)
>   4) Run ant
Ok, thanks. Didnt catch that. Have another checkout of solrtrunk from 
about 2 weeks ago, where I didnt see the problem?!?!?!? In that I am 
able to run "ant test" etc. without license problems.
>
> A previous message on the mailing list about the missing license 
> messages (from 2012-02-23) says that some work has been done to get it 
> working with ant 1.8, but it's not done yet.  Can you downgrade or 
> install the older release in an alternate location?
Im sure I will manage, now that I know what the problem is. Thanks again.
>
> It looks like ant 1.8 has been out for two years, so newer operating 
> systems are going to be shipping with it and it may become difficult 
> to get the older ant release.  I know from my own systems that 
> CentOS/RHEL 6 is still using ant 1.7.1.
>
> Thanks,
> Shawn
>
>


Re: MISSING LICENSE

Posted by Shawn Heisey <so...@elyograg.org>.
On 3/12/2012 1:24 AM, Per Steffensen wrote:
> $ ant -version
> Apache Ant(TM) version 1.8.2 compiled on October 14 2011
>
> What might be wrong?

If you check lucene/BUILD.txt in your source, it says to use ant 1.7.1 
or later, but not 1.8.x.  This is from a recent trunk checkout:

Basic steps:
   0) Install JDK 1.6 (or greater), Ant 1.7.1+ (not 1.6.x, not 1.8.x)
   1) Download Lucene from Apache and unpack it
   2) Connect to the top-level of your Lucene installation
   3) Install JavaCC (optional)
   4) Run ant

A previous message on the mailing list about the missing license 
messages (from 2012-02-23) says that some work has been done to get it 
working with ant 1.8, but it's not done yet.  Can you downgrade or 
install the older release in an alternate location?

It looks like ant 1.8 has been out for two years, so newer operating 
systems are going to be shipping with it and it may become difficult to 
get the older ant release.  I know from my own systems that CentOS/RHEL 
6 is still using ant 1.7.1.

Thanks,
Shawn