Changeset 691 for extensions/net.sf.basedb.examples/trunk
- Timestamp:
- May 12, 2008, 1:54:21 PM (15 years ago)
- Location:
- extensions/net.sf.basedb.examples/trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/net.sf.basedb.examples/trunk
- Property svn:ignore
-
old new 6 6 extension-examples.jar 7 7 extension-examples*.tar.gz 8 build.properties
-
- Property svn:ignore
-
extensions/net.sf.basedb.examples/trunk/README
r683 r691 39 39 Follow these instructions: 40 40 41 1. Copy the BASE2Core.jar and BASE2Webclient.jar from the BASE installation 42 directory (<basedir>/www/WEB-INF/lib/) to the ./lib/compile directory. 43 44 2. Type 'ant' to compile the code and generate the 'extension-example.jar' file 41 1. Type `ant download-lib` to automatically download the BASE core JAR file that 42 are neeed for compilation. You can also do this manually by copying the 43 BASE2Core.jar and BASE2Webclient.jar files from the BASE installation directory 44 (<basedir>/www/WEB-INF/lib/) to the ./lib/compile directory. 45 46 2. Type 'ant' to compile the code and generate the 'extension-examples.jar' file 45 47 in the project directory. 46 48 -
extensions/net.sf.basedb.examples/trunk/RELEASE
r638 r691 54 54 55 55 Commit the change to subversion: 56 57 svn commit -m "Preparing for future release A.B+1" 56 58 57 'Preparing for future release A.B+1'.58 -
extensions/net.sf.basedb.examples/trunk/build.xml
r638 r691 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 <!-- variables used --> 8 11 <property name="name" value="extension-examples" /> 9 <property name="version" value="1.0 " />12 <property name="version" value="1.0pre" /> 10 13 <property name="src" location="src" description="Location of source files" /> 11 14 <property name="build" location="build" description="Location of compiled files" /> … … 18 21 <property name="javac.target" value="1.5" /> 19 22 <property name="javac.encoding" value="ISO-8859-1" /> 23 <property name="depend.jars" 24 value="http://base2.thep.lu.se/base/jars/2.7.0" 25 description="The location of the BASE core JARs that we depend on" 26 /> 20 27 21 28 <!-- set up classpath for compiling --> … … 116 123 <available classname="net.sf.basedb.clients.web.Base" 117 124 classpathref="classpath" property="base2web" /> 118 <fail unless="base2core" message="Can't find BASE2Core.jar in ./lib/compile " />119 <fail unless="base2web" message="Can't find BASE2Webclient.jar in ./lib/compile " />125 <fail unless="base2core" message="Can't find BASE2Core.jar in ./lib/compile. Try 'ant download-lib' to download the missing file." /> 126 <fail unless="base2web" message="Can't find BASE2Webclient.jar in ./lib/compile. Try 'ant download-lib' to download the missing file." /> 120 127 <echo>Found BASE2Core.jar and BASE2Webclient.jar.</echo> 121 128 </target> 129 130 <target 131 name="download-lib" 132 description="Download BASE2Core.jar, BASE2Webclient.jar and BASE2CorePlugins.jar." 133 > 134 <echo> 135 ------------------------------------------------------- 136 NOTE! You may specifiy a different download location by 137 creating the file './build.properties' and 138 setting 'depend.jars' to the URL to download from. 139 ------------------------------------------------------- 140 </echo> 141 <download-lib file="BASE2Core.jar" /> 142 <download-lib file="BASE2Webclient.jar" /> 143 </target> 144 145 <macrodef name="download-lib" description="Download BASE core JAR files"> 146 <attribute name="file" /> 147 <sequential> 148 <get 149 dest="lib/compile/@{file}" 150 src="${depend.jars}/@{file}" 151 usetimestamp="true" 152 verbose="true" 153 ignoreerrors="true" 154 /> 155 </sequential> 156 </macrodef> 122 157 </project> -
extensions/net.sf.basedb.examples/trunk/lib/compile/readme.txt
r636 r691 1 NOTE! 1 NOTE! Before compiling this code, you need to place a 2 copy of the following files in this directory. You may 3 issue the command 'ant download-lib' from the project 4 root directory to download those files automatically. 2 5 3 Before compiling this code, you need to put a copy of the 4 BASE2Core.jar in this directory. 6 * BASE2Core.jar 7 * BASE2Webclient.jar
Note: See TracChangeset
for help on using the changeset viewer.