Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

121 lines (71 sloc) 2.813 kB

Release test process

Following are the precondition for release aerogear.

as-archetypes

  1. git clone https://github.com/aerogear/as-archetypes.git

  2. cd as-archetypes/jboss-html5-mobile-archetype && mvn clean install

  3.  mvn archetype:generate \                                                     
    -DarchetypeArtifactId=jboss-html5-mobile-archetype \
    -DarchetypeGroupId=org.jboss.aerogear.archetypes \
    -DarchetypeVersion=1.0.0.xx 
    

Note: Where xx is the release suffix

as-quickstarts

  1. git clone https://github.com/aerogear/as-quickstarts.git

On JBoss AS7

Requirement: Start JBoss

set JBOSS_HOME=/path/to/jboss-as-7.1.1.Final/
$JBOSS_HOME/bin/standalone.sh

A - Maven

  1. mvn clean package
  2. mvn jboss-as:deploy
  3. Access your desktop browser at http://localhost:8080/ (chrome, IE, safari, opera….) or deploy to OpenShift
  4. Access your mobile browser at http://localhost:8080/ (Android, iOS, blackberry…) or deploy to OpenShift
  5. Access your browser at /src/test/qunit/index.html

B - Running arquillian tests

  1. Start JBoss
  2. mvn test -Parq-jbossas-remote
  3. mvn clean package jboss-as:deploy -Pminify
  4. Stop JBoss
  5. mvn test -Parq-jbossas-managed

C - Eclipse

  1. Import the generated project to eclipse
  2. Start JBoss
  3. Run MemberRegistrationTest
  4. Deploy the project with eclipse
  5. Access your browser at http://localhost:8080/
  6. Access your browser at /src/test/qunit/index.html

D - JBoss Tools

  1. Add to your settings.xml the stage repository
  2. Open JBoss Tools
  3. Create a new HTML5 Project
  4. Repeat A,B, C steps.

E - New Maven Project from JBoss Tools

  1. Add to your settings.xml the stage repository
  2. Open JBoss Tools
  3. Create a new Maven Project
  4. Look for jboss-html5-mobile-archetype
  5. Repeat A,B, C steps.

On JBoss EAP

Requirement: Start JBoss EAP

  1. Download JBoss EAP (JBEAP-6.0.0-ER6.1)

  2. Start JBoss

    set JBOSS_HOME=/path/to/jboss-eap-6.0.0.ER6.1/ $JBOSS_HOME/bin/standalone.sh

Maven

  1.  mvn archetype:generate \
    -DarchetypeArtifactId=jboss-html5-mobile-archetype \
    -DarchetypeGroupId=org.jboss.aerogear.archetypes \
    -DarchetypeVersion=1.0.0.xx \
    -Denterprise=true
    
  2. Repeat A,B and C steps.

Note: Where xx is the release suffix

JBoss Tools

  1. Repeat the step D
  2. Start JBoss EAP
  3. Repeat A, B, C steps

New Maven Project from JBoss Tools

  1. Repeat the step E
  2. Start JBoss EAP
  3. Repeat A, B, C steps

At last but not least

Don't forget to test jbossas/quickstart and hosted-kitchensink

  1. Repeat A, B, C steps
Jump to Line
Something went wrong with that request. Please try again.