I have a piece of code like this:
Library.ModifiableModel libraryModel = mylib.getModifiableModel();
VirtualFile jar = // Some jar file on local file system
libraryModel.addRoot (jar, OrderRootType.CLASSES);
When I am committing I see the following exception:
ERROR - epositoryCache.RepositoryCache - The following url expected to be a directory but happens to be a file: file://C:/misha/work/prodlogs/p63950/lib/javassist-3.4.GA.jar
Is it something that is expected or am I doing something wrong?
Thanks in advance,