/[volute]/trunk/projects/theory/snapdm/build.xml
ViewVC logotype

Diff of /trunk/projects/theory/snapdm/build.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 464 by bourges.laurent, Sun May 11 19:29:40 2008 UTC revision 465 by bourges.laurent, Mon May 12 16:19:59 2008 UTC
# Line 1  Line 1 
1  <?xml version="1.0" ?>  <?xml version="1.0" encoding="UTF-8"?>
2    
3  <!DOCTYPE project [  <!DOCTYPE project [
4  <!ENTITY buildJava SYSTEM "./build_java.xml">  <!ENTITY buildJava SYSTEM "./build_java.xml">
5  ]>  ]>
6    
7  <project name="Simulation DM Transformer" default="about" basedir=".">  <project name="Simulation Data Model Transformer" default="about" basedir=".">
8    
9          <description>          <description>
10      Transformer tool for Simulation DM (UML model) in other documents : XML schemas, documentation and code (java ...)      This build file can be considered as the transformer tool for the Simulation Data Model (in xmi format) in other documents :
11        - XML schemas
12        - documentation
13        - java code (JPA / JAXB compliant)
14        - DDL script (microsoft sql server / postgresql databases)
15        - TAP VOTABLEs
16            
17      TODO : rename all 'snap' with SimDB model ...      TODO : rename all 'snap' with SimDB model ...
18    </description>    </description>
# Line 51  Line 56 
56          <property name="sources.gen" location="${outputJava}" />          <property name="sources.gen" location="${outputJava}" />
57          <property name="sources.test" location="./test/java" />          <property name="sources.test" location="./test/java" />
58    
         <property name="sources.gen.docs" location="${outputJava}/doc" />  
   
59    
60          <property name="libs" location="./libs" />          <property name="libs" location="./libs" />
61    
62          <property name="dist" location="./dist" />          <property name="dist" location="./dist" />
63    
64            <property name="javadoc" location="${dist}/doc" />
65    
66    
67          <!-- compile Sources -->          <!-- compile Sources -->
68          <property name="build" location="./build" />          <property name="build" location="./build" />
# Line 75  Line 80 
80          <property name="schemalocation_root" value="http://volute.googlecode.com/svn/trunk/projects/theory/snapdm/xsd/" />          <property name="schemalocation_root" value="http://volute.googlecode.com/svn/trunk/projects/theory/snapdm/xsd/" />
81          <property name="targetnamespace_root" value="http://www.ivoa.net/xml/SNAP/v0.1" />          <property name="targetnamespace_root" value="http://www.ivoa.net/xml/SNAP/v0.1" />
82    
83      <!-- adds README.txt to default excludes -->
84      <defaultexcludes echo="false" add="**/README.txt"/>
85      
86          <!-- checks if input & xslt are modified compare to intermediate document -->          <!-- checks if input & xslt are modified compare to intermediate document -->
87          <uptodate property="intermediate.notRequired">          <uptodate property="intermediate.notRequired">
88                  <srcfiles dir="${input}" includes="${snap_source}" />                  <srcfiles dir="${input}" includes="${snap_source}" />
# Line 197  Line 204 
204    
205                  <!-- do not remove directories to have respect for .svn directories -->                  <!-- do not remove directories to have respect for .svn directories -->
206                  <delete includeemptydirs="false" verbose="true">                  <delete includeemptydirs="false" verbose="true">
207                          <fileset dir="${output}" includes="**/*" excludes="java/**/*"/>                          <fileset dir="${output}">
208            <exclude name="java/**/*"/>
209          </fileset>
210                  </delete>                  </delete>
211    
212                  <echo>cleaned directory : ${output} : done.</echo>                  <echo>cleaned directory : ${output} : done.</echo>
# Line 213  Line 222 
222    
223                  <!-- do not remove directories to have respect for .svn directories -->                  <!-- do not remove directories to have respect for .svn directories -->
224                  <delete includeemptydirs="false" verbose="true">                  <delete includeemptydirs="false" verbose="true">
225                          <fileset dir="${outputJava}" includes="**/*" excludes="metamodel/**/*"/>                          <fileset dir="${outputJava}" />
226                  </delete>                  </delete>
227    
228                  <echo>cleaned directory : ${outputJava} : done.</echo>                  <echo>cleaned directory : ${outputJava} : done.</echo>
# Line 377  Line 386 
386                  </xslt2>                  </xslt2>
387    
388                  <copy verbose="true" todir="${output}/schema" preservelastmodified="true">                  <copy verbose="true" todir="${output}/schema" preservelastmodified="true">
389                          <fileset dir="./xsd" includes="base.xsd" />                          <fileset file="./xsd/base.xsd" />
390                  </copy>                  </copy>
391    
392                  <echo>run_intermediate2xsd : done.</echo>                  <echo>run_intermediate2xsd : done.</echo>

Legend:
Removed from v.464  
changed lines
  Added in v.465

msdemlei@ari.uni-heidelberg.de
ViewVC Help
Powered by ViewVC 1.1.26