as part of unit tests need create jar files, perform actions on them, , delete them (so folder clean next test).
one of actions enumerates resources looking @ manifest of jar files in these test folders.
manifests = _loader.getresources(manifest_path); while (manifests.hasmoreelements()) { manifests.nextelement(); //do stuff here }
if comment out manifests.nextelement(), deleted expected everytime. if leave in, jar files searches through aren't deleted.
i've tried grabbing url , closing stream, didn't help. i've looked @ resource patterns on so, i'm new java , not sure resource caausing hickup.
thank help.
Comments
Post a Comment