build.xml (eb07ef5f) build.xml (29b55262)
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

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

140
141 <target name="test" depends="compile" description="start test">
142 <!-- Try the specified ${openoffice.home} first -->
143 <condition property="test.arg0" value="-Dopenoffice.home=${openoffice.home}">
144 <isset property="openoffice.home" />
145 </condition>
146
147 <!-- Next try the internal install path that the with-package-format=installed option to configure uses -->
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

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

140
141 <target name="test" depends="compile" description="start test">
142 <!-- Try the specified ${openoffice.home} first -->
143 <condition property="test.arg0" value="-Dopenoffice.home=${openoffice.home}">
144 <isset property="openoffice.home" />
145 </condition>
146
147 <!-- Next try the internal install path that the with-package-format=installed option to configure uses -->
148 <available type="dir" file="${env.SRC_ROOT}/instsetoo_native/${env.INPATH}/Apache_OpenOffice/installed/install/en-US/openoffice4/program"
149 property="internalInstalledDir" value="${env.SRC_ROOT}/instsetoo_native/${env.INPATH}/Apache_OpenOffice/installed/install/en-US/openoffice4/program"/>
150 <condition property="test.arg0" value="-Dopenoffice.home=${internalInstalledDir}">
151 <isset property="internalInstalledDir" />
148 <available type="dir" file="${env.SRC_ROOT}/instsetoo_native/${env.INPATH}/Apache_OpenOffice/installed/install/en-US/openoffice4"
149 property="internalInstalledDirNix" value="${env.SRC_ROOT}/instsetoo_native/${env.INPATH}/Apache_OpenOffice/installed/install/en-US/openoffice4"/>
150 <condition property="test.arg0" value="-Dopenoffice.home=${internalInstalledDirNix}">
151 <isset property="internalInstalledDirNix" />
152 </condition>
152 </condition>
153 <available type="dir" file="${env.SRC_ROOT}/instsetoo_native/${env.INPATH}/Apache_OpenOffice/installed/install/en-US/OpenOffice 4"
154 property="internalInstalledDirWin" value="${env.SRC_ROOT}/instsetoo_native/${env.INPATH}/Apache_OpenOffice/installed/install/en-US/OpenOffice 4"/>
155 <condition property="test.arg0" value="-Dopenoffice.home=${internalInstalledDirWin}">
156 <isset property="internalInstalledDirWin" />
157 </condition>
153
154 <!-- Finally try the tar.gz and zip archives which build by default -->
155 <pathconvert property="openoffice.pack" setonempty="false">
156 <path>
157 <fileset dir="${env.SRC_ROOT}/instsetoo_native/${env.INPATH}/Apache_OpenOffice/archive/install/en-US" includes="*.tar.gz,*.zip" erroronmissingdir="false"/>
158 </path>
159 </pathconvert>
160 <condition property="test.arg0" value="-Dopenoffice.pack=${openoffice.pack}">

--- 15 unchanged lines hidden ---
158
159 <!-- Finally try the tar.gz and zip archives which build by default -->
160 <pathconvert property="openoffice.pack" setonempty="false">
161 <path>
162 <fileset dir="${env.SRC_ROOT}/instsetoo_native/${env.INPATH}/Apache_OpenOffice/archive/install/en-US" includes="*.tar.gz,*.zip" erroronmissingdir="false"/>
163 </path>
164 </pathconvert>
165 <condition property="test.arg0" value="-Dopenoffice.pack=${openoffice.pack}">

--- 15 unchanged lines hidden ---