On Mon, Nov 23, 2009 at 7:23 PM, Stuart McCulloch <mccu...@gmail.com> wrote:
> 2009/11/24 Alan D. Cabrera <l...@toolazydogs.com> > > > When converting 3rd party jars it's my understanding that it's a good > idea > > that if it's a "leaf" jar, i.e. has no deps, then it should not import > what > > it exports. > > > > It's not clear to me how I should configure the bundle plugin to do this. > > > > the Bnd tool handles the manifest generation, see: > > http://aqute.biz/Code/Bnd#export-package > > specifically the ";-noimport:=true" package attribute: > > Export-Package= org.foo.bar.*;-noimport:=true > or so. thanks stuart. > > alternatively you can use negated entries in Import-Package: > > Import-Package: !org.foo.bar, * > > HTH > > > Regards, > > Alan > > > > -- > Cheers, Stuart > -- Toni Menzel Independent Software Developer Professional Profile: http://okidokiteam.com t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.