Changeset 1238 for plugins/base2
- Timestamp:
- Sep 7, 2010, 11:55:05 AM (13 years ago)
- Location:
- plugins/base2/net.sf.basedb.illumina/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/base2/net.sf.basedb.illumina/trunk/META-INF/extensions.xml
r1141 r1238 25 25 26 26 <extensions xmlns="http://base.thep.lu.se/extensions.xsd"> 27 <about> 28 <name>Illumina extensions</name> 29 <version>1.6pre</version> 30 <copyright>BASE 2 development team</copyright> 31 <email>basedb-users@lists.sourceforge.net</email> 32 <url>http://baseplugins.thep.lu.se/wiki/net.sf.basedb.illumina</url> 33 </about> 27 34 <extension 28 35 id="net.sf.basedb.illumina.extensions.overviewplots.illuminaPlots" -
plugins/base2/net.sf.basedb.illumina/trunk/RELEASE
r1175 r1238 13 13 2. Update version numbers. 14 14 15 In build.xml: <property name="version" value="A.B" /> 16 In Illumina.java: public ... String VERSION = "A.B"; 17 18 Make sure that the required BASE version is correct in several 19 files: META-INF/base-plugins.xml, wiki page (several places), 20 build.xml, README, and INSTALL. 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, Illumina.java, 21 META-INF/extensions.xml and META-INF/base-plugins.xml. 22 23 Check (and update if needed) the README and INSTALL 24 files and the wiki pages (see also step 8 and 9 below): 25 26 http://baseplugins.thep.lu.se/wiki/net.sf.basedb.illumina 27 http://baseplugins.thep.lu.se/wiki/PluginDownload 21 28 22 29 3. Make sure that the code compiles and can be packaged. … … 62 69 63 70 In build.xml: <property name="version" value="A.(B+1)pre" /> 64 In Illumina.java: public ... String VERSION = "A.(B+1)pre";65 Commit the change tosubversion:71 Run `ant update-version` and commit the changes to 72 subversion: 66 73 67 74 'Preparing for future release A.B+1'. -
plugins/base2/net.sf.basedb.illumina/trunk/build.xml
r1226 r1238 15 15 <property name="name" value="illumina-plugins" /> 16 16 <property name="version" value="1.6pre" /> 17 <property name="minbaseversion" value="2.16" 18 description="Minimal BASE version required by the plug-ins" /> 17 19 <property name="src" location="src" description="Location of source files" /> 18 20 <property name="build" location="build" description="Location of compiled files" /> … … 105 107 source="${javac.source}" 106 108 target="${javac.target}" 109 includeantruntime="false" 107 110 > 108 111 <compilerarg value="${javac.arg}" /> … … 117 120 > 118 121 </jar> 122 </target> 123 124 <target name="update-version"> 125 <echo>Setting version to: ${version}</echo> 126 127 <echo>Illumina.java</echo> 128 <replaceregexp 129 file="${src}/net/sf/basedb/illumina/Illumina.java" 130 match="public static final String VERSION = ".*";" 131 replace="public static final String VERSION = "${version}";" 132 encoding="UTF-8" 133 /> 134 135 <echo>extensions.xml</echo> 136 <replaceregexp 137 file="META-INF/extensions.xml" 138 match="<version>.*</version>" 139 replace="<version>${version}</version>" 140 encoding="UTF-8" 141 /> 142 143 <echo>base-plugins.xml</echo> 144 <replaceregexp 145 file="META-INF/base-plugins.xml" 146 match="<minbaseversion>.*</minbaseversion>" 147 replace="<minbaseversion>${minbaseversion}</minbaseversion>" 148 encoding="UTF-8" 149 flags="g" 150 /> 151 <echo>Don't forget to commit the changes to the subversion repository!</echo> 119 152 </target> 120 153
Note: See TracChangeset
for help on using the changeset viewer.