@Inject
private Packager packager;
@Inject
@Named("xar")
private LocalExtensionRepository xarRepository;
<BUG>@Inject
private Logger logger;</BUG>
public void install(LocalExtension localExtension, String wiki) throws InstallException
{
<BUG>install(null, localExtension, wiki);
}</BUG>
@Override

@Inject
private Packager packager;
@Inject
@Named("xar")
private LocalExtensionRepository xarRepository;
public void install(LocalExtension localExtension, String wiki) throws InstallException
{
try {
this.packager.importXAR(localExtension.getFile(), wiki);
} catch (Exception e) {
throw new InstallException("Failed to import xar for extension [" + localExtension + "]", e);
}
}
@Override
