Changeset 1302


Ignore:
Timestamp:
Feb 28, 2011, 12:02:44 PM (11 years ago)
Author:
Nicklas Nordborg
Message:

Adding 'update-version' target to build script and preparing for 1.0-rc1 release.

Location:
extensions/net.sf.basedb.reggie/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/net.sf.basedb.reggie/trunk/META-INF/extensions.xml

    r1282 r1302  
    77      and samples.
    88    </description>
    9     <version>1.0pre</version>
     9    <version>1.0-rc1</version>
    1010    <copyright>BASE development team</copyright>
    1111    <email>basedb-users@lists.sourceforge.net</email>
  • extensions/net.sf.basedb.reggie/trunk/build.xml

    r1301 r1302  
    1010  <!-- variables used -->
    1111  <property name="name" value="reggie" />
    12   <property name="version" value="1.0pre" />
     12  <property name="version" value="1.0-rc1" />
    1313  <property name="src" location="src" description="Location of source files" />
    1414  <property name="build" location="build" description="Location of compiled files" />
     
    171171    </sequential>
    172172  </macrodef>
     173 
     174  <target name="update-version">
     175    <echo>Setting version to: ${version}</echo>
     176   
     177    <echo>Reggie.java</echo>
     178    <replaceregexp
     179      file="${src}/net/sf/basedb/reggie/Reggie.java"
     180      match="public static final String VERSION = &#34;.*&#34;;"
     181      replace="public static final String VERSION = &#34;${version}&#34;;"
     182      encoding="UTF-8"
     183    />
     184
     185    <echo>extensions.xml</echo>
     186    <replaceregexp
     187      file="META-INF/extensions.xml"
     188      match="&lt;version&gt;.*&lt;/version&gt;"
     189      replace="&lt;version&gt;${version}&lt;/version&gt;"
     190      encoding="UTF-8"
     191    />
     192
     193    <echo>Don't forget to commit the changes to the subversion repository!</echo>
     194  </target>
     195
    173196</project>
  • extensions/net.sf.basedb.reggie/trunk/src/net/sf/basedb/reggie/Reggie.java

    r1288 r1302  
    2424public class Reggie
    2525{
     26 
     27  /**
     28    The current version of this package.
     29  */
     30  public static final String VERSION = "1.0-rc1";
    2631
    2732  /**
Note: See TracChangeset for help on using the changeset viewer.