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

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

Fixed installation problems. Changed default installation path.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 7.5 KB
Line 
1$Id: INSTALL 189 2006-10-27 08:53:18Z 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
33There are two supported ways to install the RMAExpress plug-in, you
34either download a pre-compiled package or you checkout the latest
35source from the subversion repository. The below instructions covers
36both installation options since major parts of the installation is the
37same for the different cases. There is also a source package available
38for download but installation from that package is currently not
39supported, it is supplied for reference only.
40
41Note, the underlying RMAExpress algorithm itself is not a part of this
42package. This packages contains the plug-in code needed for hooking up
43RMAExpress to BASE as a plug-in. RMAExpress must be installed for this
44plug-in to work, see more in item 1.ii) below.
45
46Users who prefer the install from pre-compiled packages must go
47through all items below except 1.iii) and 2.iv).
48
49Users who prefer the live on bleeding edge software and compiles the
50source from the subversion repository must go through all items except
513.v).
52
53If you are upgrading a previously installed RMAExpress plug-in for
54BASE you can safely skip to item 7) below.
55
56
571. Pre-requisites
58
59i) Pre-requisite for both all install options:
60This plug-in will only work with BASE 2.0 (revision 2512) or later,
61i.e. BASE 1.2.x is not (and will never be) supported.
62
63ii) Pre-requisite for both binary package and subversion tree
64installs: Installation of RMAExpressConsole.
65
66RMAExpressConsole available in the RMAExpress package written by Ben
67Bolstad, and the official RMAExpress web site is
68http://rmaexpress.bmbolstad.com/
69
70You must download and compile RMAExpressConsole. This requires that
71wxWidgets (a.k.a. wxWindows) is installed on your system. wxWidgets is
72found at http://www.wxwidgets.org. The compilation of
73RMAExpressConsole is not completely trivial, but after some tweaking
74it has been successfully compiled on Mac OS X (v10.4.7) running on a
75G4, and SuSE Linux (v10).
76
77You should install the RMAExpressConsole binary such that it is
78readable for the user running your BASE application server. The name
79of the binary MUST be 'RMAExpressConsole' and copied into the same
80directory as the plug-in (see item 3.v below). These two conditions
81are hard coded in the plug-in.
82
83Install of the plug-in will succeed even if this requisite is not
84fulfilled, but execution of the plug-in will fail.
85
86iii) Pre-requisite for subversion tree compilation:
87Compile time access to BASE core jar file.
88
89The BASE2Core.jar (must be later than subversion revision 2512) file
90in use by the server running the BASE web application.
91
92
932. Compilation and installation from a subversion tree
94
95You should skip this section if you downloaded a pre-compiled package.
96
97iv) When installing from a subversion working copy you must compile
98the plug-in, do
99
100  make
101
102This assumes that BASE is installed in /usr/local/base. If this is not
103the case do
104
105  make BASEROOT=<base-dir>
106
107where <base-dir> is to be replaced with the path to BASE. When the
108compilation finishes you install the plug-in into the BASE application
109server file system with
110
111  make install    or    make BASEROOT=<base-dir> install
112
113The plug-in will install in the recommended directory
114<base-dir>/www/plugins/se/lu/thep/affymetrix, i.e. if you prefer
115another location please refer to the Makefile (which supports further
116options).
117
118For advanced users only: <base-dir> can really be any directory
119readable for the user running your tomcat server. This may be handy if
120you run several servers on one machine but only want one common
121directory hierarchy for the plug-ins. Or, if you update the BASE
122application frequently and in the process create new directories for
123the newer application. More information about this is available in the
124Makefile.
125
126Remember the plug-in location for configuration of BASE below.
127
128
1293. Installation from a pre-compiled package
130
131You should skip this section if you use the subversion repository.
132
133v) Install the plug-in in the BASE application server file system. If
134BASE is installed in /usr/local/base simply do
135
136  make install-precompiled
137
138If BASE is installed elsewhere, do
139
140  make BASEROOT=<base-dir> install-precompiled
141
142where <base-dir> is to be replaced by the path to BASE. The plug-in
143will install in the recommended directory
144<base-dir>/www/plugins/se/lu/thep/affymetrix, i.e. if you prefer
145another location please refer to the Makefile (which supports further
146options).
147
148For advanced users only: <base-dir> can really be any directory
149readable for the user running your tomcat server. This may be handy if
150you run several servers on one machine but only want one common
151directory hierarchy for the plug-ins. Or, if you update the BASE
152application frequently and in the process create new directories for
153the newer application. More information about this is available in the
154Makefile.
155
156Remember the plug-in location for configuration of BASE below.
157
158
1594. BASE configuration
160
161vi) Make BASE aware of the new plug-in:
162
163 - Login to BASE with plug-in administrative privileges.
164
165 - Choose 'Administrate' -> 'Plugins' -> 'Definitions'.
166
167 - Click on 'New...'. This will open up the 'Create plugin' pop-up
168   window. Type "se.lu.thep.affymetrix.RMAExpress" in the 'Class'
169   field and
170   "<base-dir>/www/plugins/se/lu/thep/affymetrix/RMAExpress.jar" in
171   the 'Path' field. Replace <base-dir> with whatever you used in item
172   3.v) above. Click on the 'Save' button.
173
174 - Share the plug-in to all users/roles/groups that should have
175   access to it (sharing it to group Everyone should be sufficient in
176   most cases).
177
178
1795. Remember to install RMAExpressConsole according to the conditions
180   stated in item 1.ii) above.
181
182
1836. That's it, now you need to BASE skills to actually make use of the
184   RMAExpress plug-in. Read the README file for some pointers on what
185   to do now.
186
187
1887. Updating RMAExpressConsole or RMAExpress plug-in for BASE.
189
190   a) RMAExpressConsole
191
192   Installing a new RMAExpressConsole binary is trivial, just replace
193   the old binary with the new binary.
194
195   b) RMAExpress plug-in for BASE.
196
197   This is straighforward:
198
199   - Replace the old jar-file and
200
201   - Login to BASE with plug-in administrative privileges.
202
203   - Choose 'Administrate' -> 'Plugins' -> 'Definitions'.
204
205   - Locate the RMAExpress plug-in in the list and click on it.
206
207   - Click on the 'Unload' button if it is available. This will
208     remove the old plug-in from the application.
209
210   - Click on 'Edit...'. This will open up the 'Edit plugin'
211     pop-up window. No parameter changes are need, just click on
212     the 'Save' button.
213
214   - Done.
Note: See TracBrowser for help on using the repository browser.