Changeset 638
- Timestamp:
- Mar 20, 2008, 8:27:01 AM (16 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
set to
build
dist
package
.project
.classpath
-
Property
svn:ignore
set to
-
extensions/net.sf.basedb.examples/trunk/README
r636 r638 17 17 18 18 1. Unpack the tar.gz file to a directory of your choice. 19 2. Copy the extension-examples.jar to your BASE extensions directory ,WEB-INF/extensions.19 2. Copy the extension-examples.jar to your BASE extensions directory: WEB-INF/extensions. 20 20 3. Run the 'Extensions -> Manual scan' command if you have disabled automatic 21 21 installation. Otherwise, just wait a bit and the automatic installation will … … 31 31 1. Ant 1.6 32 32 2. Java 1.6 33 NOTE! Compiling may work with Java 1.5 but this is not officially supported.34 35 33 36 34 Follow these instructions: … … 39 37 directory (<basedir>/www/WEB-INF/lib/) to the ./lib/compile directory. 40 38 41 2. Type 'ant' to compile the code and put everything you need into42 the ./dist directory.39 2. Type 'ant' to compile the code and generate the 'extension-example.jar' file 40 in the project directory. 43 41 44 3. Use 'ant package' to create a downloadable tar.gz package in the ./package 45 directory. 42 3. Use 'ant package' to create a downloadable tar.gz package. -
extensions/net.sf.basedb.examples/trunk/RELEASE
r636 r638 19 19 ant package 20 20 21 will create the file 'example-extensions-A.B.tar.gz' in 22 the 'package' subdirectory.21 will create the file 'example-extensions-A.B.tar.gz' in 22 the project directory. 23 23 24 24 4. Make sure that the installation of the extensions works … … 36 36 http://baseplugins.thep.lu.se/wiki/net.sf.basedb.extensions 37 37 38 8. Edit the http://baseplugins.thep.lu.se/wiki/net.sf.basedb.ex tensions38 8. Edit the http://baseplugins.thep.lu.se/wiki/net.sf.basedb.examples.extensions 39 39 page: 40 40 41 41 * Add a new entry to the Download table 42 * Change the INSTALL and README links to point to 43 the tagged release 42 * Change the README link to point to the tagged release. Use 43 the following wiki code: 44 [source:/extensions/net.sf.basedb.examples/tags/A.B/README README] 44 45 45 46 9. Create a new milestone: 'Extensions examples vA.B+1' -
extensions/net.sf.basedb.examples/trunk/build.xml
r637 r638 2 2 <project 3 3 name="ExtensionExamples" 4 default=" dist"4 default="build" 5 5 basedir="."> 6 6 … … 11 11 <property name="build" location="build" description="Location of compiled files" /> 12 12 <property name="dist" location="dist" description="Directory where distribution should be created" /> 13 <property name="package" location="package" description="Directory where packaged distribution files are created"/> 13 <property name="jar.name" value="${name}.jar" description="Name of JAR file with the extensions." /> 14 <property name="tar.prefix" value="${name}-${version}" description="Prefix of .tar.gz file for download." /> 15 <property name="tar.name" value="${tar.prefix}.tar.gz" description="Full name of .tar.gz file for download." /> 14 16 <property name="javac.arg" value="-Xlint:unchecked" /> 15 17 <property name="javac.source" value="1.5" /> … … 33 35 <fileset dir="${build}" defaultexcludes="no" /> 34 36 <fileset dir="${dist}" defaultexcludes="no" /> 35 <fileset dir="${package}" defaultexcludes="no" /> 37 <fileset file="${jar.name}" /> 38 <fileset file="${tar.name}" /> 36 39 </delete> 37 40 </target> … … 45 48 <fileset dir="." includes="src/**,resources/**,META-INF/**" /> 46 49 <fileset dir="." includes="lib/compile/readme.txt" /> 50 <fileset file="${jar}" /> 47 51 </copy> 48 52 </target> … … 53 57 description="Create binary distribution package" 54 58 > 55 <property name="tar.prefix" value="${name}-${version}" />56 <mkdir dir="${package}" />57 59 <tar 58 destfile="${ package}/${tar.prefix}.tar.gz"60 destfile="${tar.name}" 59 61 longfile="gnu" 60 62 compression="gzip" … … 83 85 description="Compiles the plugin and put in jar" 84 86 > 85 <property name="jar" value="${name}.jar" />86 87 <mkdir dir="${build}" /> 87 88 <javac … … 101 102 </copy> 102 103 <jar 103 jarfile="${ dist}/${jar}"104 jarfile="${jar.name}" 104 105 basedir="${build}" 105 106 > -
extensions/net.sf.basedb.examples/trunk/lib/compile
-
Property
svn:ignore
set to
BASE2Core.jar
BASE2Webclient.jar
-
Property
svn:ignore
set to
Note: See TracChangeset
for help on using the changeset viewer.