lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LUCENE-4601) ivy availability check isn't quite right
Date Mon, 10 Dec 2012 12:23:23 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-4601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robert Muir resolved LUCENE-4601.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0
                   4.1

Thanks Ryan!
                
> ivy availability check isn't quite right
> ----------------------------------------
>
>                 Key: LUCENE-4601
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4601
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: general/build
>            Reporter: Robert Muir
>             Fix For: 4.1, 5.0
>
>         Attachments: LUCENE-4601.patch
>
>
> remove ivy from your .ant/lib but load it up on a build file like so:
> You have to lie to lucene's build, overriding ivy.available, because for some reason
the detection is wrong and will tell you ivy is not available, when it actually is.
> I tried changing the detector to use available classname=some.ivy.class and this didnt
work either... so I don't actually know what the correct fix is.
> {noformat}
> <project name="test" default="test" basedir=".">
>   <path id="ivy.lib.path">
>     <fileset dir="/Users/rmuir" includes="ivy-2.2.0.jar" />
>   </path>
>   <taskdef resource="org/apache/ivy/ant/antlib.xml" uri="antlib:org.apache.ivy.ant"
classpathref="ivy.lib.path" />
>   <target name="test">
>     <subant target="test" inheritAll="false" inheritRefs="false" failonerror="true">
>       <fileset dir="lucene-trunk/lucene" includes="build.xml"/>
>       <!-- lie -->
>       <property name="ivy.available" value="true"/>
>     </subant>
>   </target>
> </project>
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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