Add ability to change handlebars path in build.xml

This commit is contained in:
Dmitriy Simushev 2013-02-18 10:10:16 +00:00
parent 1a79be3970
commit d2b3fe7746

View File

@ -3,6 +3,7 @@
<property name="webim_path" value="webim" /> <property name="webim_path" value="webim" />
<property name="closure.c" value="/opt/closure/compiler.jar" /> <property name="closure.c" value="/opt/closure/compiler.jar" />
<property name="handlebars" value="handlebars" />
<property name="dialogs_styles_path" value="${webim_path}/styles/dialogs" /> <property name="dialogs_styles_path" value="${webim_path}/styles/dialogs" />
<property name="js_path" value="${webim_path}/js" /> <property name="js_path" value="${webim_path}/js" />
@ -31,7 +32,7 @@
<echo>Compile Handlebars templates for dialogs styles</echo> <echo>Compile Handlebars templates for dialogs styles</echo>
<!-- Compile templates --> <!-- Compile templates -->
<apply executable="handlebars"> <apply executable="${handlebars}">
<arg value="-m"/> <arg value="-m"/>
<arg value="-f"/> <arg value="-f"/>
<targetfile /> <targetfile />
@ -326,7 +327,7 @@
<target name="core_handlebars"> <target name="core_handlebars">
<echo>Compile Handlebars templates of the Core</echo> <echo>Compile Handlebars templates of the Core</echo>
<!-- Build applications templates --> <!-- Build applications templates -->
<apply executable="handlebars"> <apply executable="${handlebars}">
<arg value="-m"/> <arg value="-m"/>
<arg value="-f"/> <arg value="-f"/>
<targetfile /> <targetfile />
@ -337,7 +338,7 @@
</apply> </apply>
<!-- Build misc files --> <!-- Build misc files -->
<apply executable="handlebars"> <apply executable="${handlebars}">
<arg value="-m"/> <arg value="-m"/>
<arg value="-f"/> <arg value="-f"/>
<targetfile /> <targetfile />