-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
82 lines (55 loc) · 1.69 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
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