You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Benson Margulies <be...@basistech.com> on 2015/12/01 13:43:25 UTC

Using bnd macros in the maven-bundle-plugin

Before I file a JIRA and think I'm debugging a problem:

 <_consumer-policy>\${range;[===,+)}</_consumer-policy>

results in

   -consumer-policy=\\${range;[\=\=\=,+)}

in the bnd file written out by the plugin, and a literally
${range[===,+]} in the produced manifest.


 <_consumer-policy>${range;[===,+)}</_consumer-policy>

results in

 -consumer-policy=

in the bnd file, and an error from bnd.

Is there a way around this that I'm missing, or is this a bug in the plugin?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: Using bnd macros in the maven-bundle-plugin

Posted by Benson Margulies <be...@basistech.com>.
And 2 minutes of further exploration while writing the JIRA revealed
$${...}. Sorry for the noise, I'll improve the documentation.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: Using bnd macros in the maven-bundle-plugin

Posted by Benson Margulies <be...@basistech.com>.
I'm reasonably convinced that this is fact a bug. I'll file a JIRA and fix it.


On Tue, Dec 1, 2015 at 7:43 AM, Benson Margulies <be...@basistech.com> wrote:
> Before I file a JIRA and think I'm debugging a problem:
>
>  <_consumer-policy>\${range;[===,+)}</_consumer-policy>
>
> results in
>
>    -consumer-policy=\\${range;[\=\=\=,+)}
>
> in the bnd file written out by the plugin, and a literally
> ${range[===,+]} in the produced manifest.
>
>
>  <_consumer-policy>${range;[===,+)}</_consumer-policy>
>
> results in
>
>  -consumer-policy=
>
> in the bnd file, and an error from bnd.
>
> Is there a way around this that I'm missing, or is this a bug in the plugin?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org