You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Luca Stancapiano (JIRA)" <ji...@apache.org> on 2011/06/12 16:46:51 UTC
[jira] [Commented] (LUCENE-3167) Make lucene/solr a OSGI bundle
through Ant
[ 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