source: trunk/se/lu/thep/affymetrix/INSTALL @ 228

Last change on this file since 228 was 228, checked in by Jari Häkkinen, 16 years ago

Fixes #44.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 7.8 KB
Line 
1$Id: INSTALL 228 2007-01-18 16:08:28Z jari $
2
3======================================================================
4Copyright (C) 2006 Jari Häkkinen
5
6This file is part of RMAExpress plug-in for BASE,
7http://baseplugins.thep.lu.se/wiki/thep.lu.se.RMAExpress
8
9RMAExpress plug-in for BASE is free software; you can redistribute it
10and/or modify it under the terms of the GNU General Public License as
11published by the Free Software Foundation; either version 2 of the
12License, or (at your option) any later version.
13
14RMAExpress plug-in for BASE is distributed in the hope that it will be
15useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
16MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17General Public License for more details.
18
19You should have received a copy of the GNU General Public License
20along with this program; if not, write to the Free Software
21Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
22USA.
23======================================================================
24
25
26If you think these instructions are worthless or stupid or maybe both,
27please tell me and I'll try to improve them. Even better, tell me how
28to improve them. My email address is jari@thep.lu.se
29
30
310. Introduction
32
33Short intro:
34
35The route for successful first time installation of this plug-in is
36a) Install the plug-in.
37b) Install wxWidgets.
38c) Install RMAExpressConsole.
39d) Make BASE aware of the new plug-in.
40
41Upgrading the plug-in is even easier, see item 7) below.
42
43Longer intro:
44
45There are two supported ways to install the RMAExpress plug-in, you
46either download a pre-compiled package or you checkout the latest
47source from the subversion repository. The below instructions covers
48both installation options since major parts of the installation is the
49same for the different cases. There is also a source package available
50for download but installation from that package is currently not
51supported, it is supplied for reference only.
52
53Note, the underlying RMAExpress algorithm itself is not a part of this
54package. This packages contains the plug-in code needed for hooking up
55RMAExpress to BASE as a plug-in. RMAExpress must be installed for this
56plug-in to work, see more in item 1.ii) below.
57
58Users who prefer the install from pre-compiled packages must go
59through all items below except 1.iii) and 2.iv).
60
61Users who prefer the live on bleeding edge software and compiles the
62source from the subversion repository must go through all items except
633.v).
64
65If you are upgrading a previously installed RMAExpress plug-in for
66BASE you can safely skip to item 7) below.
67
68
691. Pre-requisites
70
71i) Pre-requisite for both all install options:
72This plug-in will only work with BASE 2.0 or later, i.e. BASE 1.2.x is
73not (and will never be) supported.
74
75ii) Pre-requisite for both binary package and subversion tree
76installs: Installation of RMAExpressConsole.
77
78RMAExpressConsole available in the RMAExpress package written by Ben
79Bolstad, and the official RMAExpress web site is
80http://rmaexpress.bmbolstad.com/
81
82You must download and compile RMAExpressConsole. This requires that
83wxWidgets (a.k.a. wxWindows) is installed on your system. wxWidgets is
84found at http://www.wxwidgets.org. The compilation of
85RMAExpressConsole is straightforward (at least on OpenSuSE 10.2 and
86MacOSX 10.4.8). Download v0.5alpha7, unpack and issue 'make'. This
87will compile RMAExpressConsole and som other binaries which are of no
88interest here.
89
90You should install the RMAExpressConsole binary such that it is
91readable for the user running your BASE application server. The name
92of the binary MUST be 'RMAExpressConsole' and copied into the same
93directory as the plug-in (see item 3.v below). These two conditions
94are hard coded in the plug-in.
95
96Install of the BASE plug-in will succeed even if this requisite is not
97fulfilled, but execution of the plug-in within BASE will fail.
98
99iii) Pre-requisite for subversion tree compilation:
100Compile time access to BASE core jar file.
101
102The BASE2Core.jar (from BASE 2.0 and later) file in use by the server
103running the BASE web application.
104
105
1062. Compilation and installation from a subversion tree
107
108You should skip this section if you downloaded a pre-compiled package.
109
110iv) When installing from a subversion working copy you must compile
111the plug-in, do
112
113  make
114
115This assumes that BASE is installed in /usr/local/base. If this is not
116the case do
117
118  make BASEROOT=<base-dir>
119
120where <base-dir> is to be replaced with the path to BASE. When the
121compilation finishes you install the plug-in into the BASE application
122server file system with
123
124  make install    or    make BASEROOT=<base-dir> install
125
126The plug-in will install in the recommended directory
127<base-dir>/www/plugins/se/lu/thep/affymetrix, i.e. if you prefer
128another location please refer to the Makefile (which supports further
129options).
130
131For advanced users only: <base-dir> can really be any directory
132readable for the user running your tomcat server. This may be handy if
133you run several servers on one machine but only want one common
134directory hierarchy for the plug-ins. Or, if you update the BASE
135application frequently and in the process create new directories for
136the newer application. More information about this is available in the
137Makefile.
138
139Remember the plug-in location for configuration of BASE below.
140
141
1423. Installation from a pre-compiled package
143
144You should skip this section if you use the subversion repository.
145
146v) Install the plug-in in the BASE application server file system. If
147BASE is installed in /usr/local/base simply do
148
149  make install-precompiled
150
151If BASE is installed elsewhere, do
152
153  make BASEROOT=<base-dir> install-precompiled
154
155where <base-dir> is to be replaced by the path to BASE. The plug-in
156will install in the recommended directory
157<base-dir>/www/plugins/se/lu/thep/affymetrix, i.e. if you prefer
158another location please refer to the Makefile (which supports further
159options).
160
161For advanced users only: <base-dir> can really be any directory
162readable for the user running your tomcat server. This may be handy if
163you run several servers on one machine but only want one common
164directory hierarchy for the plug-ins. Or, if you update the BASE
165application frequently and in the process create new directories for
166the newer application. More information about this is available in the
167Makefile.
168
169Remember the plug-in location for configuration of BASE below.
170
171
1724. BASE configuration
173
174vi) Make BASE aware of the new plug-in:
175
176 - Login to BASE with plug-in administrative privileges.
177
178 - Choose 'Administrate' -> 'Plugins' -> 'Definitions'.
179
180 - Click on 'New...'. This will open up the 'Create plugin' pop-up
181   window. Type "se.lu.thep.affymetrix.RMAExpress" in the 'Class'
182   field and
183   "<base-dir>/www/plugins/se/lu/thep/affymetrix/RMAExpress.jar" in
184   the 'Path' field. Replace <base-dir> with whatever you used in item
185   3.v) above. Click on the 'Save' button.
186
187 - Share the plug-in to all users/roles/groups that should have
188   access to it (sharing it to group Everyone should be sufficient in
189   most cases).
190
191
1925. Remember to install RMAExpressConsole according to the conditions
193   stated in item 1.ii) above.
194
195
1966. That's it, now you need to BASE skills to actually make use of the
197   RMAExpress plug-in. Read the README file for some pointers on what
198   to do now.
199
200
2017. Updating RMAExpressConsole or RMAExpress plug-in for BASE.
202
203   a) RMAExpressConsole
204
205   Installing a new RMAExpressConsole binary is trivial, just replace
206   the old binary with the new binary.
207
208   b) RMAExpress plug-in for BASE.
209
210   This is straighforward:
211
212   - Replace the old jar-file and
213
214   - Login to BASE with plug-in administrative privileges.
215
216   - Choose 'Administrate' -> 'Plugins' -> 'Definitions'.
217
218   - Locate the RMAExpress plug-in in the list and click on it.
219
220   - Click on the 'Unload' button if it is available. This will
221     remove the old plug-in from the application.
222
223   - Click on 'Edit...'. This will open up the 'Edit plugin'
224     pop-up window. No parameter changes are need, just click on
225     the 'Save' button.
226
227   - Done.
Note: See TracBrowser for help on using the repository browser.