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

Stuart McCulloch resolved FELIX-247.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4.0

It's been a while, but you can now create a custom Ant build script that will 
rebuild the bundle using:

   mvn ant:ant bundle:ant

   ant clean package

because this uses BND to rebuild the bundle, changes to the source code will 
now affect the manifest.

To try it out, use the latest 1.3.0-SNAPSHOT (build-stamp 
1.3.0-20080219.095008-3)

> Add ant goal to maven-bundle-plugin which creates a build.xml and MANIFEST.MF 
> with bundle headers
> -------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-247
>                 URL: https://issues.apache.org/jira/browse/FELIX-247
>             Project: Felix
>          Issue Type: New Feature
>          Components: Maven Bundle Plugin
>            Reporter: Tim Moloney
>            Assignee: Stuart McCulloch
>            Priority: Minor
>             Fix For: 1.4.0
>
>         Attachments: maven-bundle-plugin-ant-1.patch
>
>
> Modify maven-bundle-plugin so that runing
>   mvn org.apache.felix:maven-bundle-plugin:ant
> creates the build.xml and MANIFEST.MF files for the current source code.  
> This allows a working bundle to be created from a source distribution using 
> ant (without using maven).
> The goal of this issue is not to allow development using ant but to provide a 
> way of distributing source code that uses ant to build a working bundle.  Any 
> changes to the source code that affect the bundle headers would not be 
> updated in the manifest, since the manifest file is created at the same time 
> as the build file and is not changed by any ant task.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to