Changeset 11907 for trunk/Bui_Utility
- Timestamp:
- 10/18/08 11:32:18 (4 years ago)
- Location:
- trunk/Bui_Utility/modelLocalizer
- Files:
-
- 1 deleted
- 1 edited
-
build.xml (modified) (3 diffs)
-
locModeling.xsl (deleted)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Bui_Utility/modelLocalizer/build.xml
r11850 r11907 41 41 <!-- 42 42 * Ce projet permet d'insérer les balises de localisation dans les items 43 * de type .model,.transf d'un atelier modeling.43 * de type .model,.transf (...) d'un atelier modeling. 44 44 * 45 45 * Propriété à paramétrer : wspSources = path de la racine de l'atelier modeling. … … 48 48 49 49 <property name="wspSources" value="C:\scenari_dev3\sources\Mod_Office\model\sources"/> 50 51 52 <property name="wspDest" value="C:\scenari_dev3\sources\Mod_Office\model\sources2"/> 53 <property name="xsl" value="./locModeling.xsl"/> 50 <property name="xsl" value="../../Wsp_Modeling/_migration/sm_modeling-3.6/migrFrom_sm_modeling-3.5/migrTo_sm_modeling-3.6_3.6.000/locModeling.xsl"/> 54 51 55 52 <target name="all" description="Insertion de la localisation"> … … 70 67 </target> 71 68 72 <!--73 <target name="all" description="Insertion de la localisation">74 <echo message="Insertion de localization dans : '${wspSources}'"/>75 <foreach target="xExecXsl" param="pFile">76 <path>77 <dirset dir="${wspSources}">78 <include name="**/*.wspdef"/>79 <include name="**/*.model"/>80 <include name="**/*.transf"/>81 <include name="**/*.generator"/>82 </dirset>83 </path>84 </foreach>85 </target>86 -->87 88 <target name="xExecXsl" description="Execution d'une XSL">89 <echo message="Execution de la XSL sur '${pFile}'"/>90 <!-- on renomme le fichier pour éviter pb de fichier locké -->91 <move file="${pFile}" tofile="${pFile}.srcXslTmp"/>92 <!-- # on éxécute la XSL -->93 <echo>Localize : ${pFile}</echo>94 <xslt style="${xsl}" in="${pFile}.srcXslTmp" out="${pFile}">95 <!--<outputproperty name="method" value="xml"/>-->96 </xslt>97 <!-- on supprime les fichiers temporaires -->98 <delete file="${tmp.fileToModifyPath}.srcXslTmp" failonerror="false"/>99 </target>100 101 69 </project> 102 70
Note: See TracChangeset
for help on using the changeset viewer.