Examples of addMavenDependency()


Examples of org.richfaces.deployment.CoreDeployment.addMavenDependency()

       
        FaceletAsset p = new FaceletAsset();
        p.body("<script>document.title = 'waiting-for-message'; RichFaces.Push.logLevel = \"debug\";</script>");
        p.body("<a4j:push address=\"" + Commons.TOPIC + "\" ondataavailable=\"console.log('a4j:push message: ' + event.rf.data); document.title = 'message-received: ' + event.rf.data\" />");

        deployment.addMavenDependency(
                "org.atmosphere:atmosphere-runtime");

        deployment.archive().addAsWebResource(p, "index.xhtml");

        return deployment;
View Full Code Here

Examples of org.richfaces.deployment.CoreDeployment.addMavenDependency()

        FaceletAsset p = new FaceletAsset();
        p.body("<script>document.title = 'waiting-for-message';</script>");
        p.body("<a4j:push address=\"" + TOPIC + "\" ondataavailable=\"console.log('a4j:push message: ' + event.rf.data); document.title = 'message-received: ' + event.rf.data;\" />");
        p.form("<a4j:commandButton id=\"sendMessage\" value=\"send message\" action=\"#{pushBean.sendMessage}\" />");

        deployment.addMavenDependency(
            "org.atmosphere:atmosphere-runtime");
        deployment.archive().addClass(PushBean.class);

        deployment.archive().addAsWebResource(p, "index.xhtml");
View Full Code Here

Examples of org.richfaces.deployment.CoreDeployment.addMavenDependency()

    public static WebArchive deployment() {
        CoreDeployment deployment = new CoreDeployment(ITPartialResponseEnding.class);
        deployment.withA4jComponents();
       
        addIndexPage(deployment);
        deployment.addMavenDependency("org.omnifaces:omnifaces:1.3");

        return deployment.getFinalArchive().addClass(SimpleBean.class);
    }
   
    @Test
View Full Code Here

Examples of org.richfaces.integration.RichDeployment.addMavenDependency()

    @Deployment(testable = false)
    public static WebArchive createDeployment() {
        RichDeployment deployment = new RichDeployment(ITStatelessViews.class);

        deployment.addMavenDependency("org.richfaces:richfaces-a4j:4.5.1-SNAPSHOT");

        addIndexPage(deployment);

        return deployment.getFinalArchive();
    }
View Full Code Here

Examples of org.springframework.ide.eclipse.boot.core.ISpringBootProject.addMavenDependency()

        Collection<MavenCoordinates> sources;
        sources = getProviders();
        MavenCoordinates source = chooseSource(sources);
        if (source!=null) {
          bootProject.addMavenDependency(source, preferManagedVersion);
        }
      } catch (Exception e) {
        BootActivator.log(e);
      }
    }
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.