[jboss-jira] [JBoss JIRA] Commented: (AS7-1527) Arquillian should merge existing MANIFEST.MF

Martin Kouba (JIRA) jira-events at lists.jboss.org
Fri Aug 12 10:41:11 EDT 2011


    [ https://issues.jboss.org/browse/AS7-1527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12620706#comment-12620706 ] 

Martin Kouba commented on AS7-1527:
-----------------------------------

Code snippet below shows the way one could try to use customized manifest. Suppose MANIFEST.MF contains "Dependencies: org.slf4j" to activate AS7 slf4j module. After test run if you look into archive ARQ generated there is no such content.

{code}
        @Deployment
	public static WebArchive createTestArchive() {

		WebArchive archive = ShrinkWrap.create(WebArchive.class, "test.war");

                archive.addClass(SimpleTest.class);
		archive.setWebXML(new File("src/test/webapp/WEB-INF/web.xml"));
		archive.setManifest(new File("src/test/webapp/META-INF/MANIFEST.MF"));

		return archive;
	}
{code}

> Arquillian should merge existing MANIFEST.MF
> --------------------------------------------
>
>                 Key: AS7-1527
>                 URL: https://issues.jboss.org/browse/AS7-1527
>             Project: Application Server 7
>          Issue Type: Bug
>            Reporter: Martin Kouba
>            Priority: Minor
>
> CDI/ARQ/AS7 test - it's not possible to modify MANIFEST.MF (to activate AS7 module) when creating test archive because ARQ replaces user-defined manifest with its own version in the end. ARQ should merge existing manifest instead.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list