Project

General

Profile

root / branches / sc50-v2.0 / sources2-0-011 / academic / migr / migrFromTechnOpale1.4.xxx.doss / build.xml @ 322

1
<?xml version="1.0" encoding="UTF-8"?>
2
<project name="Migration TechnOpale 1.4.xxx -> TechnOpale 2.0.000" default="main" basedir=".">
3

    
4
	<restrict id="scenari.wsp.src.all">
5
		<srcNode refid="scenari.wsp.src"/>
6
		<name name="*.*"/>
7
	</restrict>
8
	
9
	<restrict id="scenari.wsp.src.xml">
10
		<srcNode refid="scenari.wsp.src"/>
11
		<or>
12
			<name name="*.xml"/>
13
			<name name="*.applet"/>
14
			<name name="*.mWeb"/>
15
			<name name="*.ref"/>
16
			<name name="*.publi"/>
17
			<name name="*.quiz"/>
18
		</or>
19
	</restrict>
20
	<target name="main">
21
		<echo>####### MIGRATION TechnOpale 1.4.xxx -> TechnOpale 2.0.000</echo>
22
		<!-- ####### MIGRATION Opale 3.2 -->
23
		
24
		
25
		<tstamp><format property="timestamp" pattern="yyMMdd-HHmm"/></tstamp>
26
		
27
		<!-- from migrFromtechnOpale1.4.500 -->
28
		<migrateXsl style="${basedir}/technopale1.4.500/migration.xsl">
29
			<param name="pWspPath" expression="${scenari.wsp.path}"/>
30
			<restrict>
31
				<srcNode refid="scenari.wsp.src"/>
32
				<or>
33
					<name name="*.xml"/>
34
					<name name="*.quiz"/>
35
				</or>
36
			</restrict>
37
		</migrateXsl>
38
		
39
		<!-- from migrFromtechnOpale1.4.998 -->
40
		<migrateXsl style="${basedir}/technopale1.4.998/migration.xsl">
41
			<param name="pWspPath" expression="${scenari.wsp.path}"/>
42
			<restrict>
43
				<srcNode refid="scenari.wsp.src"/>
44
				<or>
45
					<name name="*.xml"/>
46
					<name name="*.quiz"/>
47
				</or>
48
			</restrict>
49
		</migrateXsl>
50

    
51
		<!-- from migrFromtechnOpale1.4.999 -->
52
		<migrateXsl style="${basedir}/technopale1.5.000/eSite.xsl" filterXPath="/sc:item/op:eSite" filterXPathNs="op:utc.fr:ics/opale3;sc:http://www.utc.fr/ics/scenari/v3/core">
53
			<restrict>
54
				<srcNode refid="scenari.wsp.src"/>
55
				<or>
56
					<name name="*.xml"/>
57
				</or>
58
			</restrict>
59
		</migrateXsl>
60

    
61
		<!-- from migrFromtechnOpale1.5.002 -->
62
		<!-- migration des fichier ue  -->
63
		<migrateXsl style="${basedir}/technopale1.6.08/pathToue.xsl" filterXPath="/sc:item/op:ue" filterXPathNs="op:utc.fr:ics/opale3;sc:http://www.utc.fr/ics/scenari/v3/core">
64
			<restrict>
65
				<srcNode refid="scenari.wsp.src"/>
66
				<or>
67
					<name name="*.xml"/>
68
				</or>
69
			</restrict>
70
		</migrateXsl>
71
		<!-- migration des fichier uec -->
72
		<migrateXsl style="${basedir}/technopale1.6.08/pathTouec.xsl" filterXPath="/sc:item/op:uec" filterXPathNs="op:utc.fr:ics/opale3;sc:http://www.utc.fr/ics/scenari/v3/core">
73
			<restrict>
74
				<srcNode refid="scenari.wsp.src"/>
75
				<or>
76
					<name name="*.xml"/>
77
				</or>
78
			</restrict>
79
		</migrateXsl>
80
		
81
		<!-- from migrFromtechnOpale1.6.08 -->
82
		<echo>TechnOpale 1.6.08 ->  TechnOpale 1.7.000 => migration de sp:listing en sp:code ...</echo>
83
		<migrateXsl style="${basedir}/technopale1.7.000/code.xsl" filterXPath="//sp:listing" filterXPathNs="op:utc.fr:ics/opale3;sc:http://www.utc.fr/ics/scenari/v3/core;sp:http://www.utc.fr/ics/scenari/v3/primitive">
84
			<restrict refid="scenari.wsp.src.xml"/>
85
		</migrateXsl>
86
		<echo>TechnOpale 1.6.08 ->  TechnOpale 1.7.000 => migration de sc:uLink en sc:uLink[@role='url'] ...</echo>
87
		<migrateXsl style="${basedir}/technopale1.7.000/url-role.xsl" filterXPath="//sc:uLink[not(@role)]" filterXPathNs="op:utc.fr:ics/opale3;sc:http://www.utc.fr/ics/scenari/v3/core;sp:http://www.utc.fr/ics/scenari/v3/primitive">
88
			<restrict refid="scenari.wsp.src.xml"/>
89
		</migrateXsl>
90
		<echo>TechnOpale 1.6.08 ->  TechnOpale 1.7.000 => migration de sc:uLink[@role='url'] en phrasetag[@role=url] ...</echo>
91
		<migrateXsl style="${basedir}/technopale1.7.000/url-phrase.xsl" filterXPath="//sc:uLink[@role='url' and not(ancestor::op:bibTxt)]" filterXPathNs="op:utc.fr:ics/opale3;sc:http://www.utc.fr/ics/scenari/v3/core;sp:http://www.utc.fr/ics/scenari/v3/primitive">
92
			<restrict refid="scenari.wsp.src.xml"/>
93
		</migrateXsl>
94

    
95
		<echo>TechnOpale 1.6.08 ->  TechnOpale 1.7.000 => migration de binM.model ...</echo>
96
		<migrateXsl style="${basedir}/technopale1.7.000/binM.xsl" filterXPath="//op:binM" filterXPathNs="op:utc.fr:ics/opale3;sc:http://www.utc.fr/ics/scenari/v3/core;sp:http://www.utc.fr/ics/scenari/v3/primitive">
97
			<restrict refid="scenari.wsp.src.xml"/>
98
		</migrateXsl>
99

    
100
		<echo>TechnOpale 1.6.08 ->  TechnOpale 1.7.000 => migration de binAltM.model ...</echo>
101
		<migrateXsl style="${basedir}/technopale1.7.000/binAltM.xsl" filterXPath="//op:binAltM[parent::sfm:avi or parent::sfm:swf or parent::sfm:flv or parent::sfm:mov or parent::sfm:mpg or parent::sfm:rm or parent::sfm:wmv]" filterXPathNs="op:utc.fr:ics/opale3;sc:http://www.utc.fr/ics/scenari/v3/core;sp:http://www.utc.fr/ics/scenari/v3/primitive;sfm:http://www.utc.fr/ics/scenari/v3/filemeta">
102
			<restrict refid="scenari.wsp.src.xml"/>
103
		</migrateXsl>
104

    
105
		<echo>TechnOpale 1.6.08 ->  TechnOpale 1.7.000 => migration de webM, mp4 et mp3 pour accessibilite ...</echo>
106
		<migrateXsl style="${basedir}/technopale1.7.000/metasAlt.xsl" filterXPath="//op:binAltM[parent::sfm:webm or parent::sfm:mp3 or parent::sfm:mp4_f4v]" filterXPathNs="op:utc.fr:ics/opale3;sc:http://www.utc.fr/ics/scenari/v3/core;sp:http://www.utc.fr/ics/scenari/v3/primitive;sfm:http://www.utc.fr/ics/scenari/v3/filemeta">
107
			<restrict refid="scenari.wsp.src.xml"/>
108
		</migrateXsl>
109

    
110
		<echo>TechnOpale 1.6.08 ->  TechnOpale 1.7.000 => migration de pdf, doc, odp, odt, ppt, xls, rtf et zip pour accessibilite...</echo>
111
		<migrateXsl style="${basedir}/technopale1.7.000/metasDoc.xsl" filterXPath="//op:binAltM[parent::sfm:pdf or parent::sfm:doc_docx or parent::sfm:odp or parent::sfm:odt or parent::sfm:ppt_pps_pptx_ppsx or parent::sfm:xls_xlsx or parent::sfm:zip or parent::sfm:rtf]" filterXPathNs="op:utc.fr:ics/opale3;sc:http://www.utc.fr/ics/scenari/v3/core;sp:http://www.utc.fr/ics/scenari/v3/primitive;sfm:http://www.utc.fr/ics/scenari/v3/filemeta">
112
			<restrict refid="scenari.wsp.src.xml"/>
113
		</migrateXsl>
114
		<echo>TechnOpale 1.6.08 ->  TechnOpale 1.7.000 => migration des paramètres de odRoot ...</echo>
115
		<migrateXsl style="${basedir}/technopale1.7.000/odRoot-settings.xsl" filterXPath="//op:odRootM/sp:annsettings" filterXPathNs="op:utc.fr:ics/opale3;sc:http://www.utc.fr/ics/scenari/v3/core;sp:http://www.utc.fr/ics/scenari/v3/primitive">
116
			<restrict>
117
				<srcNode refid="scenari.wsp.src"/>
118
				<name name="*.publi"/>
119
			</restrict>
120
		</migrateXsl>
121
		<echo>TechnOpale 1.6.08 ->  TechnOpale 1.7.000 => migration des parametres de webRoot ...</echo>
122
		<migrateXsl style="${basedir}/technopale1.7.000/webRoot-settings.xsl" filterXPath="//op:webRootM/sp:settings[sp:solution or sp:autoEvalSol]" filterXPathNs="op:utc.fr:ics/opale3;sc:http://www.utc.fr/ics/scenari/v3/core;sp:http://www.utc.fr/ics/scenari/v3/primitive">
123
			<restrict>
124
				<srcNode refid="scenari.wsp.src"/>
125
				<name name="*.publi"/>
126
			</restrict>
127
		</migrateXsl>
128
		<echo>TechnOpale 1.6.08 ->  TechnOpale 1.7.000 => migration des parametres de webRootc ...</echo>
129
		<migrateXsl style="${basedir}/technopale1.7.000/webRootc-settings.xsl" filterXPath="//op:webRootMc/sp:settings[sp:solution or sp:autoEvalSol]" filterXPathNs="op:utc.fr:ics/opale3;sc:http://www.utc.fr/ics/scenari/v3/core;sp:http://www.utc.fr/ics/scenari/v3/primitive">
130
			<restrict>
131
				<srcNode refid="scenari.wsp.src"/>
132
				<name name="*.publi"/>
133
			</restrict>
134
		</migrateXsl>
135
		<echo>TechnOpale 1.6.08 ->  TechnOpale 1.7.000 => Mise en commentaire des elements DC ...</echo>
136
		<migrateXsl style="${basedir}/technopale1.7.000/dc-comment.xsl" filterXPath="//op:dc" filterXPathNs="op:utc.fr:ics/opale3;sc:http://www.utc.fr/ics/scenari/v3/core;sp:http://www.utc.fr/ics/scenari/v3/primitive">
137
			<restrict refid="scenari.wsp.src.xml"/>
138
		</migrateXsl>	
139
		
140
		<!-- from migrFromtechnOpale1.7.000 -->
141
		<echo>technOpale1.7.000 -> technOpale1.8.006 => migration des paramètres de presRoot ...</echo>
142
		<migrateXsl style="${basedir}/technopale1.8.006/presRoot-settings.xsl" filterXPath="//op:presRootM/sp:settings/sp:solution" filterXPathNs="op:utc.fr:ics/opale3;sc:http://www.utc.fr/ics/scenari/v3/core;sp:http://www.utc.fr/ics/scenari/v3/primitive">
143
			<restrict>
144
				<srcNode refid="scenari.wsp.src"/>
145
				<name name="*.publi"/>
146
			</restrict>
147
		</migrateXsl>
148
		<!-- from migrFromtechnOpale1.8.000 -->
149
		<echo>TechnOpale 1.8.006 -> TechnOpale 1.9.000 => migration des paramètres de presRoot ...</echo>
150
		<migrateXsl style="${basedir}/technopale1.8/presRoot-settings.xsl" filterXPath="//op:presRootM/sp:settings/sp:solution" filterXPathNs="op:utc.fr:ics/technopale1;sc:http://www.utc.fr/ics/scenari/v3/core;sp:http://www.utc.fr/ics/scenari/v3/primitive">
151
			<restrict>
152
				<srcNode refid="scenari.wsp.src"/>
153
				<name name="*.publi"/>
154
			</restrict>
155
		</migrateXsl>
156
		
157
		<!-- from migrFromtechnOpale1.9.000 -->
158
		<echo>TechnOpale 1.9.xxx -> TechnOpale 2.0.00 => migration des binaries</echo>
159
		<migrateXsl style="${basedir}/technopale1.9/binaries.xsl" filterXPath="//sfm:png | //sfm:gif | //sfm:jpg_jpeg | //sfm:mp3 | //sfm:oga_ogg | //sfm:mp4_f4v | //sfm:webm" filterXPathNs="sfm:http://www.utc.fr/ics/scenari/v3/filemeta">
160
			<restrict>
161
				<srcNode refid="scenari.wsp.src"/>
162
				<or>
163
					<name name="*.xml" />
164
				</or>
165
			</restrict>
166
		</migrateXsl>
167

    
168
		<echo>TechnOpale 1.9.xxx -> TechnOpale 2.0.00 => migration des qcu/qcm graphiques</echo>
169
		<migrateXsl style="${basedir}/technopale1.9/quiz.xsl" filterXPath="//op:mcgSur | //op:mcgMur" filterXPathNs="op:utc.fr:ics/opale3">
170
			<restrict>
171
				<srcNode refid="scenari.wsp.src"/>
172
				<or>
173
					<name name="*.quiz" />
174
				</or>
175
			</restrict>
176
		</migrateXsl>
177
		
178
			<echo>--- Fin de la migration ---</echo>
179
	</target>
180
	
181
	
182
</project>
    (1-1/1)