lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Stancapiano (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-3167) Make lucene/solr a OSGI bundle through Ant
Date Sun, 12 Jun 2011 14:46:51 GMT

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

Luca Stancapiano commented on LUCENE-3167:
------------------------------------------

A starting point is here:

Downloading the biz.aQute.bnd.jar package from http://dl.dropbox.com/u/2590603/bnd/biz.aQute.bnd.jar
and put it in the libs home of ant.

Then add this:


          <bnd
              classpath="src"
              eclipse="false"
              failok="false"
              exceptions="true"
              files="${common.dir}/lucene.bnd" />


in the lucene_trunk/lucene/common-build.xml file inside:


  <macrodef name="build-manifest" description="Builds a manifest file">
        <attribute name="title" default="Lucene Search Engine: ${ant.project.name}" />
        <sequential>
.....
        

and in the same directory create a lucene.bnd file containing:

Export-Package: *;-split-package:=merge-first


Need testing

> Make lucene/solr a OSGI bundle through Ant
> ------------------------------------------
>
>                 Key: LUCENE-3167
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3167
>             Project: Lucene - Java
>          Issue Type: New Feature
>         Environment: bndtools
>            Reporter: Luca Stancapiano
>
> We need to make a bundle thriugh Ant, so the binary can be published and no more need
the download of the sources. Actually to get a OSGI bundle we need to use maven tools and
build the sources. Here the reference for the creation of the OSGI bundle through Maven:
> https://issues.apache.org/jira/browse/LUCENE-1344
> Bndtools could be used inside Ant

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