Can JBDS be configured to look into correct runtime versions of jars that are in the .overlays directory?
Environment
- JBoss Enterprise Application Platform(EAP) 6.x
- JBoss Developer Studio(JBDS)
Issue
Once a CP Patch to EAP 6 is applied most of the jars that are being referenced in modules directory are corrupt and JBOSS DEVELOPER STUDIO was throwing class not found errors on the classes that it previously referenced as part of EAP 6 development. The question is "how to configure JBDS to look into the correct runtime versions of jars that are in the .overlays directory"?
Resolution
Currently there's no way to configure JBDS to look into the jars that are in the .overlays directory.
One workaround is to add the path of the jars in .overlay directory in the .classpath file generated by JBDS. This file is located at the root of JBDS project.
<classpathentry kind="lib" path="$OVERLAY_PATH/whatever.jar"/>
...
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
