[shrinkwrap-issues] [JBoss JIRA] Created: (SHRINKWRAP-218) Add multiple modules at once to EnterpriseArchive

Michael Schuetz (JIRA) jira-events at lists.jboss.org
Thu Aug 5 08:33:49 EDT 2010


Add multiple modules at once to EnterpriseArchive
-------------------------------------------------

                 Key: SHRINKWRAP-218
                 URL: https://jira.jboss.org/browse/SHRINKWRAP-218
             Project: ShrinkWrap
          Issue Type: Feature Request
            Reporter: Michael Schuetz


At the moment I can add multiple modules to EnterpriseArchiv like this:

 final EnterpriseArchive ear = ShrinkWrap.create(EnterpriseArchive.class, "test.ear")
                .addModule(ejb)
                .addModule(war)
                .addModule(ArtifactResolver.resolve("org.jboss.seam:jboss-seam:2.2.0.GA"));

Would be nice to shorten this a bit, like this:
 final EnterpriseArchive ear = ShrinkWrap.create(EnterpriseArchive.class, "test.ear")
                .addModules(ejb, war, ArtifactResolver.resolve("org.jboss.seam:jboss-seam:2.2.0.GA"));


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the shrinkwrap-issues mailing list