Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 121 lines (101 sloc) 5.146 kb
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored
1 <?xml version="1.0" ?>
2
5d1c05b Separate packaging from building in ant build; force clean before pac…
Jason Johnston authored
3 <project name="PIE" default="build" basedir=".">
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored
4
07d5b65 Bump version number
Jason Johnston authored
5 <property name="version" value="1.0beta3-SNAPSHOT" />
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored
6 <property name="build_dir" value="./build" />
7 <property name="src_dir" value="./sources" />
8
d62b0c9 Add creation of distributable zip package to build script
Jason Johnston authored
9 <target name="clean">
10 <delete dir="${build_dir}" />
11 </target>
12
5d1c05b Separate packaging from building in ant build; force clean before pac…
Jason Johnston authored
13 <target name="build-uncompressed">
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored
14 <mkdir dir="${build_dir}" />
15 <concat destfile="${build_dir}/script_uncompressed.js">
16 <fileset file="${src_dir}/PIE_open.js" />
17 <fileset file="${src_dir}/Util.js" />
4045a50 Implement lazy initialization. Elements which are outside the browser…
Jason Johnston authored
18 <fileset file="${src_dir}/Observable.js" />
19 <fileset file="${src_dir}/Heartbeat.js" />
828dac6 When printing, revert all elements to their default non-CSS3 state, t…
Jason Johnston authored
20 <fileset file="${src_dir}/OnBeforeUnload.js" />
dc459e6 Move the .htc event listeners and event handling logic into an Elemen…
Jason Johnston authored
21 <fileset file="${src_dir}/OnResize.js" />
828dac6 When printing, revert all elements to their default non-CSS3 state, t…
Jason Johnston authored
22 <fileset file="${src_dir}/OnScroll.js" />
23 <fileset file="${src_dir}/OnPrint.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored
24 <fileset file="${src_dir}/Length.js" />
25 <fileset file="${src_dir}/BgPosition.js" />
26 <fileset file="${src_dir}/Angle.js" />
27 <fileset file="${src_dir}/Color.js" />
28 <fileset file="${src_dir}/Tokenizer.js" />
04ed5d5 Move all accesses of element dimensions into a new BoundsInfo object,…
Jason Johnston authored
29 <fileset file="${src_dir}/BoundsInfo.js" />
d6baacf Abstract out the creation of StyleInfo classes. ~300 byte file size i…
Jason Johnston authored
30 <fileset file="${src_dir}/StyleInfoBase.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored
31 <fileset file="${src_dir}/BackgroundStyleInfo.js" />
32 <fileset file="${src_dir}/BorderStyleInfo.js" />
33 <fileset file="${src_dir}/BorderRadiusStyleInfo.js" />
34 <fileset file="${src_dir}/BorderImageStyleInfo.js" />
35 <fileset file="${src_dir}/BoxShadowStyleInfo.js" />
bf3d9f2 Fix bug where css3 renderings would not get updated when the target e…
Jason Johnston authored
36 <fileset file="${src_dir}/VisibilityStyleInfo.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored
37 <fileset file="${src_dir}/RendererBase.js" />
38 <fileset file="${src_dir}/RootRenderer.js" />
37db46d Split background and border rendering into separate renderers; beside…
Jason Johnston authored
39 <fileset file="${src_dir}/BackgroundRenderer.js" />
40 <fileset file="${src_dir}/BorderRenderer.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored
41 <fileset file="${src_dir}/BorderImageRenderer.js" />
ad351e8 Split box-shadow renderer into two renderers for outset and inset sha…
Jason Johnston authored
42 <fileset file="${src_dir}/BoxShadowOutsetRenderer.js" />
43 <fileset file="${src_dir}/BoxShadowInsetRenderer.js" />
dc459e6 Move the .htc event listeners and event handling logic into an Elemen…
Jason Johnston authored
44 <fileset file="${src_dir}/Element.js" />
45 <fileset file="${src_dir}/PIE_API.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored
46 <fileset file="${src_dir}/PIE_close.js" />
47 </concat>
48
49 <concat destfile="${build_dir}/PIE_uncompressed.htc">
50 <fileset file="${src_dir}/htc_open.txt" />
51 <fileset file="${build_dir}/script_uncompressed.js" />
dc459e6 Move the .htc event listeners and event handling logic into an Elemen…
Jason Johnston authored
52 <fileset file="${src_dir}/htc_init.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored
53 <fileset file="${src_dir}/htc_close.txt" />
54 </concat>
743eb63 Add build number to comment top of htc file
Jason Johnston authored
55
dc459e6 Move the .htc event listeners and event handling logic into an Elemen…
Jason Johnston authored
56 <concat destfile="${build_dir}/PIE_uncompressed.js">
57 <fileset file="${src_dir}/js_open.js" />
58 <fileset file="${build_dir}/script_uncompressed.js" />
59 <fileset file="${src_dir}/js_close.js" />
60 </concat>
61
743eb63 Add build number to comment top of htc file
Jason Johnston authored
62 <replace file="${build_dir}/PIE_uncompressed.htc" token="$Version$" value="${version}"/>
dc459e6 Move the .htc event listeners and event handling logic into an Elemen…
Jason Johnston authored
63 <replace file="${build_dir}/PIE_uncompressed.js" token="$Version$" value="${version}"/>
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored
64 </target>
65
5d1c05b Separate packaging from building in ant build; force clean before pac…
Jason Johnston authored
66 <target name="build-compressed" depends="build-uncompressed">
f83e0b1 Switch to Closure Compiler, using advanced optimizations mode. Lots o…
Jason Johnston authored
67 <exec executable="java">
68 <arg line='-jar tools/compiler.jar
69 --js ${build_dir}/script_uncompressed.js
70 --js ${src_dir}/closure_preservefunctions.js
71 --module "script_compressed:1"
72 --module "temp:1"
73 --module_output_path_prefix ${build_dir}/
74 --compilation_level ADVANCED_OPTIMIZATIONS
75 --externs ${src_dir}/closure_externs.js' />
76 </exec>
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored
77
f83e0b1 Switch to Closure Compiler, using advanced optimizations mode. Lots o…
Jason Johnston authored
78 <!--
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored
79 <exec executable="yuicompressor">
80 <arg line="${build_dir}/script_uncompressed.js -o ${build_dir}/script_compressed.js" />
81 </exec>
f83e0b1 Switch to Closure Compiler, using advanced optimizations mode. Lots o…
Jason Johnston authored
82 -->
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored
83
84 <concat destfile="${build_dir}/PIE.htc">
85 <fileset file="${src_dir}/htc_open.txt" />
86 <fileset file="${build_dir}/script_compressed.js" />
dc459e6 Move the .htc event listeners and event handling logic into an Elemen…
Jason Johnston authored
87 <fileset file="${src_dir}/htc_init.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored
88 <fileset file="${src_dir}/htc_close.txt" />
89 </concat>
1531a07 Add PHP wrapper as workaround for web servers which are not configure…
Jason Johnston authored
90
dc459e6 Move the .htc event listeners and event handling logic into an Elemen…
Jason Johnston authored
91 <concat destfile="${build_dir}/PIE.js">
92 <fileset file="${src_dir}/js_open.js" />
93 <fileset file="${build_dir}/script_compressed.js" />
94 <fileset file="${src_dir}/js_close.js" />
95 </concat>
96
743eb63 Add build number to comment top of htc file
Jason Johnston authored
97 <replace file="${build_dir}/PIE.htc" token="$Version$" value="${version}"/>
dc459e6 Move the .htc event listeners and event handling logic into an Elemen…
Jason Johnston authored
98 <replace file="${build_dir}/PIE.js" token="$Version$" value="${version}"/>
743eb63 Add build number to comment top of htc file
Jason Johnston authored
99
1531a07 Add PHP wrapper as workaround for web servers which are not configure…
Jason Johnston authored
100 <delete file="${build_dir}/temp.js" />
101 <delete file="${build_dir}/script_uncompressed.js" />
102 <delete file="${build_dir}/script_compressed.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored
103 </target>
104
1531a07 Add PHP wrapper as workaround for web servers which are not configure…
Jason Johnston authored
105
106 <target name="copy-wrappers">
107 <copy todir="${build_dir}">
108 <fileset dir="${src_dir}/wrappers" />
109 </copy>
110 </target>
111
112
5d1c05b Separate packaging from building in ant build; force clean before pac…
Jason Johnston authored
113 <target name="build" depends="build-uncompressed,build-compressed" />
114
115 <target name="package" depends="clean,build,copy-wrappers">
d62b0c9 Add creation of distributable zip package to build script
Jason Johnston authored
116 <!-- Create distribution bundle -->
117 <zip destfile="${build_dir}/PIE.zip" basedir="${build_dir}"/>
118 </target>
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored
119
120 </project>
Something went wrong with that request. Please try again.