bug 1896 : added NAnt build file to exercise the two-phase localisation idea.
This commit is contained in:
parent
5d25331d7b
commit
d196f6b520
21
test.build
Executable file
21
test.build
Executable file
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<project name="ADL" default="test"
|
||||
xmlns="http://nant.sf.net/release/0.85-rc4/nant.xsd"
|
||||
xmlns:nant="http://nant.sf.net/release/0.85-rc4/nant.xsd"
|
||||
>
|
||||
<property name="buildfile.revision" value="$Revision: 1.1 $"/>
|
||||
<property name="adl" value="."/>
|
||||
<property name="transforms" value="${adl}/transforms01"/>
|
||||
<property name="locale" value="fr-FR"/>
|
||||
|
||||
<target name="localise-views"
|
||||
description="create a localised version of adl2views for the current locale">
|
||||
|
||||
<style verbose="true" style="${transforms}/localise-transform.xslt"
|
||||
in="${transforms}/adl2views.xslt"
|
||||
out="${transforms}/adl2views.${locale}.auto.xslt" />
|
||||
</target>
|
||||
|
||||
<target name="test" depends="localise-views"/>
|
||||
|
||||
</project>
|
Loading…
Reference in a new issue