[
http://jira.jboss.com/jira/browse/JBMICROCONT-232?page=comments#action_12... ]
Scott M Stark commented on JBMICROCONT-232:
-------------------------------------------
The org.jboss.test.virtual.test.FileVFSUnitTestCase.testInnerManifestClasspath shows the
problem. Currently all it is doing is succeeding if the manifest parse does not fail. Its
not validating the resulting classpath. When this is added, it fails as no classpath
entries were found.
VFSUtils.addManifestLocations does not work for nested archives
---------------------------------------------------------------
Key: JBMICROCONT-232
URL:
http://jira.jboss.com/jira/browse/JBMICROCONT-232
Project: JBoss MicroContainer
Issue Type: Bug
Components: VFS
Affects Versions: JBossMC-2.0.0.Beta10
Reporter: Scott M Stark
Assigned To: Scott M Stark
Fix For: JBossMC-2.0.0.CR1
The logic for VFSUtils.addManifestLocations is not working for wars in ears, probably all
nested archives with class path manifest entries. One example in the jbossas testsuite
is:
org.jboss.test.web.test.ClasspathUnitTestCase
2008-01-24 16:09:03,284 DEBUG [org.jboss.virtual.VFSUtils] Manifest Class-Path entry
jbosstest-web-util.jar ignored for manifest-web.war reason=java.io.IOException: Child not
found il.jar for JarHandler@1842226989[path=
context=file:/home/svn/JBossHead/jboss-head/testsuite/output/lib/manifest-web.ear
real=file:/home/svn/JBossHead/jboss-head/testsuite/output/lib/manifest-web.ear]
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira