- Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdevsetupinstructions.html
212 lines (161 loc) · 7.85 KB
/
devsetupinstructions.html
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
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
<html>
<head>
<metahttp-equiv=Content-Typecontent="text/html; charset=windows-1252">
<metaname=Generatorcontent="Microsoft Word 11 (filtered)">
<title>Instructions for setting up a BlogBridge</title>
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Verdana;
panose-1:21164354424;}
/* Style Definitions */
p.MsoNormal,li.MsoNormal,div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:Verdana;}
h1
{margin-top:12.0pt;
margin-right:0in;
margin-bottom:3.0pt;
margin-left:0in;
page-break-after:avoid;
font-size:16.0pt;
font-family:Arial;}
a:link,span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited,span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
@page Section1
{size:8.5in11.0in;
margin:1.0in1.25in1.0in1.25in;}
div.Section1
{page:Section1;}
/* List Definitions */
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
-->
</style>
</head>
<bodylang=EN-USlink=bluevlink=purple>
<divclass=Section1>
<pclass=MsoNormalalign=centerstyle='text-align:center'><b>Instructions for
setting up a BlogBridge<br>
development environment under Windows</b></p>
<pclass=MsoNormal><u>Document History</u></p>
<pclass=MsoNormal>9/13/04�������� Original, David Coletta, <a
href="mailto:david@colettas.org" title="mailto:david@colettas.org">david@colettas.org</a></p>
<pclass=MsoNormal>8/5/05��������� Misc updates, Paul Kleppner, <a
href="mailto:david@colettas.org" title="mailto:david@colettas.org">pkleppner@gmail.com</a></p>
<pclass=MsoNormal> </p>
<h1>Download and Install Eclipse</h1>
<olstart=1type=1>
<liclass=MsoNormal>Visit <ahref="http://www.eclipse.org/downloads/index.php"
title="http://www.eclipse.org/downloads/index.php">http://www.eclipse.org/downloads/index.php</a>
and pick one of the download locations to obtain the Eclipse
3.1 SDK. </li>
<liclass=MsoNormal>Unzip the zip file into a directory. </li>
<liclass=MsoNormal>To launch Eclipse, just run eclipse.exe in the top level
directory. </li>
</ol>
<h1>Download and Install Java2 SDK</h1>
<olstart=1type=1>
<liclass=MsoNormal>Visit <a
href="http://java.sun.com/j2se/1.4.2/download.html"
title="http://java.sun.com/j2se/1.4.2/download.html">http://java.sun.com/j2se/1.4.2/download.html</a>
and click on the link to download the J2SE SDK. </li>
<liclass=MsoNormal>Download and install the J2SE. (Current version as
of Sept 2004: 1.4.2_05) </li>
</ol>
<pclass=MsoNormal><em><spanstyle='font-size:9.0pt;font-family:Verdana'>Note:
it's not clear to me which Java2 SDK version to recommend. It's probably
best to avoid the 1.5 version, because we don't want to depend on users having
that installed. But it might be better to use an earlier version of 1.4 in
order to avoid depending on bug fixes from later 1.4 versions that users may
not have installed. </span></em></p>
<h1>Download and Install the BlogBridge Tree</h1>
<olstyle='margin-top:0in' start=1type=1>
<liclass=MsoNormal>In Eclipse, switch to the CVS Repository
perspective. (Windows <spanstyle='font-family:Arial'>→</span>
Open Perspective; choose CVS Repository Exploring)</li>
<liclass=MsoNormal>Right-click in blank CVS Repositories pane, and click New<span
style='font-family:Arial'>→</span>Repository Location</li>
<liclass=MsoNormal>For configuration, enter:</li>
</ol>
<pclass=MsoNormalstyle='margin-left:.5in'> <b>hostname</b>: �������� <span
style='font-family:"Courier New"'>cvs.sourceforge.net</span></p>
<pclass=MsoNormalstyle='margin-left:.5in'> <b>repository</b><b>path</b>:
<spanstyle='font-family:"Courier New"'>/cvsroot/blogbridge</span></p>
<pclass=MsoNormalstyle='margin-left:.5in'> <b>user</b>: ���������������� <span
style='font-family:"Courier New"'>anonymous</span></p>
<pclass=MsoNormalstyle='margin-left:.5in'> <b>password</b>: ��������� <<em><span
style='font-family:Verdana'>leave blank</span></em>></p>
<pclass=MsoNormalstyle='margin-left:.5in'> <b>connection</b><b>type</b>:
<spanstyle='font-family:"Courier New"'>pserver</span></p>
<pclass=MsoNormalstyle='margin-left:.5in'> use default port���������� </p>
<olstyle='margin-top:0in' start=4type=1>
<liclass=MsoNormal>Navigate to HEAD/BlogBridge</li>
<liclass=MsoNormal>Right-click blogbridge and choose "Check Out"</li>
</ol>
<pclass=MsoNormal> </p>
<h1><em><spanstyle='font-family:Arial;font-style:normal'>Configure Eclipse</span></em></h1>
<olstyle='margin-top:0in' start=1type=1>
<liclass=MsoNormal>Under Windows<spanstyle='font-family:Arial'>→</span>Preferences,
go to the element "Java/Installed JRE's" and make sure that the
1.4.x JRE is checked as default. If not there, add it: click Add,
navigate to the JRE directory (e.g. c:\program files\Java\j2re1.xxxx; give
JRE a name).</li>
</ol>
<pclass=MsoNormal> </p>
<pclass=MsoNormalstyle='margin-left:.5in'><em><spanstyle='font-size:9.0pt;
font-family:Verdana'>Note: I later switched to an SourceForge account for which
I was given BlogBridge source read/write privileges. At that time I needed to
switch the protocol to to </span></em><strong><spanstyle='font-size:9.0pt;
font-family:Verdana'>extssh</span></strong><spanstyle='font-size:9.0pt'>, <em><span
style='font-family:Verdana'>and of course change the user name and
password. - Paul.</span></em></span></p>
<pclass=MsoNormal> </p>
<olstyle='margin-top:0in' start=2type=1>
<liclass=MsoNormal>Install the BlogBridge standard Java format. You'll
need "bbstyle.xml", which is available from Pito. (<em><span
style='font-family:Verdana'>Checked into CVS somewhere yet?). </span></em>To
install: go to Windows<spanstyle='font-family:Arial'>→</span>Preferences,
select Java/Code Style/Formatter, and import bbstyle.xml.</li>
</ol>
<pclass=MsoNormal> </p>
<h1>Build BlogBridge </h1>
<pclass=MsoNormal>Click Project<spanstyle='font-family:Arial'>→</span>Clean...
to force a build.</p>
<pclass=MsoNormal> </p>
<pclass=MsoNormal><em><spanstyle='font-size:9.0pt;font-family:Verdana'>Note:
I've had various problems in getting the initial build going. Another way
to run a build is to right-click on build.xml in the top level of the package
explorer tree, and choose Run As</span></em><em><spanstyle='font-size:9.0pt;
font-family:Arial'>→</span></em><em><spanstyle='font-size:9.0pt;
font-family:Verdana'>Ant Build . You should see �BUILD SUCCESSFUL� in the
Console window. - Paul.</span></em></p>
<h1>Debug BlogBridge</h1>
<pclass=MsoNormal>1. Choose Run<spanstyle='font-family:Arial'>→</span>Debug...
menu </p>
<pclass=MsoNormal>2. In the �Create, manage and run configurations� window:</p>
<pclass=MsoNormal> - click �New�</p>
<pclass=MsoNormal> - set: Name= BlogBridge</p>
<pclass=MsoNormal>
Project=blogbridge</p>
<pclass=MsoNormal>
Main class = com.salas.bb.core.ApplicationLauncher</p>
<pclass=MsoNormal>3. Click Debug button</p>
<pclass=MsoNormal> </p>
<pclass=MsoNormal>You should see the BlogBridge splash screen and first dialog.</p>
<pclass=MsoNormal> </p>
<pclass=MsoNormal>For future debugging, click the F11 key or choose the Debug
icon in the Eclipse toolbar.</p>
<pclass=MsoNormal> </p>
</div>
</body>
</html>