In Eclipse, how do I sort the jars resolved by Ivy

1k Views Asked by At

I'm using IvyDE in Eclipse; it can resolve dependencies, but the resolved jars are not in order.

Is it possible to sort the jars alphabetically?

enter image description here

2

There are 2 best solutions below

0
On BEST ANSWER

The default option is to order by ivy.xml, however it can be changed in:

Window -> Preference -> Ivy -> Classpath Container

In Order of the classpath entries, change the default From the ivy.xml to Lexical.

The sorting is case sensitive, so Z goes before a. But it's good enough for my purpose.

enter image description here

1
On

The order comes from Ivy, which I'm guessing is the actual order in your ivy.xml.