Changeset 585


Ignore:
Timestamp:
Feb 13, 2008, 9:54:27 AM (13 years ago)
Author:
Nicklas Nordborg
Message:

References #89: Installation program and documentation

Updated compiling instructions. Added a check for BASE2Core.jar and BASE2CorePlugins.jar in the build file.

Location:
trunk/net/sf/basedb/illumina
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/net/sf/basedb/illumina/COMPILE

    r557 r585  
    1111
    12122. Java 1.6
    13 NOTE! May work with Java 1.5 but this is not officially supported
     13NOTE! Compiling may work with Java 1.5 but this is not officially supported
    1414
    15153. BASE 2.6
     
    2020
    21211. Copy the Base2Core.jar and Base2CorePlugins.jar from the BASE installation
    22    directory (<basedir>/www/WEB-INF/lib/) to the ./lib directory.
     22   directory (<basedir>/www/WEB-INF/lib/) to the ./lib/compile directory.
    2323   
    24242. Type 'ant' to compile the code and put everything you need into
     
    2626   
    27273. See the INSTALL file for installation instructions.
     28
     294. Use 'ant package' to create a downloadable tar.gz package in the ./package
     30   directory.
    2831
    2932----------
     
    3437
    35381. Compile and install the plug-in a first time using the instructions above
    36    and in the README file.
     39   and in the INSTALL and README files.
    3740   
     41
    38422. Enabled the plug-in autoreload functionality in BASE by adding the following
    3943   configuration option to your base.config file:
     
    4145   plugins.autounload = 1
    4246   
     47   You may have to restart Tomcat after the change.
     48   
     49
    43503. Change the JAR path of the Illumina plug-ins to point to the JAR file in:
    44    ./dist/illumina-plugins-1.0pre.jar
     51
     52   ./dist/illumina-plugins-xxx.jar
     53
    4554   NOTE! You must of course enter the absolute path or BASE will not find the
    4655   plug-in.
    4756   
    48 4. Now, all you have to do is to change the code, re-compile.
    49    BASE will automatically detect this and load the new code the
    50    next time you run the plug-in.
    51    
     57
     584. Now, you have changed the code and re-compile it, BASE will automatically
     59   detect this and load the new code the next time you run the plug-in. There is
     60   no need to restart Tomcat or to manually unload the old plug-in code.
     61
  • trunk/net/sf/basedb/illumina/build.xml

    r553 r585  
    7979  <target
    8080    name="build"
    81     depends="init"
     81    depends="init,checkjar"
    8282    description="Compiles the plugin and put in jar"
    8383    >
     
    108108  </target>
    109109 
     110  <target
     111    name="checkjar"
     112    description="Checks that the BASE2Core.jar and BASE2CorePlugins.jar exists."
     113    >
     114    <available classname="net.sf.basedb.core.Application"
     115      classpathref="classpath" property="base2core" />
     116    <available classname="net.sf.basedb.plugins.ReporterFlatFileImporter"
     117      classpathref="classpath" property="base2coreplugins" />
     118    <fail unless="base2core" message="Can't find BASE2Core.jar in ./lib/compile" />
     119    <fail unless="base2coreplugins" message="Can't find BASE2CorePlugins.jar in ./lib/compile" />
     120    <echo>Found BASE2Core.jar and BASE2CorePlugins.jar.</echo>
     121  </target>
    110122</project>
Note: See TracChangeset for help on using the changeset viewer.