lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Rowe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-3204) Include maven-ant-tasks jar in the source tree and use this jar from generate-maven-artifacts
Date Tue, 14 Jun 2011 20:28:47 GMT

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

Steven Rowe commented on LUCENE-3204:
-------------------------------------

I unpacked the jar, defaced the definitions file loaded by the <taskdef>: {{org/apache/maven/artifact/ant/antlib.xml}},
then repacked the now-mangled jar and put the result in {{~/.ant/lib/}}, while leaving intact
the copy under {{lucene/lib/}}.

The result: the mangled copy under {{~/.ant/lib/}} is visited first, resulting in an error.
 This means that the supplied version does *not* get preferred over what's already in {{~/.ant/lib/}}.

I don't think this is a serious problem, but I'll make mention of it in the CHANGES.txt entry
(to be included in another iteration of the patch).

> Include maven-ant-tasks jar in the source tree and use this jar from generate-maven-artifacts
> ---------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-3204
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3204
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: general/build
>    Affects Versions: 3.3, 4.0
>            Reporter: Steven Rowe
>            Assignee: Steven Rowe
>             Fix For: 3.3, 4.0
>
>         Attachments: LUCENE-3204.patch
>
>
> Currently, running {{ant generate-maven-artifacts}} requires the user to have {{maven-ant-tasks-*.jar}}
in their Ant classpath, e.g. in {{~/.ant/lib/}}.  The build should instead rely on a copy
of this jar included in the source tree.

--
This message is automatically generated by JIRA.
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