blob: dff64adddbd17e22ce6974383553c951031ee48a (
plain)
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- Generated by Apache Maven Doxia at Mar 23, 2011 -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>DHBW Calendar -
Installation Guide</title>
<style type="text/css" media="all">
@import url("./css/maven-base.css");
@import url("./css/maven-theme.css");
@import url("./css/site.css");
</style>
<link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
<meta name="author" content="Yves Fischer" />
<meta name="Date-Revision-yyyymmdd" content="20110323" />
<meta http-equiv="Content-Language" content="en" />
</head>
<body class="composite">
<div id="banner">
<div id="bannerLeft">
DHBW Calendar
</div>
<div class="clear">
<hr/>
</div>
</div>
<div id="breadcrumbs">
<div class="xleft">
<span id="publishDate">Last Published: 2011-03-23</span>
| <span id="projectVersion">Version: 1.0-SNAPSHOT</span>
</div>
<div class="xright">
</div>
<div class="clear">
<hr/>
</div>
</div>
<div id="leftColumn">
<div id="navcolumn">
<h5>Allgemein</h5>
<ul>
<li class="none">
<a href="index.html" title="Start">Start</a>
</li>
<li class="none">
<a href="dokumentation.html" title="Dokumentation">Dokumentation</a>
</li>
<li class="none">
<a href="license.html" title="Lizenzierung">Lizenzierung</a>
</li>
</ul>
<h5>User Guide</h5>
<ul>
<li class="none">
<a href="user-allgemein.html" title="Allgemein">Allgemein</a>
</li>
<li class="none">
<a href="user-google.html" title="Google Kalender">Google Kalender</a>
</li>
<li class="none">
<a href="user-lightning.html" title="Mozilla Lightning">Mozilla Lightning</a>
</li>
<li class="none">
<a href="user-outlook.html" title="Microsoft Outlook">Microsoft Outlook</a>
</li>
</ul>
<h5>Entwickler</h5>
<ul>
<li class="none">
<strong>Install</strong>
</li>
<li class="none">
<a href="project-reports.html" title="Reports/API">Reports/API</a>
</li>
<li class="none">
<a href="devel-hacking.html" title="Hacking">Hacking</a>
</li>
<li class="none">
<a href="dependencies.html" title="Dependencies">Dependencies</a>
</li>
<li class="none">
<a href="source-repository.html" title="Source Repository">Source Repository</a>
</li>
</ul>
<a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
<img class="poweredBy" alt="Built by Maven" src="./images/logos/maven-feather.png" />
</a>
</div>
</div>
<div id="bodyColumn">
<div id="contentBox">
<div class="section"><h2>Installation Guide<a name="Installation_Guide"></a></h2>
<div class="section"><h3>Mit Embedded Servlet Container<a name="Mit_Embedded_Servlet_Container"></a></h3>
<div class="source"><pre>mvn jetty:run</pre></div>
<p>Standardmäßig lauscht jetty nun auf Port 8080</p>
</div>
<div class="section"><h3>Mit .war File<a name="Mit_.war_File"></a></h3>
<p>
Ein Web-Archive (.war) kann mit dem Maven Kommando
<tt>mvn package</tt>
erzeugt werden.
</p>
</div>
</div>
<div class="section"><h2>Installation unter SLES 11.1<a name="Installation_unter_SLES_11.1"></a></h2>
<p>
Es muss ein halbwegs aktuelles Java-JDK installiert sein, dieses
kann von
<a class="externalLink" href="http://java.sun.com">java.sun.com</a>
für Linux/i386 heruntergeladen werden.
</p>
<p>
Für die Ausführung von dhbwcalender wird ein neuer Benutzer
mit Namen
<tt>dhbwcalendar</tt>
angelegt.
</p>
<p>
maven2 wird von
<a class="externalLink" href="http://maven.apache.org">maven.apache.org</a>
installiert in
<tt>/home/dhbwcalendar/share/apache-maven-2.2.1/</tt>
</p>
<p>
Für den Benutzer dhbwcalendar wird in seiner <tt>.profile</tt> Datei die Umgebungsvariablen
<tt>JAVA_HOME</tt>
,
<tt>M2_HOME</tt>
(maven) entsprechend gesetzt
</p>
<p>
git wird mit zypper installiert:
</p><div class="source"><pre># zypper ar \
"http://download.opensuse.org/repositories/devel:/tools:/scm/SLE_11/devel:tools:scm.repo"
# zypper install git
# su -l dhbwcalendar
$ git clone ....</pre></div>
<p>
Da im produktiven Setup jetty nicht von "aussen" erreichbar sein
soll wird jetty konfiguriert nur auf
<i>localhost</i>
zu horchen.
</p><div class="source"><pre>
<connectors>
<connector
implementation="org.mortbay.jetty.nio.SelectChannelConnector">
<port>8080</port>
<host>127.0.0.1</host>
</connector>
</connectors></pre></div>
<p>
Bei vaadin wird der
<i>productionMode</i>
aktiviert
<tt>src/main/webapp/WEB-INF/web.xml:</tt>
</p><div class="source"><pre>
<context-param>
<param-name>productionMode</param-name>
<param-value>true</param-value>
<description>Vaadin production mode</description>
</context-param></pre></div>
<p>
<tt>mvn jetty:run</tt>
startet Jetty über Maven als embedded Servlet Container.
</p>
</div>
</div>
</div>
<div class="clear">
<hr/>
</div>
<div id="footer">
<div class="xright">Copyright © 2011.
All Rights Reserved.
</div>
<div class="clear">
<hr/>
</div>
</div>
</body>
</html>
|