lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (Commented) (JIRA)" <>
Subject [jira] [Commented] (LUCENE-3946) improve docs & ivy verification output to explain classpath problems and mention "--noconfig"
Date Tue, 03 Apr 2012 23:46:23 GMT


Robert Muir commented on LUCENE-3946:

I'm hoping Shawn and McCandless (who also mentioned being able to reproduce this with a stock
Fedora install of ant) can verify that they get consistent/useful behavior when running things

I spent 5 minutes trying to do this:
# installed fedora 13 into vm (image:
# yum install ant
# yum install svn
# download jdk7 tar.gz from, set it to JAVA_HOME, and put its bin/ in PATH,
# svn co branch_3x

As soon as I run 'ant test' to try to do anything, i see:
[fedora@localhost lucene]$ ant test
Buildfile: build.xml


/home/fedora/branch_3x/lucene/build.xml:48: No supported regular
expression matcher found: java.lang.ClassNotFoundException:

Total time: 0 seconds

So forget about loading ivy, I think these ants shipped with linux distributions are hopelessly
and I don't think there is a lot we can do.
> improve docs & ivy verification output to explain classpath problems and mention
> ---------------------------------------------------------------------------------------------
>                 Key: LUCENE-3946
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Task
>    Affects Versions: 3.6
>            Reporter: Hoss Man
>            Assignee: Hoss Man
>             Fix For: 4.0
>         Attachments: LUCENE-3946.patch
> offshoot of LUCENE-3930, where shawn reported...
> {quote}
> I can't get either branch_3x or trunk to build now, on a system that used to build branch_3x
without complaint.  It
> says that ivy is not available, even after doing "ant ivy-bootstrap" to download ivy
into the home directory.
> Specifically I am trying to build solrj from trunk, but I can't even get "ant" in the
root directory of the checkout
> to work.  I'm on CentOS 6 with oracle jdk7 built using the SRPMs.  Ant (1.7.1)
and junit are installed
> from package repositories.  Building a checkout of lucene_solr_3_5 on the same machine
works fine.
> {quote}
> The root cause is that ant's global configs can be setup to ignore the users personal
lib dir.  suggested work arround is to run "ant --noconfig" but we should also try to give
the user feedback in our failure about exactly what classpath ant is currently using (because
apparently ${java.class.path} is not actually it)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message