Show
Ignore:
Timestamp:
02/23/10 15:28:52 (2 years ago)
Author:
martijn
Message:

Big project Reogranization:
- all modules are named with their main package name,

e.g. "picr" becomes org.bridgedb.webservice.picr,
and the jar will be org.bridgedb.webservice.picr.jar

- webservice renamed to org.bridgedb.server
- corelib is split in org.bridgedb, org.bridgedb.rdb,

org.bridgedb.webservice.biomart and org.bridgedb.webservice.bridgerest

Location:
trunk/org.bridgedb.webservice.biomart
Files:
1 added
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/org.bridgedb.webservice.biomart/build.xml

    r296 r308  
    11<?xml version="1.0"?> 
    2 <project name="BridgeDb" default="dist" basedir="."> 
     2<project name="org.bridgedb.webservice.biomart" default="dist" basedir="."> 
    33 
    44  <!-- always be java 1.5 compatible --> 
     
    66  <property name="ant.build.javac.source" value="1.5"/> 
    77         
    8   <property name="jar.name" value="../dist/bridgedb.jar"/> 
     8  <property name="jar.name" value="../dist/org.bridgedb.webservice.biomart.jar"/> 
    99  <property name="svn.exec.svnversion" value="svnversion"/> 
    1010  <property name="checkstyle.output.file" value="warnings.txt"/> 
     
    1212   
    1313  <target name="prepare"> 
    14         <tstamp /> <!-- set ${TODAY} and ${TSTAMP} --> 
    1514        <mkdir dir="build"/> 
    16         <mkdir dir="doc"/> 
    1715        <mkdir dir="../dist"/> 
    18         <exec executable="${svn.exec.svnversion}" outputproperty="subversion_revision" failifexecutionfails="false"> 
    19                 <arg line="-n ."/> 
    20         </exec> 
    21         <echo file="src/org/bridgedb/BridgeDb.properties"># Version and compilation information 
    22 REVISION=${subversion_revision} 
    23 COMPILE_DATE=${DSTAMP} ${TSTAMP} 
    24 # copied from version.props 
    25 bridgedb.version=${bridgedb.version} 
    26         </echo>   
    2716  </target> 
    2817 
     18        <path id="project.class.path"> 
     19                <pathelement location="build"/> 
     20                <pathelement location="../dist/org.bridgedb.jar"/> 
     21                <pathelement location="../dist/org.bridgedb.bio.jar"/> 
     22                <!--TODO make sure corelib build is called first --> 
     23        </path> 
     24 
    2925  <target name="build" depends="prepare"> 
    30         <javac srcdir="src" 
    31                    includes="**" 
    32                    debug="true" 
    33                    destdir="build"> 
    34         </javac> 
     26                <javac srcdir="src"  
     27                            debug="true"         
     28                            destdir="build"> 
     29                        <classpath refid="project.class.path"/> 
     30                </javac> 
    3531    <copy file="src/org/bridgedb/webservice/biomart/util/filterconversion.txt" 
    3632          todir="build/org/bridgedb/webservice/biomart/util" /> 
     
    4642          <fileset dir="src" includes="**/*.properties"/> 
    4743        </jar> 
    48     <copy file="lib/derby.jar" 
    49           todir="../dist" /> 
    5044  </target> 
    5145 
     
    6660        <target name="test" depends="build"> 
    6761                <path id="test.classpath"> 
     62                        <path refid="project.class.path"/> 
    6863                        <pathelement location="build"/> 
    69                         <pathelement location="lib/derby.jar"/> 
    70                         <pathelement location="build-lib/junit.jar"/> 
    71                         <pathelement location="build-lib/measure.jar"/> 
    72                         <pathelement location="build-lib/derbyclient.jar"/> 
     64                        <pathelement location="../org.bridgedb/build-lib/junit.jar"/> 
     65                        <pathelement location="../org.bridgedb/build-lib/measure.jar"/> 
    7366                </path> 
    7467                <javac srcdir="test" debug="true"