refactoring org to uk
authorjprocter <jprocter@compbio.dundee.ac.uk>
Thu, 14 Dec 2006 18:52:17 +0000 (18:52 +0000)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Thu, 14 Dec 2006 18:52:17 +0000 (18:52 +0000)
git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@296 be28352e-c001-0410-b1a7-c7978e42abec

build.xml

index d44bc0a..303c160 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -11,8 +11,8 @@
                <property name="vamsasClient.jar" value="vamsas-client.jar" />
                <property name="vamsas.schema" value="schemas/vamsas.xsd" />
                <property name="vamsas.doc.schema" value="schemas/vamsasDocument.xsd" />
-               <property name="vamsas.schema.package" value="org.vamsas.objects.core" />
-               <property name="vamsas.schema.package.src" value="org/vamsas/objects/core" />
+               <property name="vamsas.schema.package" value="uk.ac.vamsas.objects.core" />
+               <property name="vamsas.schema.package.src" value="uk/ac/vamsas/objects/core" />
                <property name="vamsas.schema.sourcegen.properties" value="schemas/castorbuilder.properties"/>
                <path id="castor.classpath">
                        <fileset dir="tools">
                <castor-srcgen file="${vamsas.schema}"
              todir="${sourceDir}"
              package="${vamsas.schema.package}"
-             warnings="false" 
+             warnings="true" 
                  nodesc="false"
                properties="${vamsas.schema.sourcegen.properties}"
        />      
                <castor-srcgen file="${vamsas.doc.schema}"
                              todir="${sourceDir}"
                              package="${vamsas.schema.package}"
-                             warnings="false" 
+                             warnings="true" 
                                  nodesc="false"
                                properties="${vamsas.schema.sourcegen.properties}"
                        />      
@@ -109,11 +109,11 @@ inheritRefs="true"/> -->
 
        <target name="build" depends="init, prepare">
                <!-- not efficient yet. : use excludes="*/localtest/*.java" if local tests are not building -->
-               <javac classpathref="build.classpath" debug="on" srcdir="${sourceDir}" destdir="${outputDir}" deprecation="on" >
+               <javac classpathref="build.classpath" debug="on" srcdir="${sourceDir}" destdir="${outputDir}" deprecation="on" source="1.4" target="1.4">
        <exclude name="uk/ac/ebi/msd/vamsas/**"/>
                </javac>
        </target>
-       <target name="jar" depends="build">
+       <target name="jar" depends="build, javadoc">
                <jar destfile="${packageDir}/${vamsasClient.jar}">
                <fileset dir="${outputDir}">
                  <exclude name="cache*/**"/>
@@ -121,6 +121,12 @@ inheritRefs="true"/> -->
                  <exclude name="*.jar.*" />
                  <exclude name="**/*.jar" />
                  <exclude name="**/*.jar.*" />
+                         <exclude name="*.java"/>
+                         <exclude name="**/*.java"/>
+                         <exclude name="uk/**"/>
+                         <exclude name="uk/*.class"/>
+                         <exclude name="log4j.properties"/>
+                       <exclude name="commons-logging.properties"/>
                </fileset>
                </jar>
        </target>
@@ -128,6 +134,9 @@ inheritRefs="true"/> -->
        <target name="javadoc" depends="init">
        <javadoc destdir="docs/api" author="true" version="true" use="true">      
       <fileset dir="${sourceDir}" defaultexcludes="yes">
+       <exclude name="uk/**"/>
+       <exclude name="uk/*.java"/>
+       <exclude name=".castor.cdr"/>
       </fileset>
     </javadoc>
   </target>