Changeset 690


Ignore:
Timestamp:
May 12, 2008, 12:48:15 PM (13 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #107: Move the MEV specific code from BASE

Location:
extensions/net.sf.basedb.mev/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • extensions/net.sf.basedb.mev/trunk

    • Property svn:ignore
      •  

        old new  
        22build
        33mev-launcher*.tar.gz
         4build.properties
         5.project
         6.classpath
  • extensions/net.sf.basedb.mev/trunk/README

    r668 r690  
    1919== Installation ==
    2020
    21  1. Download the mev-launcher-*.tar.gz.
     21 1. Download the mev-launcher-*.tar.gz file.
    2222 2. Unpack the downloaded file to a directory of your choice.
    2323 3. Copy the mev-launcher.jar file to your BASE extensions directory:
     
    2525 4. Run the 'Extensions -> Manual scan' command if you have disabled automatic
    2626    installation. Otherwise, just wait a bit and the automatic installation will
    27     find and install the new extensions.
     27    find and install the new extension.
    2828 5. Done. The MeV Launcher appears as an action in the "Tools" column when
    2929    viewing bioassay sets of an experiment.
     
    4646    http://baseplugins.thep.lu.se/wiki/net.sf.basedb.mev for instructions.
    4747 
    48  2. Copy the BASE2Core.jar, BASE2Webclient.jar and BASE2CorePlugins.jar from
     48 2. Type `ant download-lib` to automatically download the BASE core JAR file that
     49    are neeed for compilation. You can also do this manually by copying the
     50    BASE2Core.jar, BASE2Webclient.jar and BASE2CorePlugins.jar from
    4951    the BASE installation directory (<basedir>/www/WEB-INF/lib/) to the
    5052    ./lib/compile directory.
     
    5456
    5557 4. Use 'ant package' to create a downloadable tar.gz package.
     58 
     59Tip: If you need different values for any of the properties defined in
     60the 'build.xml' file, create a file named 'build.properties' and set
     61the values there.
  • extensions/net.sf.basedb.mev/trunk/RELEASE

    r666 r690  
    5151
    525211. Update the version number in build.xml.
    53  
     53
    5454    <property name="version" value="A.B+1" />
     55   
     56    Commit the change to subversion:
     57   
     58    svn commit -m "Preparing for future release A.B+1"
    5559     
    56     Commit the change to subversion:
    57      
    58     'Preparing for future release A.B+1'.
    59      
  • extensions/net.sf.basedb.mev/trunk/build.xml

    r666 r690  
    55  basedir=".">
    66
     7  <!--create this file if you need to override values from properties below -->
     8  <property file="build.properties" />
     9 
    710  <!-- variables used -->
    811  <property name="name" value="mev-launcher" />
     
    2023  <property name="javac.target" value="1.5" />
    2124  <property name="javac.encoding" value="ISO-8859-1" />
     25  <property name="depend.jars" value="http://base2.thep.lu.se/base/jars/2.7.0" />
    2226
    2327  <!-- set up classpath for compiling -->
     
    103107    <available classname="net.sf.basedb.clients.web.extensions.toolbar.FixedButtonFactory"
    104108      classpathref="classpath" property="base2web" />
    105     <fail unless="base2core" message="Can't find BASE2Core.jar in ./lib/compile" />
    106     <fail unless="base2plugins" message="Can't find BASE2CorePlugins.jar in ./lib/compile" />
    107     <fail unless="base2web" message="Can't find BASE2Webclient.jar in ./lib/compile" />
     109    <fail unless="base2core" message="Can't find BASE2Core.jar in ./lib/compile. Try 'ant download-lib' to download the missing file." />
     110    <fail unless="base2plugins" message="Can't find BASE2CorePlugins.jar in ./lib/compile. Try 'ant download-lib' to download the missing file." />
     111    <fail unless="base2web" message="Can't find BASE2Webclient.jar in ./lib/compile. Try 'ant download-lib' to download the missing file." />
    108112    <echo>Found BASE2Core.jar, BASE2CorePlugins.jar and BASE2Webclient.jar.</echo>
    109113  </target>
     114 
     115  <target
     116    name="download-lib"
     117    description="Download BASE2Core.jar, BASE2Webclient.jar and BASE2CorePlugins.jar."
     118    >
     119    <echo>
     120-------------------------------------------------------   
     121NOTE! You may specifiy a different download location by
     122creating the file './build.properties' and
     123setting 'depend.jars' to the URL to download from.
     124-------------------------------------------------------
     125    </echo>
     126    <download-lib file="BASE2Core.jar" />
     127    <download-lib file="BASE2CorePlugins.jar" />
     128    <download-lib file="BASE2Webclient.jar" />
     129  </target>
     130 
     131  <macrodef name="download-lib" description="Download BASE core JAR files">
     132    <attribute name="file" />
     133    <sequential>
     134      <get
     135        dest="lib/compile/@{file}"
     136        src="${depend.jars}/@{file}"
     137        usetimestamp="true"
     138        verbose="true"
     139        ignoreerrors="true"
     140      />
     141    </sequential>
     142  </macrodef>
    110143</project>
  • extensions/net.sf.basedb.mev/trunk/lib/compile

    • Property svn:ignore set to
      BASE2*.jar
  • extensions/net.sf.basedb.mev/trunk/lib/compile/readme.txt

    r666 r690  
    11NOTE! Before compiling this code, you need to place a
    2 copy of the following files in this directory.
     2copy of the following files in this directory. You may
     3issue the command 'ant download-lib' from the project
     4root directory to download those files automatically.
    35
    46 * BASE2Core.jar
Note: See TracChangeset for help on using the changeset viewer.