Mercurial > hg > openmind
comparison src/main/resources/build.xml @ 4:8ce07918ec8a
(none)
author | jurzua |
---|---|
date | Wed, 29 Oct 2014 13:30:55 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
3:1e4835334837 | 4:8ce07918ec8a |
---|---|
1 <project name="Script" default="print" basedir="../"> | |
2 | |
3 <path id="om.classpath"> | |
4 <fileset dir="${basedir}/lib"> | |
5 <include name="*.jar" /> | |
6 </fileset> | |
7 </path> | |
8 | |
9 | |
10 <target name="ShowRepositoryName"> | |
11 <java classname="org.mpi.openmind.scripts.ShowRepositoryName" maxmemory="512m" fork="true" failonerror="true"> | |
12 <arg value="" /> | |
13 <classpath> | |
14 <pathelement path="${basedir}/classes" /> | |
15 <path refid="om.classpath" /> | |
16 </classpath> | |
17 </java> | |
18 </target> | |
19 | |
20 <target name="RepositoryName"> | |
21 <java classname="org.mpi.openmind.scripts.RepositoryName" maxmemory="512m" fork="true" failonerror="true"> | |
22 <arg value="" /> | |
23 <classpath> | |
24 <pathelement path="${basedir}/classes" /> | |
25 <path refid="om.classpath" /> | |
26 </classpath> | |
27 </java> | |
28 </target> | |
29 | |
30 <target name="NormalizeOWEntities"> | |
31 <java classname="org.mpi.openmind.scripts.NormalizeOW" maxmemory="1024m" fork="true" failonerror="true"> | |
32 <arg value="ENTITY" /> | |
33 <classpath> | |
34 <pathelement path="${basedir}/classes" /> | |
35 <path refid="om.classpath" /> | |
36 </classpath> | |
37 </java> | |
38 </target> | |
39 | |
40 <target name="NormalizeOWAttributes"> | |
41 <java classname="org.mpi.openmind.scripts.NormalizeOW" maxmemory="1024m" fork="true" failonerror="true"> | |
42 <arg value="ATTRIBUTE" /> | |
43 <classpath> | |
44 <pathelement path="${basedir}/classes" /> | |
45 <path refid="om.classpath" /> | |
46 </classpath> | |
47 </java> | |
48 </target> | |
49 | |
50 <target name="DoubleRelationsShow"> | |
51 <java classname="org.mpi.openmind.scripts.DoubleRelations" maxmemory="1024m" fork="true" failonerror="true"> | |
52 <arg value="SHOW" /> | |
53 <classpath> | |
54 <pathelement path="${basedir}/classes" /> | |
55 <path refid="om.classpath" /> | |
56 </classpath> | |
57 </java> | |
58 </target> | |
59 | |
60 <target name="DoubleRelationsReduce"> | |
61 <java classname="org.mpi.openmind.scripts.DoubleRelations" maxmemory="1024m" fork="true" failonerror="true"> | |
62 <arg value="REDUCE" /> | |
63 <classpath> | |
64 <pathelement path="${basedir}/classes" /> | |
65 <path refid="om.classpath" /> | |
66 </classpath> | |
67 </java> | |
68 </target> | |
69 | |
70 <target name="GenerateWitnessOwnValue"> | |
71 <java classname="org.mpi.openmind.scripts.WitnessOwnValueGenerator" maxmemory="1024m" fork="true" failonerror="true"> | |
72 <arg value="" /> | |
73 <classpath> | |
74 <pathelement path="${basedir}/classes" /> | |
75 <path refid="om.classpath" /> | |
76 </classpath> | |
77 </java> | |
78 </target> | |
79 | |
80 <target name="RoleToRelation"> | |
81 <java classname="org.mpi.openmind.scripts.RoleToRelation" maxmemory="1024m" fork="true" failonerror="true"> | |
82 <arg value="${filePath}" /> | |
83 <classpath> | |
84 <pathelement path="${basedir}/classes" /> | |
85 <path refid="om.classpath" /> | |
86 </classpath> | |
87 </java> | |
88 </target> | |
89 | |
90 <target name="CurrentVersionForRelations"> | |
91 <java classname="org.mpi.openmind.scripts.CurrentVersionForRelations" maxmemory="1024m" fork="true" failonerror="true"> | |
92 <arg value="${filePath}" /> | |
93 <classpath> | |
94 <pathelement path="${basedir}/classes" /> | |
95 <path refid="om.classpath" /> | |
96 </classpath> | |
97 </java> | |
98 </target> | |
99 | |
100 <target name="print"> | |
101 <echo> | |
102 ### SCRIPTS COMMANDS ### | |
103 | |
104 *** commands list *** | |
105 ShowRepositoryName: show the amount of Repositories without name attribute. | |
106 RepositoryName: create an attribute name for all repositories without one. | |
107 NormalizeOWEntities: generate the normalizedOW for the entities marked as CURRENT_VERSION. | |
108 NormalizeOWAttributes: generate the normalizedOW for the attributes marked as CURRENT_VERSION. | |
109 DoubleRelationsShow | |
110 DoubleRelationsReduce | |
111 GenerateWitnessOwnValue | |
112 CurrentVersionForRelations | |
113 RoleToRelation use -DfilePath to set location of the definition's file. | |
114 | |
115 </echo> | |
116 </target> | |
117 | |
118 </project> |