forked from lantanagroup/stylesheets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
38 lines (33 loc) · 1.89 KB
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<project name="MyProject" default="dist" basedir=".">
<description> Simple Compilation with 3 Files </description>
<target name="compile">
<property name="cda-style" location="Stylesheets/CDA/cda-style.xsl"/>
<property name="cda-js-dependencies" location="Stylesheets/CDA/cda-js-dependencies.xsl"/>
<!-- Create the massive combined document -->
<xslt in="Stylesheets/CDA/cda.xsl" style="compile.xsl"
out="Stylesheets/CDA/dist/cda.xsl" force="true">
<param name="styleFile" expression="${cda-style}" type="STRING"/>
<param name="jsFile" expression="${cda-js-dependencies}" type="STRING"/>
</xslt>
<!-- Create the web edition -->
<xslt in="Stylesheets/CDA/cda.xsl" style="compile.xsl"
out="Stylesheets/CDA/dist/cda-web.xsl" force="true">
<param name="styleFile" expression="${cda-style}" type="STRING"/>
<param name="jsFile" expression="${cda-js-dependencies}" type="STRING"/>
<!-- Extra Web variables -->
<param name="bootstrap-css-cdn"
expression="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.5/css/bootstrap.min.css"
type="STRING"/>
<param name="bootstrap-js-cdn"
expression="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.5/js/bootstrap.min.js"
type="STRING"/>
<param name="jquery-js-cdn"
expression="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.12.1/jquery.min.js"
type="STRING"/>
<param name="jquery-ui-js-cdn"
expression="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.0/jquery-ui.min.js"
type="STRING"/>
</xslt>
</target>
<target name="dist" depends="compile" description="Generate the CDA Combined File"/>
</project>