On 23 Aug 2011, at 22:51, Matt Madhavan <[email protected]> wrote:

> Hello,
> Currently I have configured the instructions for my Maven Felix Plugin as
> follows:
> 
> <instructions>
> <Web-ContextPath>/itsobank</Web-ContextPath>
> <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
> <Private-Package>com.xxx.osgi.samples.bank.web.*,
> !com.xxx.osgi.samples.bank.web.internal</Private-Package>
> <Export-Package>!com.hcsc.itf.osgi.samples.bank.web.*</Export-Package>
> *<_wab>src/main/WebContent/</_wab>*
> </instructions>
> 
> I can pretty much move all the instructions to the osgi.bnd file except the
> *<_wab> *tag. Is there any way I can do that or may be I'm not following
> correct syntax!

FYI, the correct syntax in the bnd properties file for your example would be:

   -wab: src/main/WebContent/

we have to change the '-' used by bnd for options to a '_' when using XML 
because tags cannot start with '-'

> Any help will be appreciated.
> 
> Thanks
> Matt

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to