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