Skip to content

flashboss/Magazzino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

to commit the updates:

mvn clean 

git add src
git add pom.xml
git add README

git commit src -m "comment!"
git commit pom.xml -m "comment!"
git commit README -m "comment!"

git push

to create a tag:

git tag -a vx.x.x -m "version x.x.x"
git push origin vx.x.x

to delete a tag:

git tag -d vx.x.x

to install it in jboss 6.x:

export JBOSS_HOME=.....
mvn install -Pjbossas-remote-6

to install it in jboss 7.x:

export JBOSS_HOME=.....
mvn install -Pjbossas-remote-7

to undeploy it in jboss 6.x:

export JBOSS_HOME=.....
mvn clean -Pjbossas-remote-6

to undeploy it in jboss 7.x:

export JBOSS_HOME=.....
mvn clean -Pjbossas-remote-7

to test all it in jboss 6.x:

export JBOSS_HOME=.....
mvn clean
mvn -Pjbossas-remote-6 install

to test all it in jboss 7.x:

export JBOSS_HOME=.....
mvn clean
mvn -Pjbossas-embedded-7 install

to test it with a single test in jboss:

export JBOSS_HOME=.....
mvn -Pjbossas-remote-6 test -Dtest=AddressAgentTest
or 
mvn -Pjbossas-embedded-7 test -Dtest=AddressAgentTest

to test it with selenium:

download selenium-server from http://selenium.googlecode.com/files/selenium-server-standalone-2.25.0.jar
deploy the application in a server
start the server with 8080 port
java -jar selenium-server-standalone-2.25.0.jar
on jboss 6.x:
deploy the application with the command: mvn jboss:hard-deploy assuming the JBOSS_HOME system variable is correct
on jboss 7.x:
deploy the application with the command: mvn jboss-as:deploy assuming the JBOSS_HOME system variable is correct
mvn -Pftest test

to test it with a single test in jboss:
mvn -Pftest test -Dtest=MagazzinoTest

to deploy it with the shell command in jboss 7.x:

$JBOSS_HOME/bin/jboss-cli.sh
connect localhost
deploy /xxxx/magazzino.war