Changeset 4298
- Timestamp:
- May 13, 2008, 11:26:29 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/build.xml
r4286 r4298 188 188 <target 189 189 name="dist" 190 depends="clean,dist.init,core.jar,coreplugins.jar,web.jar, webservices.jar,webservices.wsdl,190 depends="clean,dist.init,core.jar,coreplugins.jar,web.jar,xjspcompiler,webservices.jar,webservices.wsdl, 191 191 installprg.jar,jobagent.jar,migrate.jar,copy.config,copy.jar,doc,doc.dist" 192 192 description="Create everything needed for distribution" -
trunk/doc/3rd-party-components.txt
r4248 r4298 165 165 License : LGPL (lgpl.txt) 166 166 Jar files : jfreechart-1.0.3.jar jcommon-1.0.6.jar 167 168 169 MultiExperiment Viewer170 ----------------------171 MeV is a versatile microarray data analysis tool, incorporating172 sophisticated algorithms for clustering, visualization,173 classification, statistical analysis and biological theme discovery.174 175 More info : http://www.tm4.org/176 Version : Modified version based on official v4.0 release177 License : The Artisic License (http://www.tm4.org/artistic_license.pdf)178 Jar files : <base>/www/plugins/org/tigr/microarray/mev/*.jar179 180 Note: Most of the jar files above are other 3rd-party components used181 by MeV. BASE doesn't use these components directly. For access to the182 modifed source go to http://trac.thep.lu.se/tracs/BASE-hacks183 167 184 168 -
trunk/doc/development/build.html
r3675 r4298 87 87 </p> 88 88 <pre class="code"> 89 svn checkout http:// lev.thep.lu.se/repository/base/trunk/ base89 svn checkout http://base.thep.lu.se/svn/trunk/ base 90 90 </pre> 91 91 … … 243 243 <dt>ant doc</dt> 244 244 <dd> 245 Generate documentation for local use. 246 </dd> 247 248 <dt>ant docbook</dt> 249 <dd> 250 Temporary target for generating the docbook-based user documentation. 251 In the future this will be included in the 'ant doc' target. Note! 252 Docbook will work with pure Java but performance is a lot better if 253 <a href="http://xmlsoft.org/XSLT/">XSLTPROC</a> is installed. The 254 documentation is generated in the directory 'doc/docbook'. 245 Generate documentation for local use. This generates all documentation 246 and may take a long time. 247 </dd> 248 249 <dt>ant doc.javadoc</dt> 250 <dd> 251 Generate Javadoc documentation only. The 252 documentation is generated in the 'doc/api' directory. 253 </dd> 254 255 <dt>ant doc.docbook.html</dt> 256 <dd> 257 Generate user- and administrator documentation from docbook in 258 HTML format. Docbook will work with pure Java but performance is a 259 lot better if <a href="http://xmlsoft.org/XSLT/">XSLTPROC</a> is 260 installed. The documentation is generated in the 'doc/html' directory. 255 261 </dd> 256 262 </dl> -
trunk/doc/src/docbook/admindoc/installation_upgrade.xml
r4232 r4298 51 51 to a pristine (empty) BASE 2 server with one exception; The 52 52 migration can be restarted if it fails during the RawBioAssaysData 53 transfer , for all other failure points the migration has to be53 transfer. For all other failure points the migration has to be 54 54 restarted with an empty database. Migration from several BASE 1 55 55 installations to one BASE 2 server is not supported. … … 58 58 <para> 59 59 The instructions here assume 60 that <ulink url="http://tomcat.apache.org/"> tomcat</ulink> is used60 that <ulink url="http://tomcat.apache.org/">Apache Tomcat 6</ulink> is used 61 61 on the server side. Other servlet engines may work but we only 62 test tomcat.62 test with Tomcat. 63 63 </para> 64 64 … … 73 73 you must also make sure that you are running Tomcat 6 or higher. 74 74 Earlier BASE versions only required Tomcat 5.5. If you are not 75 already running Tomcat 6 you need to upgrade. 75 already running Tomcat 6 you need to upgrade. Other serlvet 76 engines may work if they implement the Servlet 2.5 and JSP 77 2.1 specifications. 76 78 </para> 77 79 </important> … … 127 129 <variablelist> 128 130 <varlistentry> 129 <term>Shut down the tomcat server</term>131 <term>Shut down the Tomcat server</term> 130 132 <listitem> 131 133 <para> … … 223 225 Local settings in the raw data 224 226 tables, <filename><base-dir>/www/WEB-INF/classes/raw-data-types.xml</filename>, 225 may need to be transferred. 227 may need to be transferred. This also includes all files in 228 the <filename><base-dir>/www/WEB-INF/classes/raw-data-types</filename> and 229 <filename><base-dir>/www/WEB-INF/classes/extended-properties</filename> 230 directories. 226 231 </para> 227 232 </listitem> … … 241 246 <programlisting> 242 247 sh ./updatedb.sh [base_root_login] <emphasis>base_root_password</emphasis> 243 sh ./updateindexes.sh <emphasis>base_root_password</emphasis>248 sh ./updateindexes.sh 244 249 </programlisting> 245 250 where <emphasis>base_root_login</emphasis> is the login … … 252 257 253 258 <varlistentry> 254 <term>Remove tomcat cache</term>255 <listitem> 256 <para> 257 As tomcat user, remove cached files and directories. Do259 <term>Remove Tomcat cache</term> 260 <listitem> 261 <para> 262 As Tomcat user, remove cached files and directories. Do 258 263 something like 259 <programlisting>cd /usr/share/apache-tomcat-6.0 .14/264 <programlisting>cd /usr/share/apache-tomcat-6.0/ 260 265 rm -rf work/Catalina</programlisting> 261 266 </para> … … 264 269 265 270 <varlistentry> 266 <term>Start tomcat</term>267 <listitem> 268 <para> 269 Start the tomcat server: <command>sudo271 <term>Start Tomcat</term> 272 <listitem> 273 <para> 274 Start the Tomcat server: <command>sudo 270 275 /etc/init.d/tomcat6.0 start</command> 271 276 </para> … … 642 647 <listitem> 643 648 <para> 644 Download and install Java SDK 1.6, available from 645 <ulink url="http://java.sun.com/" />. Earlier versions 646 may work (eq. 1.5), but are not supported. 649 Download and install Java SDK 1.6 (aka Java 6), available from 650 <ulink url="http://java.sun.com/" />. 647 651 </para> 648 652 </listitem> … … 653 657 <listitem> 654 658 <para> 655 Download and install tomcat 6.0.14 or later, available659 Download and install Apache Tomcat 6.0.14 or later, available 656 660 from <ulink 657 661 url="http://tomcat.apache.org" /> 658 <important> 659 You MUST make sure that Tomcat uses the SERVER mode of 660 the Java run time engine 661 (see <ulink 662 url="http://lev.thep.lu.se/trac/base/ticket/99">ticket:99</ulink>). 663 </important> 664 On Linux you do this by setting the environment variable: 665 <code>CATALINA_OPTS</code> to <code>-server</code>. It is 666 also a good idea to specify the maximum allowed memory to 667 use: <code>-server -Xmx500m</code> sets it to 500 668 megabytes. Basically add the next line close to the top of 662 663 It is a good idea to specify the maximum allowed memory 664 that Tomcat can use. The default setting is usually not 665 large enough. To do this you have to set Java startup options 666 in the <code>CATALINA_OPTS</code> environment variable. 667 668 Basically add the next line close to the top of 669 669 the <filename>catalina.sh</filename> script that comes 670 with tomcat670 with Tomcat 671 671 (directory <filename 672 672 class="directory">bin</filename>): 673 <programlisting>CATALINA_OPTS="- server -Xmx500m"</programlisting>673 <programlisting>CATALINA_OPTS="-Xmx500m"</programlisting> 674 674 </para> 675 675 <para> … … 881 881 An area for file storage must be setup. Create an empty 882 882 directory in a proper location in your file system, and 883 set the owner to be the same as the one that the tomcat883 set the owner to be the same as the one that the Tomcat 884 884 server will be running as. Remember this location for 885 885 later use. … … 964 964 965 965 <varlistentry> 966 <term>BASE and tomcat</term>966 <term>BASE and Tomcat</term> 967 967 <listitem> 968 968 <para> 969 969 Either move the <filename 970 970 class="directory"><base-dir>/www</filename> directory 971 to the tomcat <filename class="directory">webapps</filename>972 directory or create a symbolic link from the tomcat971 to the Tomcat <filename class="directory">webapps</filename> 972 directory or create a symbolic link from the Tomcat 973 973 <filename class="directory">webapps</filename> directory to 974 974 the <filename class="directory"><base-dir>/www</filename> … … 976 976 <programlisting>cd /path/to/tomcat/webapps 977 977 ln -s /path_to_base/www base2</programlisting> 978 Start/restart tomcat, and try http://hostname:8080/base2978 Start/restart Tomcat, and try http://hostname:8080/base2 979 979 (change <emphasis>hostname</emphasis> to your hostname) in 980 your favourite browser. BASE log-in page should appear980 your favourite browser. The BASE log-in page should appear 981 981 after a few seconds. 982 982 </para> … … 985 985 986 986 <varlistentry> 987 <term>BASE, apache, and apache/tomcat connector</term>987 <term>BASE, Apache, and Apache/Tomcat connector</term> 988 988 <listitem> 989 989 <para> … … 991 991 </para> 992 992 <para> 993 If you want run the tomcat server through the apache web994 server, you need to install the apache version 2 web993 If you want run the Tomcat server through the Apache web 994 server, you need to install the Apache version 2 web 995 995 server, available 996 996 from <ulink … … 1007 1007 <itemizedlist> 1008 1008 <listitem> 1009 Get that tomcat server running in stand-alone1009 Get that Tomcat server running in stand-alone 1010 1010 mode. 1011 1011 </listitem> 1012 1012 <listitem> 1013 Get the apache 2 server running.1013 Get the Apache 2 server running. 1014 1014 </listitem> 1015 1015 <listitem> … … 1021 1021 Create a <filename>workers.properties</filename> file 1022 1022 in the 1023 tomcat <filename class="directory">base</filename>1023 Tomcat <filename class="directory">base</filename> 1024 1024 directory (commonly copied from a template). 1025 1025 </listitem> … … 1041 1041 allow from all 1042 1042 </Directory> 1043 # The following lines mounts all base2 jsp files to tomcat1043 # The following lines mounts all base2 jsp files to Tomcat 1044 1044 JkMount /base2 ajp13 1045 1045 JkMount /base2/* ajp13 … … 1051 1051 </listitem> 1052 1052 </itemizedlist> 1053 You must restart the apache and the tomcat server after above steps.1053 You must restart the Apache and the Tomcat server after above steps. 1054 1054 </para> 1055 1055 </listitem> … … 1325 1325 <para> 1326 1326 Migration can be restarted in one specific case only; If the 1327 migration fails during the RawBioAssay sData transfer simply1327 migration fails during the RawBioAssayData transfer simply 1328 1328 restart the migration and the script will ask you to verify that 1329 1329 a restart should be attempted. For all other failure points the … … 1340 1340 behaviour), you must have file system access to BASE 1.2 1341 1341 files, <emphasis>i.e.,</emphasis> the <filename 1342 class="directory">/ 1342 class="directory">/BASE 1.2/data</filename> 1343 1343 directory containing directories 1344 1344 <filename class="directory">rawdata</filename>, … … 1402 1402 Run migration utility: 1403 1403 <programlisting>cd /path_to_base/dist/bin 1404 ./migrate_from_1.2.sh </programlisting>1405 </para> 1406 <para> 1407 If the migration fails during the RawBioAssay sData1404 ./migrate_from_1.2.sh disclaimer_understood</programlisting> 1405 </para> 1406 <para> 1407 If the migration fails during the RawBioAssayData 1408 1408 transfer you can restart the migration at the point of 1409 1409 failure. Simply restart the migration and the script will -
trunk/doc/src/docbook/userdoc/analyse_mev.xml
r4151 r4298 34 34 classification, statistical analysis and biological theme 35 35 discovery, <ulink 36 url= 'http://www.tm4.org'>http://www.tm4.org</ulink>. We use a37 modified version of MeV and provide information about the changes38 a t39 the <ulink url='http://dev.thep.lu.se/basehacks'>BASE-hacks40 web site</ulink>.36 url="http://www.tm4.org">http://www.tm4.org</ulink>. Before BASE 2.7 37 it was shipped with the main BASE distribution, but is now distributed 38 as an extension. Visit the 39 <ulink url="http://baseplugins.thep.lu.se/wiki/net.sf.basedb.mev">BASE plug-ins site</ulink> 40 for more information and download. 41 41 </para> 42 42 </sect1> -
trunk/doc/test/roles/index.html
r4246 r4298 1599 1599 <li> 1600 1600 Use the auto-detect feature to upload and import raw data for each 1601 Genepix raw bioassay. Select the <code>s kip</code> option for the "Feature mismatch"1602 parameter since the file contains rows with bogus reporter ID:s.1601 Genepix raw bioassay. Select the <code>smart</code> option for the "Feature mismatch" 1602 parameter and <code>null</code> for "Invalid numeric value". 1603 1603 1604 1604 <table class="listing" cellspacing="0" cellpadding="2" border="0"> … … 1638 1638 1639 1639 <li> 1640 Create aexperiments:1640 Create experiments: 1641 1641 <table class="listing" cellspacing="0" cellpadding="2" border="0"> 1642 1642 <tr> … … 1750 1750 <tr> 1751 1751 <td>Filtered bioassay set</td> 1752 <td> All intensities > 0</td>1752 <td>-</td> 1753 1753 <td>ch(1) > 0 && ch(2) > 0 && rep('id') != null</td> 1754 1754 </tr> -
trunk/lib/docbook/custom-styles/docbook/plain/css/docbook.css
r3415 r4298 214 214 /* ADMONITIONS ------------------------------------------------------ {{{ */ 215 215 216 div.note, div.important, div.example, div.informalexample, div.tip, div.warning {216 div.note, div.important, div.example, div.informalexample, div.tip, div.warning, div.caution { 217 217 margin: 1em; 218 218 padding: 0.5em; … … 221 221 } 222 222 223 div.important th, div.note th, div.tip th, div.warning th {223 div.important th, div.note th, div.tip th, div.warning th, div.caution th { 224 224 text-align: left; 225 225 border-bottom: solid 1px gray; -
trunk/src/clients/web/net/sf/basedb/clients/web/taglib/tab/TabControl.java
r4093 r4298 418 418 419 419 sb.append("</table>\n"); 420 sb.append("<script language=\"JavaScript\" >\n");420 sb.append("<script language=\"JavaScript\" defer=\"defer\">\n"); 421 421 sb.append("var switchFunction = TabControl.setActiveTab;\n"); 422 422 sb.append("if (typeof ").append(getSwitch()).append(" != 'undefined') switchFunction = ").append(getSwitch()).append(";\n"); -
trunk/src/clients/web/net/sf/basedb/clients/web/taglib/table/Table.java
r4143 r4298 594 594 sb.append(hiddenForm); 595 595 sb.append("</form>"); 596 sb.append("\n<script language=\"JavaScript\" >\n");596 sb.append("\n<script language=\"JavaScript\" defer=\"defer\">\n"); 597 597 sb.append(script); 598 598 sb.append("\n</script>\n"); -
trunk/src/test/net/sf/basedb/test/TestUtil.java
r4249 r4298 24 24 package net.sf.basedb.test; 25 25 26 import java.io.File; 27 import java.io.FileNotFoundException; 26 28 import java.io.FileWriter; 27 29 import java.io.Writer; … … 64 66 Start the testing. Starts BASE and creates a SessionControl. 65 67 */ 66 public static void begin(boolean logMemoryUsage )68 public static void begin(boolean logMemoryUsage, boolean checkTestdata) 67 69 { 68 70 if (Application.isRunning()) return; … … 70 72 try 71 73 { 74 if (checkTestdata) 75 { 76 File testdata = new File("../..", "testdata"); 77 if (!testdata.exists() && !testdata.isDirectory()) 78 { 79 throw new FileNotFoundException("Could not find 'testdata' directory. " + 80 "It must be located in the project root."); 81 } 82 } 72 83 write("++Starting BASE..."); 73 84 if (logMemoryUsage) … … 114 125 public static SessionControl getSessionControl() 115 126 { 116 if (sc == null) begin(false );127 if (sc == null) begin(false, true); 117 128 return sc; 118 129 } -
trunk/src/test/net/sf/basedb/test/merge/Run.java
r2815 r4298 50 50 if (ok && (all || cmds.contains("setup"))) 51 51 { 52 TestUtil.begin(logMemoryUsage );52 TestUtil.begin(logMemoryUsage, false); 53 53 ok = MergeTest.run(); 54 54 tests++; -
trunk/src/test/net/sf/basedb/test/performance/Run.java
r3675 r4298 54 54 55 55 int tests = 0; 56 TestUtil.begin(false );56 TestUtil.begin(false, true); 57 57 boolean ok = PrepareTest.run(user, password); 58 58 if (ok && (all || cmds.contains("raw"))) -
trunk/src/test/net/sf/basedb/test/roles/Run.java
r2568 r4298 50 50 if (ok && (all || cmds.contains("root"))) 51 51 { 52 TestUtil.begin(logMemoryUsage );52 TestUtil.begin(logMemoryUsage, true); 53 53 ok = RootTest.run(); 54 54 tests++; … … 56 56 if (ok && (all || cmds.contains("admin"))) 57 57 { 58 TestUtil.begin(logMemoryUsage );58 TestUtil.begin(logMemoryUsage, true); 59 59 ok = AdminTest.run(); 60 60 tests++; … … 62 62 if (ok && (all || cmds.contains("power"))) 63 63 { 64 TestUtil.begin(logMemoryUsage );64 TestUtil.begin(logMemoryUsage, true); 65 65 ok = PowerUserTest.run(); 66 66 tests++; … … 68 68 if (ok && (all || cmds.contains("user"))) 69 69 { 70 TestUtil.begin(logMemoryUsage );70 TestUtil.begin(logMemoryUsage, true); 71 71 ok = UserTest.run(); 72 72 tests++; … … 74 74 if (ok && (all || cmds.contains("guest"))) 75 75 { 76 TestUtil.begin(logMemoryUsage );76 TestUtil.begin(logMemoryUsage, true); 77 77 ok = GuestTest.run(); 78 78 tests++; -
trunk/www/include/menu.jsp
r4262 r4298 961 961 ActionIterator<MenuItemAction> it = invoker.iterate(); 962 962 Map<String, List<MenuItemAction>> menus = new HashMap<String, List<MenuItemAction>>(); 963 menus.put("extensions", new LinkedList<MenuItemAction>()); 963 964 while (it.hasNext()) 964 965 {
Note: See TracChangeset
for help on using the changeset viewer.