Changeset 1239


Ignore:
Timestamp:
Sep 7, 2010, 12:37:49 PM (12 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #275: Version should autopropagate from build.xml

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

Legend:

Unmodified
Added
Removed
  • extensions/net.sf.basedb.mev/trunk/META-INF/base-plugins.xml

    r1190 r1239  
    33<plugins jarname="%%plugins.jar%%">
    44  <pluginclass classname="net.sf.basedb.mev.plugin.TdmsExporterPlugin">
    5     <minbaseversion>2.14</minbaseversion>
     5    <minbaseversion>2.16</minbaseversion>
    66    <hasconfigurations/>
    77  </pluginclass>
    88  <pluginclass classname="net.sf.basedb.mev.plugin.CghExporterPlugin">
    9     <minbaseversion>2.14</minbaseversion>
     9    <minbaseversion>2.16</minbaseversion>
    1010    <hasconfigurations/>
    1111  </pluginclass>
    1212  <pluginclass classname="net.sf.basedb.mev.install.Install">
    13     <minbaseversion>2.14</minbaseversion>
     13    <minbaseversion>2.16</minbaseversion>
    1414    <hasconfigurations/>
    1515  </pluginclass>
  • extensions/net.sf.basedb.mev/trunk/META-INF/extensions.xml

    r1191 r1239  
    88      it import data from the current bioassay set.
    99    </description>
    10     <version>1.6</version>
    11     <url>http://baseplugins.thep.lu.se/wiki/net.sf.basedb.mev</url>
     10    <version>1.7pre</version>
     11    <copyright>BASE 2 development team</copyright>
     12    <email>basedb-users@lists.sourceforge.net</email>
     13    <url>http://baseplugins.thep.lu.se/wiki/net.sf.basedb.illumina</url>
    1214  </about>
    1315  <extension
  • extensions/net.sf.basedb.mev/trunk/RELEASE

    r1191 r1239  
    1313 2. Update the version number.
    1414   
    15     * In build.xml: <property name="version" value="A.B" />
    16     * In META-INF/extensions.xml: <version>A.B</version>
    17     * In src/server/net/sf/basedb/mev/MeV.java: public ... String VERSION = "A.B"
     15    In build.xml:
     16      <property name="version" value="A.B" />
     17      <property name="minbaseversion" value="X.Y" />
     18     
     19    Run `ant update-version`. This should put the version
     20    numbers in a lot of files, including, Mev.java,
     21    META-INF/extensions.xml and META-INF/base-plugins.xml.
     22   
     23    Check (and update if needed) the README file and
     24    and the wiki pages (see also step 8 and 9 below):
     25   
     26      http://baseplugins.thep.lu.se/wiki/net.sf.basedb.mev
     27      http://baseplugins.thep.lu.se/wiki/PluginDownload
    1828
    1929 3. Make sure that the code compiles and can be packaged.
     
    5464    any remaining tickets to the newly create milestone.
    5565
    56 11. Update the version number in build.xml.
    57 
    58     <property name="version" value="A.B+1pre" />
    59    
    60     Commit the change to subversion:
    61    
     6611. Update the version numbers.
     67 
     68    In build.xml: <property name="version" value="A.(B+1)pre" />
     69    Run `ant update-version` and commit the changes to
     70    subversion:
     71     
    6272    svn commit -m "Preparing for future release A.B+1"
    6373     
  • extensions/net.sf.basedb.mev/trunk/build.xml

    r1228 r1239  
    1111  <property name="name" value="mev-launcher" />
    1212  <property name="version" value="1.7pre" />
     13  <property name="minbaseversion" value="2.16"
     14      description="Minimal BASE version required by the plug-ins" />
    1315  <property name="src" location="src" description="Location of source files" />
    1416  <property name="build" location="build" description="Location of compiled files" />
     
    158160    </javac>
    159161  </target>
     162 
     163  <target name="update-version">
     164    <echo>Setting version to: ${version}</echo>
     165   
     166    <echo>Mev.java</echo>
     167    <replaceregexp
     168      file="${src}/server/net/sf/basedb/mev/Mev.java"
     169      match="public static final String VERSION = &#34;.*&#34;;"
     170      replace="public static final String VERSION = &#34;${version}&#34;;"
     171      encoding="UTF-8"
     172    />
     173   
     174    <echo>extensions.xml</echo>
     175    <replaceregexp
     176      file="META-INF/extensions.xml"
     177      match="&lt;version&gt;.*&lt;/version&gt;"
     178      replace="&lt;version&gt;${version}&lt;/version&gt;"
     179      encoding="UTF-8"
     180    />
     181   
     182    <echo>base-plugins.xml</echo>
     183    <replaceregexp
     184      file="META-INF/base-plugins.xml"
     185      match="&lt;minbaseversion&gt;.*&lt;/minbaseversion&gt;"
     186      replace="&lt;minbaseversion&gt;${minbaseversion}&lt;/minbaseversion&gt;"
     187      encoding="UTF-8"
     188      flags="g"
     189    />
     190    <echo>Don't forget to commit the changes to the subversion repository!</echo>
     191  </target>
     192 
    160193  <target
    161194    name="checkjar"
  • extensions/net.sf.basedb.mev/trunk/src/server/net/sf/basedb/mev/Mev.java

    r1191 r1239  
    1212    The current version of this plug-in package.
    1313  */
    14   public static final String VERSION = "1.6";
     14  public static final String VERSION = "1.7pre";
    1515 
    1616  /**
Note: See TracChangeset for help on using the changeset viewer.