[richfaces-planning-issues] [JBoss JIRA] (RFPL-4035) Test RichFaces with JBDS 8.1.0

Jiří Štefek (JIRA) issues at jboss.org
Wed Oct 7 04:25:00 EDT 2015


     [ https://issues.jboss.org/browse/RFPL-4035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jiří Štefek reassigned RFPL-4035:
---------------------------------

    Assignee: Pavol Pitonak  (was: Jiří Štefek)


> Test RichFaces with JBDS 8.1.0
> ------------------------------
>
>                 Key: RFPL-4035
>                 URL: https://issues.jboss.org/browse/RFPL-4035
>             Project: RichFaces Planning
>          Issue Type: Sub-task
>          Components: QE
>            Reporter: Pavol Pitonak
>            Assignee: Pavol Pitonak
>             Fix For:  4.5.10
>
>
> *In case of any changes and/or inaccuracy be sure to update this description.*
> Use latest stable JBDS, e.g. for this release *8.1.0* downloaded from this site https://www.jboss.org/products/devstudio/download/
> # create a new Maven project and deploy it to WildFly 8.2 and Tomcat 8
> #* File -> New -> Other
> #* Select {{Maven Project}}
> #* Once prompted to choose archetype, add new repository to Catalog
> #** As address you are going to need the staging repo URL
> #* Choose simple-app from the newly added repo (e.g. with correct RF version)
> #* Test with Tomcat (change RichBean from {{ViewScoped}} to {{SessionScoped}} -- JAVASERVERFACES-3400)
> #* Test with Wildfly
> #** Need to activate {{jee6}} profile
> # create a new Ant project and deploy it to WildFly 8.2 and Tomcat 8
> #* File -> New -> Other
> #* Select {{JSF Project}}
> #** use JSF environment: {{JSF 2.2}}
> #** use Project template: {{JSF Kickstars without libs}}
> #* Finish the wizard, you can install Wildfly and Tomcat servers at this point
> #* Get RF Distribution (from staged repo in ZIP format) and add JAR files (with RF and mandatory libs) to this new project
> #* Download javax.faces JAR (or myfaces) => this is *only* needed for Tomcat so add only if you wish to deploy app there
> #* As a template you can use RF simple-app archetype and copy following things to ant project, if possible preserve the structure:
> #** RichBean.java
> #** index.xhtml
> #** templates (whole folder)
> #* Add following to the web.xml (it only maps index page to localhost:8080/app_name)
> #** {code}<welcome-file-list>
>     <welcome-file>faces/index.xhtml</welcome-file>
>   </welcome-file-list>{code}
> #* At this point, app should be buildable and deployable and accessible at {{localhost:8080/app_name}}
> #* Test on Wildfly
> #* Add JSF implementation JAR to libraries, rebuild and test on Tomcat
> #** Based on JSF impl chosen you might come across following bug: https://java.net/jira/browse/JAVASERVERFACES-3400
> #** Workaround is to change RichBean from {{ViewScoped}} to {{SessionScoped}}
> # Try to import existing Maven project
> #* Make use of Showcase in RF distribution ZIP and import that
> #* To deploy with Tomcat no additional settings is needed
> #* To deploy with Wildfly tou need to activate {{jbas71}} profile
> # After RichFaces are in maven central repository (RFPL-2204), create new project from JBoss Central
> #*  Download {{project-examples-shared-VERSION.xml}} with the biggest version number from http://download.jboss.org/jbosstools/examples/
> #* Alter the project-examples-shared-VERSION.xml in this way
> #** comment lines <stacksId>richfaces-archetype-kitchensink</stacksId> and <stacksType>richfaces-kitchensink</stacksType>
> #** un-comment lines which contain comment: unnecessary when a stacksId is used (only for richfaces part).
> #** change the version of the richfaces-archetype-kitchensink to the released one, e.g. for this release 4.5.9.Final and save it
> #* In JBDS, Window --> Preferences --> Project Examples --> add new site, which points to the edited {{.xml}} file.
> #* Shut down JBDS
> #** in your local ~/.m2/settings.xml turn off all JBoss repositories (or in other global settings). So any project will be built only from Maven central repositories.
> #** Remove all richfaces artifacts from your local repository, so they will be downloaded when necessary.
> #* Start JBDS.
> #* In JBoss Central (the start page), click on the Project Examples Wizard, located next to Start from sample header
> #* Check show experimental sites
> #* From select box choose your site.
> #* Create RichFaces project.
> #* It should download artifacts only from Maven Central, and it should be deployable. Test it only on Wildfly.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the richfaces-planning-issues mailing list