lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shawn Heisey (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-3946) improve docs & ivy verification output to explain classpath problems and mention "--noconfig"
Date Wed, 04 Apr 2012 13:17:25 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-3946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13246242#comment-13246242
] 

Shawn Heisey commented on LUCENE-3946:
--------------------------------------

Robert's comment shows that he saw this:

/home/fedora/branch_3x/lucene/build.xml:48: No supported regular
expression matcher found: java.lang.ClassNotFoundException:
org.apache.tools.ant.util.regexp.Jdk14RegexpMatcher

On CentOS 6, there is a ant-apache-regexp package.  Poking around the ivy jar with the Classpath
Helper in eclipse, I also saw that it will probably need ant-apache-oro and possibly other
optional packages.  I have installed every optional ant package I could find on mine, and
it didn't help.

ant-apache-bcel-1.7.1-13.el6.x86_64
ant-javamail-1.7.1-13.el6.x86_64
ant-nodeps-1.7.1-13.el6.x86_64
ant-apache-bsf-1.7.1-13.el6.x86_64
ant-apache-resolver-1.7.1-13.el6.x86_64
ant-commons-net-1.7.1-13.el6.x86_64
ant-contrib-1.0-0.10.b2.el6.noarch
ant-commons-logging-1.7.1-13.el6.x86_64
ant-javadoc-1.7.1-13.el6.x86_64
ant-jdepend-1.7.1-13.el6.x86_64
ant-apache-regexp-1.7.1-13.el6.x86_64
ant-trax-1.7.1-13.el6.x86_64
ant-junit-1.7.1-13.el6.x86_64
ant-swing-1.7.1-13.el6.x86_64
ant-jmf-1.7.1-13.el6.x86_64
ant-scripts-1.7.1-13.el6.x86_64
ant-jsch-1.7.1-13.el6.x86_64
ant-apache-oro-1.7.1-13.el6.x86_64
ant-apache-log4j-1.7.1-13.el6.x86_64
ant-1.7.1-13.el6.x86_64
ant-antunit-1.1-4.el6.noarch

Checking the java.class.path spit out by the downloaded ant, there appear to be things that
it includes that are not available as optional packages.  I know from previous experience
that filing a bug with CentOS is useless, they'll just tell me to file a bug with Redhat.
 Since I've never given Redhat a single penny, I will have to research how to file a bug with
them.

                
> improve docs & ivy verification output to explain classpath problems and mention
"--noconfig"
> ---------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-3946
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3946
>             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 city-fan.org 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message