Changeset 1296
- Timestamp:
- Feb 24, 2011, 1:45:29 PM (13 years ago)
- Location:
- webservices/net.sf.basedb.examples/trunk
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
webservices/net.sf.basedb.examples/trunk/build.xml
r1279 r1296 26 26 <property name="javac.target" value="1.6" /> 27 27 <property name="javac.encoding" value="UTF-8" /> 28 <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" 31 /> 28 32 29 33 <!-- set up classpath for compiling --> … … 109 113 <target 110 114 name="build" 111 depends="init "115 depends="init,checkjar" 112 116 description="Compiles the plugin and put in jar" 113 117 > … … 131 135 </jar> 132 136 </target> 137 138 <target 139 name="checkjar" 140 description="Checks that the BASE2WSClient.jar exists." 141 > 142 <available classname="net.sf.basedb.ws.client.SessionClient" 143 classpathref="classpath" property="base2wsclient" /> 144 <fail unless="base2wsclient" message="Can't find BASE2WSClient.jar in ./lib/compile. Try 'ant download-lib' to download the missing file." /> 145 <echo>Found BASE2WSClient.jar.</echo> 146 </target> 147 148 <target 149 name="download-lib" 150 description="Download BASE2WSClient.jar." 151 > 152 <echo> 153 ------------------------------------------------------- 154 NOTE! You may specifiy a different download location by 155 creating the file './build.properties' and 156 setting 'depend.jars' to the URL to download from. 157 ------------------------------------------------------- 158 </echo> 159 <download-lib file="BASE2WSClient.jar" /> 160 </target> 161 162 <macrodef name="download-lib" description="Download BASE core JAR files"> 163 <attribute name="file" /> 164 <sequential> 165 <get 166 dest="lib/@{file}" 167 src="${depend.jars}/@{file}" 168 usetimestamp="true" 169 verbose="true" 170 ignoreerrors="true" 171 /> 172 </sequential> 173 </macrodef> 133 174 </project> -
webservices/net.sf.basedb.examples/trunk/lib
-
Property
svn:ignore
set to
BASE2WSClient.jar
-
Property
svn:ignore
set to
Note: See TracChangeset
for help on using the changeset viewer.