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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 67 - (show annotations)
Wed Feb 20 19:39:48 2008 UTC (12 years, 9 months ago) by richard.p.wagner
File MIME type: text/xml
File size: 1597 byte(s)
Initial creation and import of the theory data model.
1 <?xml version="1.0" ?>
2
3 <project name="Snap DM Transformer" default="makeAll" basedir=".">
4 <description>
5 Transformer tool for SNAP DM (UML model) in XML schemas and documentation
6 </description>
7
8 <!-- set global properties for this build -->
9 <property name="input" location="./input" />
10 <property name="output" location="./output" />
11 <property name="res" location="./res" />
12
13 <property name="source" value="SNAP_Simulation_DM.xml" />
14 <property name="source_filtered" value="SNAP_Simulation_DM_FILTER.xml" />
15 <property name="out_schema" value="SNAP-xmi.xsd" />
16
17
18 <target name="makeAll" depends="filterSource, genXSD" description="make all transformations">
19
20 <echo>makeAll : done</echo>
21
22 </target>
23
24
25
26
27 <!-- target filterSource : remove all xmi:Extension tags in source document -->
28 <target name="filterSource" description="remove all xmi:Extension tags in source document">
29
30 <echo>filterSource : starting filter on file ${input}/${source}</echo>
31
32 <xslt in="${input}/${source}" out="${output}/${source_filtered}" force="true" style="${res}/xmiFilter.xsl" />
33
34 <echo>filterSource : done </echo>
35
36 </target>
37
38
39
40
41 <!-- target genXSD : generates XML schemas from UML Model as xmi document -->
42 <target name="genXSD" description="generates XML schemas from UML Model as xmi document">
43
44 <echo>genXSD : starting generate XSD from file ${output}/${source_filtered}</echo>
45
46 <xslt in="${output}/${source_filtered}" out="${output}/${out_schema}" force="true" style="${res}/xmi2xsd.xsl" />
47
48 <echo>genXSD : done </echo>
49
50 </target>
51
52 </project>

Properties

Name Value
svn:executable *

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