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

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

Fixes #15. Added updating information.

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