Changeset 1395 for extensions/net.sf.basedb.mev/trunk/build.xml
- Timestamp:
- Sep 15, 2011, 2:58:04 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/net.sf.basedb.mev/trunk/build.xml
r1384 r1395 10 10 <!-- variables used --> 11 11 <property name="name" value="mev-launcher" /> 12 <property name="version" value="1.8pre" /> 13 <property name="minbaseversion" value="3.0" 14 description="Minimal BASE version required by the plug-ins" /> 12 <property name="version" value="1.8-alfa" /> 15 13 <property name="src" location="src" description="Location of source files" /> 16 14 <property name="build" location="build" description="Location of compiled files" /> … … 25 23 <property name="javac.target" value="1.6" /> 26 24 <property name="javac.encoding" value="UTF-8" /> 27 <property name="depend.jars" value="http://base2.thep.lu.se/base/jars/" /> 25 <property name="depend.base-version" 26 value="3.0.0" 27 description="The BASE version that this project depends on." 28 /> 29 <property name="depend.jars" 30 value="http://base2.thep.lu.se/base/jars/${depend.base-version}" 31 description="The location of the BASE core JARs that this project depends on." 32 /> 28 33 29 34 <!-- set up classpath for compiling --> … … 84 89 <fileset dir="." includes="META-INF/*" /> 85 90 </copy> 86 <replace token="%%plugins.jar%%" value="${jar.name}" file="${build}/server/META-INF/base-plugins.xml" />87 91 <jar 88 92 jarfile="${jar.name}" … … 180 184 /> 181 185 182 <echo>base-plugins.xml</echo>183 186 <replaceregexp 184 file="META-INF/ base-plugins.xml"185 match="<min baseversion>.*</minbaseversion>"186 replace="<min baseversion>${minbaseversion}</minbaseversion>"187 file="META-INF/extensions.xml" 188 match="<min-base-version>.*</min-base-version>" 189 replace="<min-base-version>${depend.base-version}</min-base-version>" 187 190 encoding="UTF-8" 188 flags="g"189 191 /> 190 192 <echo>Don't forget to commit the changes to the subversion repository!</echo> … … 193 195 <target 194 196 name="checkjar" 195 description="Checks that the base-core-3.0.0.jar, base-webclient-3.0.0.jar, base-coreplugins-3.0.0.jar and base-webservices-client-3.0.0.jarexists."197 description="Checks that the required BASE JAR files exists." 196 198 > 197 199 <available classname="net.sf.basedb.util.export.spotdata.AbstractBioAssaySetExporter" … … 203 205 <available classname="net.sf.basedb.info.BioAssaySetInfo" 204 206 classpathref="classpath" property="basewebservice" /> 205 <fail unless="basecore" message="Can't find base-core- 3.0.0.jar in ./lib/compile. Try 'ant download-lib' to download the missing file." />206 <fail unless="baseplugins" message="Can't find base-coreplugins- 3.0.0.jar in ./lib/compile. Try 'ant download-lib' to download the missing file." />207 <fail unless="baseweb" message="Can't find base-webclient- 3.0.0.jar in ./lib/compile. Try 'ant download-lib' to download the missing file." />208 <fail unless="basewebservice" message="Can't find base-webservices-client- 3.0.0.jar in ./lib/compile. Try 'ant download-lib' to download the missing file." />209 <echo>Found base-core-3.0.0.jar, base-coreplugins-3.0.0.jar, base-webclient-3.0.0.jar and base-webservices-client-3.0.0.jar.</echo>207 <fail unless="basecore" message="Can't find base-core-${depend.base-version}.jar in ./lib/compile. Try 'ant download-lib' to download the missing file." /> 208 <fail unless="baseplugins" message="Can't find base-coreplugins-${depend.base-version}.jar in ./lib/compile. Try 'ant download-lib' to download the missing file." /> 209 <fail unless="baseweb" message="Can't find base-webclient-${depend.base-version}.jar in ./lib/compile. Try 'ant download-lib' to download the missing file." /> 210 <fail unless="basewebservice" message="Can't find base-webservices-client-${depend.base-version}.jar in ./lib/compile. Try 'ant download-lib' to download the missing file." /> 211 <echo>Found all requried BASE core JAR files.</echo> 210 212 </target> 211 213 … … 251 253 <target 252 254 name="download-lib" 253 description="Download base-core-3. 0.0.jar, base-webclient-3.0.0.jar, base-coreplugins-3.0.0.jar and base-webservices-client-3.0.0.jar"255 description="Download base-core-3.x.jar, base-webclient-3.0.0.jar, base-coreplugins-3.x.jar and base-webservices-client-3.0x.jar" 254 256 > 255 257 <echo> … … 260 262 ------------------------------------------------------- 261 263 </echo> 262 <download-lib file="base-core- 3.0.0.jar" />263 <download-lib file="base-webclient- 3.0.0.jar" />264 <download-lib file="base-coreplugins- 3.0.0.jar" />265 <download-lib file="base-webservices-client- 3.0.0.jar" />264 <download-lib file="base-core-${depend.base-version}.jar" /> 265 <download-lib file="base-webclient-${depend.base-version}.jar" /> 266 <download-lib file="base-coreplugins-${depend.base-version}.jar" /> 267 <download-lib file="base-webservices-client-${depend.base-version}.jar" /> 266 268 </target> 267 269
Note: See TracChangeset
for help on using the changeset viewer.