code: public static String createEntryIdentity(Entry entry) throws UnableToAdaptException {
          String result = "";
          while (entry != null && !entry.getPath().isEmpty()) {
              result = entry.getPath() + result;
              entry = entry.getRoot().adapt(Entry.class);
          }
  
          return result;
      }
docs: create an Entry Identity that can identify an entry in an ear/war archive
  This is used to avoid the cross reference in jar files' Class-Path causing the non-stopping recursion
  
  @param entry
  @return
  @throws UnableToAdaptException