| Line 54... |
Line 54... |
| 54 |
<pathelement location="${thirdparty.location}/readonly/apache/log4j/log4j-1.2.16.jar"/>
|
54 |
<pathelement location="${thirdparty.location}/readonly/apache/log4j/log4j-1.2.16.jar"/>
|
| 55 |
<pathelement location="${thirdparty.location}/readonly/apache/commons-codec-1.4/commons-codec-1.4.jar"/>
|
55 |
<pathelement location="${thirdparty.location}/readonly/apache/commons-codec-1.4/commons-codec-1.4.jar"/>
|
| 56 |
<pathelement location="${thirdparty.location}/Common.jar"/>
|
56 |
<pathelement location="${thirdparty.location}/Common.jar"/>
|
| 57 |
<pathelement location="${thirdparty.location}/ThriftConfig.jar"/>
|
57 |
<pathelement location="${thirdparty.location}/ThriftConfig.jar"/>
|
| 58 |
<pathelement location="${thirdparty.location}/readonly/payment/payments.jar"/>
|
58 |
<pathelement location="${thirdparty.location}/readonly/payment/payments.jar"/>
|
| - |
|
59 |
<pathelement location="${thirdparty.location}/readonly/yuicompressor-2.4.2/yuicompressor-2.4.2.jar"/>
|
| 59 |
|
60 |
|
| 60 |
</path>
|
61 |
</path>
|
| 61 |
|
62 |
|
| 62 |
<filelist id="Website.libs">
|
63 |
<filelist id="Website.libs">
|
| 63 |
<file name="${thirdparty.location}/readonly/apache/commons-collections-3.2.1/commons-collections-3.2.1.jar"/>
|
64 |
<file name="${thirdparty.location}/readonly/apache/commons-collections-3.2.1/commons-collections-3.2.1.jar"/>
|
| Line 85... |
Line 86... |
| 85 |
<file name="${thirdparty.location}/readonly/apache/thrift-0.2.0/libthrift.jar"/>
|
86 |
<file name="${thirdparty.location}/readonly/apache/thrift-0.2.0/libthrift.jar"/>
|
| 86 |
<file name="${thirdparty.location}/readonly/slf4j/slf4j-api-1.5.8.jar"/>
|
87 |
<file name="${thirdparty.location}/readonly/slf4j/slf4j-api-1.5.8.jar"/>
|
| 87 |
<file name="${thirdparty.location}/readonly/slf4j/slf4j-simple-1.5.8.jar"/>
|
88 |
<file name="${thirdparty.location}/readonly/slf4j/slf4j-simple-1.5.8.jar"/>
|
| 88 |
<file name="${thirdparty.location}/readonly/apache/log4j/log4j-1.2.16.jar"/>
|
89 |
<file name="${thirdparty.location}/readonly/apache/log4j/log4j-1.2.16.jar"/>
|
| 89 |
<file name="${thirdparty.location}/readonly/apache/commons-codec-1.4/commons-codec-1.4.jar"/>
|
90 |
<file name="${thirdparty.location}/readonly/apache/commons-codec-1.4/commons-codec-1.4.jar"/>
|
| 90 |
<file name="${thirdparty.location}/Common.jar"/>
|
91 |
<file name="${thirdparty.location}/Common.jar"/>
|
| 91 |
<file name="${thirdparty.location}/ThriftConfig.jar"/>
|
92 |
<file name="${thirdparty.location}/ThriftConfig.jar"/>
|
| 92 |
|
- |
|
| 93 |
|
- |
|
| 94 |
<file name="${thirdparty.location}/readonly/payment/payments.jar"/>
|
93 |
<file name="${thirdparty.location}/readonly/payment/payments.jar"/>
|
| - |
|
94 |
<file name="${thirdparty.location}/readonly/yuicompressor-2.4.2/yuicompressor-2.4.2.jar"/>
|
| 95 |
|
95 |
|
| 96 |
|
96 |
|
| 97 |
|
97 |
|
| 98 |
</filelist>
|
98 |
</filelist>
|
| 99 |
|
99 |
|
| Line 117... |
Line 117... |
| 117 |
|
117 |
|
| 118 |
-->
|
118 |
-->
|
| 119 |
<target name="init" depends="clean" description="Create build directory">
|
119 |
<target name="init" depends="clean" description="Create build directory">
|
| 120 |
|
120 |
|
| 121 |
<mkdir dir="${build.home}" />
|
121 |
<mkdir dir="${build.home}" />
|
| - |
|
122 |
<property name="yuic" location="${thirdparty.location}/readonly/yuicompressor-2.4.2/yuicompressor-2.4.2.jar"/>
|
| 122 |
|
123 |
|
| 123 |
</target>
|
124 |
</target>
|
| 124 |
|
125 |
|
| 125 |
<!-- ==================== Compile Target ================================== -->
|
126 |
<!-- ==================== Compile Target ================================== -->
|
| 126 |
|
127 |
|
| Line 141... |
Line 142... |
| 141 |
<javac srcdir="${source.home}"
|
142 |
<javac srcdir="${source.home}"
|
| 142 |
destdir="${build.home}/WEB-INF/classes"
|
143 |
destdir="${build.home}/WEB-INF/classes"
|
| 143 |
debug="${compile.debug}"
|
144 |
debug="${compile.debug}"
|
| 144 |
deprecation="${compile.deprecation}"
|
145 |
deprecation="${compile.deprecation}"
|
| 145 |
optimize="${compile.optimize}"
|
146 |
optimize="${compile.optimize}"
|
| 146 |
source="1.6" target="1.6">
|
147 |
source="1.6" target="1.6">
|
| 147 |
<classpath refid="Website.classpath"/>
|
148 |
<classpath refid="Website.classpath"/>
|
| 148 |
</javac>
|
149 |
</javac>
|
| 149 |
<javac srcdir="${conf.home}"
|
150 |
<javac srcdir="${conf.home}"
|
| 150 |
destdir="${build.home}/WEB-INF/classes"
|
151 |
destdir="${build.home}/WEB-INF/classes"
|
| 151 |
debug="${compile.debug}"
|
152 |
debug="${compile.debug}"
|
| Line 174... |
Line 175... |
| 174 |
</copy>
|
175 |
</copy>
|
| 175 |
|
176 |
|
| 176 |
<copy todir="${build.home}/WEB-INF/lib">
|
177 |
<copy todir="${build.home}/WEB-INF/lib">
|
| 177 |
<filelist refid="Website.libs"/>
|
178 |
<filelist refid="Website.libs"/>
|
| 178 |
<mapper type="flatten"/>
|
179 |
<mapper type="flatten"/>
|
| 179 |
|
- |
|
| 180 |
</copy>
|
180 |
</copy>
|
| - |
|
181 |
|
| - |
|
182 |
<!--Join css files -->
|
| - |
|
183 |
<concat destfile="${build.home}/css/saholic.css">
|
| - |
|
184 |
<filelist dir="${build.home}/css" files="style.css,common.css,nav.css,widget.css,demoStyles.css,
|
| - |
|
185 |
widget.css,demoStyles.css,product.css,cart.css,myaccount.css,gc_safari.css"/>
|
| - |
|
186 |
</concat>
|
| - |
|
187 |
<!--Minify js files -->
|
| - |
|
188 |
<apply executable="java" dest="${build.home}/css" parallel="false">
|
| - |
|
189 |
<filelist dir="${build.home}/css" files="saholic.css" />
|
| - |
|
190 |
<arg line="-jar" />
|
| - |
|
191 |
<arg path="${yuic}" />
|
| - |
|
192 |
<srcfile />
|
| - |
|
193 |
<arg line="-o" />
|
| - |
|
194 |
<mapper type="glob" from="*.css" to="*-min.css" />
|
| - |
|
195 |
<targetfile />
|
| - |
|
196 |
</apply>
|
| - |
|
197 |
|
| - |
|
198 |
<!--Join js files -->
|
| - |
|
199 |
<concat destfile="${build.home}/js/saholic.js">
|
| - |
|
200 |
<!--filelist dir="${build.home}/js" files="jquery-1.4.2.js,jquery-ui.min.js,loginpop.js,all.js,charLimit.js,
|
| - |
|
201 |
jsapi.js,gallery.js,scrolltab.js,widget_slidetab.js,custom-jquery.js,myaccount.js,jquery.number_format.js
|
| - |
|
202 |
jquery.validate.js,jquery.tipsy.js,loopedslider.js,widget_accordion.js,shippingAddress.js,productCategory.js
|
| - |
|
203 |
"/-->
|
| - |
|
204 |
<filelist dir="${build.home}/js" files="widget_accordion.js,shippingAddress.js"/>
|
| - |
|
205 |
</concat>
|
| - |
|
206 |
<!--Minify js files -->
|
| - |
|
207 |
<apply executable="java" dest="${build.home}/js" parallel="false">
|
| - |
|
208 |
<filelist dir="${build.home}/js" files="saholic.js" />
|
| - |
|
209 |
<arg line="-jar" />
|
| - |
|
210 |
<arg path="${yuic}" />
|
| - |
|
211 |
<srcfile />
|
| - |
|
212 |
<arg line="-o" />
|
| - |
|
213 |
<mapper type="glob" from="*.js" to="*-min.js" />
|
| - |
|
214 |
<targetfile />
|
| - |
|
215 |
</apply>
|
| - |
|
216 |
|
| 181 |
</target>
|
217 |
</target>
|
| 182 |
|
218 |
|
| 183 |
<!-- ==================== Archive Target ================================== -->
|
219 |
<!-- ==================== Archive Target ================================== -->
|
| 184 |
|
220 |
|
| 185 |
<!--
|
221 |
<!--
|