build.xml (adc0d9c1) build.xml (864de7b8)
1<?xml version="1.0"?>
2<!--***********************************************************
3 *
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements. See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership. The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the

--- 130 unchanged lines hidden (view full) ---

139 </target>
140
141 <target name="test" depends="compile" description="start test">
142 <condition property="test.arg0" value="-Dopenoffice.home=${openoffice.home}">
143 <isset property="openoffice.home" />
144 </condition>
145 <pathconvert property="openoffice.pack" setonempty="false">
146 <path>
1<?xml version="1.0"?>
2<!--***********************************************************
3 *
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements. See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership. The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the

--- 130 unchanged lines hidden (view full) ---

139 </target>
140
141 <target name="test" depends="compile" description="start test">
142 <condition property="test.arg0" value="-Dopenoffice.home=${openoffice.home}">
143 <isset property="openoffice.home" />
144 </condition>
145 <pathconvert property="openoffice.pack" setonempty="false">
146 <path>
147 <fileset dir="${env.SRC_ROOT}/instsetoo_native/${env.INPATH}/OpenOffice/archive/install/en-US" includes="*.tar.gz,*.zip" erroronmissingdir="false"/>
147 <fileset dir="${env.SRC_ROOT}/instsetoo_native/${env.INPATH}/Apache_OpenOffice/archive/install/en-US" includes="*.tar.gz,*.zip" erroronmissingdir="false"/>
148 </path>
149 </pathconvert>
150 <condition property="test.arg0" value="-Dopenoffice.pack=${openoffice.pack}">
151 <isset property="openoffice.pack" />
152 </condition>
153 <fail message="No OpenOffice available!" unless="test.arg0"/>
154 <condition property="test.executable" value="./run.bat">
155 <os family="windows" />
156 </condition>
157 <property name="test.executable" value="./run"/>
158 <property name="test.args" value="-tp bvt"/>
159 <exec executable="${test.executable}">
160 <arg value="${test.arg0}"/>
161 <arg line="${test.args}"/>
162 </exec>
163 </target>
164</project>
148 </path>
149 </pathconvert>
150 <condition property="test.arg0" value="-Dopenoffice.pack=${openoffice.pack}">
151 <isset property="openoffice.pack" />
152 </condition>
153 <fail message="No OpenOffice available!" unless="test.arg0"/>
154 <condition property="test.executable" value="./run.bat">
155 <os family="windows" />
156 </condition>
157 <property name="test.executable" value="./run"/>
158 <property name="test.args" value="-tp bvt"/>
159 <exec executable="${test.executable}">
160 <arg value="${test.arg0}"/>
161 <arg line="${test.args}"/>
162 </exec>
163 </target>
164</project>