There is no way to sort the jars on the buildpath by package names
they contain. It seems not even possible since package names can vary
quite significantly across the jars.
Since the buildpath is a linear path supplied to the compiler and the
Bnd builder, the order of the jars can be of significance when
packages are duplicated and some simple sorting for the buildpath
entries may provide undesirable results.
On Tue, May 7, 2019 at 7:28 AM <
gsru...@gmail.com> wrote:
>
> We have a newly added coding standard in our organization that asks the we sort the build path in our bnd files by package name. It seems sensical that when adding an dependency via the GUI that dependencies could be alphabetized at that time. I have glanced at the BndTools source and nothing is jumping out at me as the place in the code to as to where that kind of logic would be added. Can anyone point me at the right file?
>
> --
> You received this message because you are subscribed to the Google Groups "bndtools-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
bndtools-dev...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/bndtools-dev/2150805d-4768-43cd-9cd2-788cbe664a82%40googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.
--
BJ