File reggieDL = FileHelper.find(new File(rioHome, "lib-dl"), "reggie-dl");
//String reggieCodebase = "artifact:org.apache.river/reggie-dl/"+ FileHelper.getJarVersion(reggieDL.getName());
String reggieCodebase = createAnnotatedArtifactURL(String.format("artifact:org.apache.river/reggie-dl/%s",
FileHelper.getJarVersion(reggieDL.getName())));
String implClass = "com.sun.jini.reggie.TransientRegistrarImpl";
return (new RioServiceDescriptor(reggieCodebase, policy, reggieClasspath, implClass, lookupConfig));
}