Examples of ClassLoaderAsset


Examples of org.jboss.shrinkwrap.impl.base.asset.ClassLoaderAsset

  @Deployment(testable = false)
    public static WebArchive createDeployment() {
        WebArchive archive = ShrinkWrap.create(WebArchive.class, "moviefun.war")
            .addClasses(ActionServlet.class, SetupServlet.class, Movie.class, MovieController.class, Movies.class, MoviesImpl.class, MoviesRemote.class, JsfUtil.class, PaginationHelper.class, ExampleDataProducer.class, Examples.class, Setup.class)
            .addAsResource(new ClassLoaderAsset("META-INF/ejb-jar.xml") , "META-INF/ejb-jar.xml")
            .addAsResource(new ClassLoaderAsset("META-INF/persistence.xml") , "META-INF/persistence.xml")
            .addAsLibraries(new File("target/test-libs/commons-beanutils.jar"),
                new File("target/test-libs/commons-codec.jar"),
                new File("target/test-libs/commons-collections.jar"),
                new File("target/test-libs/commons-digester.jar"),
                new File("target/test-libs/commons-logging.jar"),
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.