build.xml (c74863a0) | build.xml (180e3c91) |
---|---|
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 --- 18 unchanged lines hidden (view full) --- 27 <property name="junit.home" value="${env.JUNIT_HOME}" /> 28 <property name="dist.dir" value="." /> 29 <property name="dist.name" value="aoo_test" /> 30 <property name="junit.jar.repos" value="http://repo1.maven.org/maven2/junit/junit/4.10/junit-4.10.jar" /> 31 32 <path id="uno.classpath"> 33 <fileset dir="${env.OUTDIR}/bin" erroronmissingdir="false"> 34 <include name="juh.jar" /> | 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 --- 18 unchanged lines hidden (view full) --- 27 <property name="junit.home" value="${env.JUNIT_HOME}" /> 28 <property name="dist.dir" value="." /> 29 <property name="dist.name" value="aoo_test" /> 30 <property name="junit.jar.repos" value="http://repo1.maven.org/maven2/junit/junit/4.10/junit-4.10.jar" /> 31 32 <path id="uno.classpath"> 33 <fileset dir="${env.OUTDIR}/bin" erroronmissingdir="false"> 34 <include name="juh.jar" /> |
35 <include name="noil.jar" /> | 35 <include name="unoil.jar" /> |
36 <include name="ridl.jar" /> 37 <include name="jurt.jar" /> 38 </fileset> 39 <fileset dir="${openoffice.home}" erroronmissingdir="false"> 40 <include name="**/juh.jar" /> 41 <include name="**/unoil.jar" /> 42 <include name="**/ridl.jar" /> 43 <include name="**/jurt.jar" /> --- 103 unchanged lines hidden (view full) --- 147 <path> 148 <fileset dir="${env.SRC_ROOT}/instsetoo_native/${env.INPATH}/OpenOffice/archive/install/en-US" includes="*.tar.gz,*.zip" erroronmissingdir="false"/> 149 </path> 150 </pathconvert> 151 <condition property="test.arg0" value="-Dopenoffice.pack=${openoffice.pack}"> 152 <isset property="openoffice.pack" /> 153 </condition> 154 <fail message="No OpenOffice available!" unless="test.arg0"/> | 36 <include name="ridl.jar" /> 37 <include name="jurt.jar" /> 38 </fileset> 39 <fileset dir="${openoffice.home}" erroronmissingdir="false"> 40 <include name="**/juh.jar" /> 41 <include name="**/unoil.jar" /> 42 <include name="**/ridl.jar" /> 43 <include name="**/jurt.jar" /> --- 103 unchanged lines hidden (view full) --- 147 <path> 148 <fileset dir="${env.SRC_ROOT}/instsetoo_native/${env.INPATH}/OpenOffice/archive/install/en-US" includes="*.tar.gz,*.zip" erroronmissingdir="false"/> 149 </path> 150 </pathconvert> 151 <condition property="test.arg0" value="-Dopenoffice.pack=${openoffice.pack}"> 152 <isset property="openoffice.pack" /> 153 </condition> 154 <fail message="No OpenOffice available!" unless="test.arg0"/> |
155 <condition property="test.executable" value="./test.bat"> | 155 <condition property="test.executable" value="./run.bat"> |
156 <os family="windows" /> 157 </condition> 158 <echo>${test.arg0}</echo> | 156 <os family="windows" /> 157 </condition> 158 <echo>${test.arg0}</echo> |
159 <property name="test.executable" value="./test"/> | 159 <property name="test.executable" value="./run"/> |
160 <exec executable="${test.executable}"> 161 <arg value="${test.arg0}"/> 162 <arg value="-tp"/> 163 <arg value="bvt"/> 164 </exec> 165 </target> 166 167 <target name="upgrade"> --- 15 unchanged lines hidden (view full) --- 183 <target name="upgrade.run"> 184 <property name="testpack.url" value="http://9.123.117.85/testpack/trunk/aoo_test.zip"/> 185 <property name="testack.temp" location="${java.io.tmpdir}/aoo_test.zip"/> 186 <get src="${testpack.url}" dest="${testack.temp}"/> 187 <delete dir="${upgrade.to}" failonerror="false"/> 188 <mkdir dir="${upgrade.to}"/> 189 <unzip src="${testack.temp}" dest="${upgrade.to}"/> 190 </target> | 160 <exec executable="${test.executable}"> 161 <arg value="${test.arg0}"/> 162 <arg value="-tp"/> 163 <arg value="bvt"/> 164 </exec> 165 </target> 166 167 <target name="upgrade"> --- 15 unchanged lines hidden (view full) --- 183 <target name="upgrade.run"> 184 <property name="testpack.url" value="http://9.123.117.85/testpack/trunk/aoo_test.zip"/> 185 <property name="testack.temp" location="${java.io.tmpdir}/aoo_test.zip"/> 186 <get src="${testpack.url}" dest="${testack.temp}"/> 187 <delete dir="${upgrade.to}" failonerror="false"/> 188 <mkdir dir="${upgrade.to}"/> 189 <unzip src="${testack.temp}" dest="${upgrade.to}"/> 190 </target> |
191 192 193 194 <target name="check.build" description="Check the build context"> 195 <condition property="openoffice.pack.dir" value="${env.SRC_ROOT}/instsetoo_native/${env.INPATH}/OpenOffice/archive/install/en-US"> 196 <isset property="env.SRC_ROOT" /> 197 </condition> 198 <condition property="find.build.skip"> 199 <or> 200 <isset property="openoffice.pack.url" /> 201 <isset property="openoffice.pack.dir" /> 202 <isset property="openoffice.home" /> 203 </or> 204 </condition> 205 <condition property="download.build.skip"> 206 <or> 207 <isset property="openoffice.pack.dir" /> 208 <isset property="openoffice.home" /> 209 </or> 210 </condition> 211 <condition property="install.build.skip"> 212 <isset property="openoffice.home" /> 213 </condition> 214 </target> | |
215</project> | 191</project> |