You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Chris Male (JIRA)" <ji...@apache.org> on 2011/06/27 02:33:47 UTC

[jira] [Updated] (LUCENE-3244) Contrib/Module-uptodate assume name matches path and jar

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

Chris Male updated LUCENE-3244:
-------------------------------

    Attachment: LUCENE-3244.patch

Patch adds contrib-src-name attribute to contrib-uptodate.  This allows the name of the src for the contrib to be different to the contrib's project name.  

The name attribute is now assumed to be the project name.  

If the contrib-src-name property is omitted, name is used.

I have code that makes use of this (in changing the queries contrib to queries-contrib) and have verified it works.

I'd be great if someone could review this to see any implications I might have missed.

> Contrib/Module-uptodate assume name matches path and jar
> --------------------------------------------------------
>
>                 Key: LUCENE-3244
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3244
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: general/build
>            Reporter: Chris Male
>         Attachments: LUCENE-3244.patch
>
>
> With adding a new 'queries' module, I am trying to change the project name of contrib/queries to queries-contrib.  However currently the contrib-uptodate assumes that the name property is used in the path and in the jar name.
> By using the name in the path, I must set the value to 'queries' (since the path is contrib/queries).  However because the project name is now queries-contrib, the actual jar file will be lucene-queries-contrib-${version}.jar, not lucene-queries-${version}.jar, as is expected.
> Consequently I think we need to separate the path name from the jar name properties.  For simplicity I think adding a new jar-name property will suffice, which can be optional and if omitted, is filled in with the name property.

--
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