]
Alexey Kazakov closed JBIDE-19938.
----------------------------------
Resolution: Done
java.io.FileNotFoundException when batch feature installed
----------------------------------------------------------
Key: JBIDE-19938
URL:
https://issues.jboss.org/browse/JBIDE-19938
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: batch
Affects Versions: 4.3.0.Beta1
Reporter: Alexey Kazakov
Assignee: Viacheslav Kabanovich
Fix For: 4.3.0.Beta1
I have a bunch of JavaEE projects in my workspace.
When opening that workspace I saw the following exception in the log:
{code}
java.io.FileNotFoundException:
/home/igels/Java/eclipse-mars/workspace/runtime/SeamTest/WebContent/WEB-INF/classes (Is a
directory)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:220)
at java.util.zip.ZipFile.<init>(ZipFile.java:150)
at java.util.jar.JarFile.<init>(JarFile.java:166)
at java.util.jar.JarFile.<init>(JarFile.java:130)
at org.jboss.tools.common.core.jandex.JandexUtil.createJarIndex(JandexUtil.java:47)
at org.jboss.tools.common.core.jandex.JandexUtil.hasSubtypes(JandexUtil.java:123)
at
org.jboss.tools.batch.internal.core.scanner.BatchArchiveDetector.computeIsJarBatchArchive(BatchArchiveDetector.java:278)
{code}
WEB-INF/classes or any other bin folder should not been scanned by Batch JAR scanner.