Changeset 1407 for webservices/net.sf.basedb.examples/trunk/build.xml
- Timestamp:
- Oct 18, 2011, 2:50:36 PM (11 years ago)
- Location:
- webservices/net.sf.basedb.examples/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
webservices/net.sf.basedb.examples/trunk
- Property svn:ignore
-
old new 3 3 build 4 4 dist 5 build.properties 6 .settings
-
- Property svn:ignore
-
webservices/net.sf.basedb.examples/trunk/build.xml
r1296 r1407 5 5 basedir="."> 6 6 7 <!--create this file if you need to override values from properties below --> 8 <property file="build.properties" /> 9 7 10 <!-- settings for the BASE webservices server --> 8 11 <!-- modify the values as needed --> … … 15 18 <!-- variables used --> 16 19 <property name="name" value="example-webservices" /> 17 <property name="version" value=" 2.6" />20 <property name="version" value="3.0-beta" /> 18 21 <property name="src" location="src" description="Location of source files" /> 19 22 <property name="build" location="build" description="Location of compiled files" /> … … 26 29 <property name="javac.target" value="1.6" /> 27 30 <property name="javac.encoding" value="UTF-8" /> 31 <property name="depend.base-version" 32 value="3.0.0" 33 description="The BASE version that this project depends on." 34 /> 28 35 <property name="depend.jars" 29 value="http://base2.thep.lu.se/base/jars/ 2.17.0"30 description="The location of the BASE core JARs that we depend on"36 value="http://base2.thep.lu.se/base/jars/${depend.base-version}" 37 description="The location of the BASE core JARs that this project depends on." 31 38 /> 32 39 … … 138 145 <target 139 146 name="checkjar" 140 description="Checks that the BASE 2WSClient.jarexists."147 description="Checks that the BASE JAR files exists." 141 148 > 142 149 <available classname="net.sf.basedb.ws.client.SessionClient" 143 classpathref="classpath" property="base 2wsclient" />144 <fail unless="base 2wsclient" message="Can't find BASE2WSClient.jar in ./lib/compile. Try 'ant download-lib' to download the missing file." />145 <echo>Found BASE2WSClient.jar.</echo>150 classpathref="classpath" property="base-wsclient" /> 151 <fail unless="base-wsclient" message="Can't find base-webservices-client-${depend.base-version}.jar in ./lib. Try 'ant download-lib' to download the missing file." /> 152 <echo>Found base-webservices-client-${depend.base-version}.jar</echo> 146 153 </target> 147 154 148 155 <target 149 156 name="download-lib" 150 description="Download BASE 2WSClient.jar."157 description="Download BASE JAR Files" 151 158 > 152 159 <echo> … … 157 164 ------------------------------------------------------- 158 165 </echo> 159 <download-lib file=" BASE2WSClient.jar" />166 <download-lib file="base-webservices-client-${depend.base-version}.jar" /> 160 167 </target> 161 168 162 <macrodef name="download-lib" description="Download BASE coreJAR files">169 <macrodef name="download-lib" description="Download BASE JAR files"> 163 170 <attribute name="file" /> 164 171 <sequential>
Note: See TracChangeset
for help on using the changeset viewer.