build.xml (4aa87146) | build.xml (6ad462b0) |
---|---|
1<?xml version="1.0" encoding="UTF-8"?> 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 --- 7 unchanged lines hidden (view full) --- 16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 * KIND, either express or implied. See the License for the 18 * specific language governing permissions and limitations 19 * under the License. 20 * 21 ***********************************************************--> 22 23 | 1<?xml version="1.0" encoding="UTF-8"?> 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 --- 7 unchanged lines hidden (view full) --- 16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 * KIND, either express or implied. See the License for the 18 * specific language governing permissions and limitations 19 * under the License. 20 * 21 ***********************************************************--> 22 23 |
24<project name="smoketest" default="smoketest"> | 24<project name="smoketest" default="smoketest" xmlns:if="ant:if" xmlns:unless="ant:unless"> |
25 <dirname property="project.dir" file="${ant.file.smoketest}"/> | 25 <dirname property="project.dir" file="${ant.file.smoketest}"/> |
26 <property file="${project.dir}/../../main/ant.properties"/> | |
27 | 26 |
27 <property name="SRC_ROOT" value="${project.dir}/../../main" /> |
|
28 <property name="data.dir" value="${project.dir}/data"/> 29 <property name="build.base.dir" value="${project.dir}/target"/> 30 <property name="jar.dir" value="${build.base.dir}/TestExtension"/> | 28 <property name="data.dir" value="${project.dir}/data"/> 29 <property name="build.base.dir" value="${project.dir}/target"/> 30 <property name="jar.dir" value="${build.base.dir}/TestExtension"/> |
31 <import file="${SRC_ROOT}/solenv/ant/aoo-ant.xml"/> | |
32 | 31 |
32 <import file="${project.dir}/aoo-ant.xml"/> 33 |
|
33 <target name="init-project"> 34 <property name="jar.name" value="TestExtension"/> 35 <property name="jar.manifest" value="${project.dir}/MANIFEST.MF"/> 36 <mkdir dir="${build.base.dir}/TestExtension"/> 37 38 <path id="main.classpath"> | 34 <target name="init-project"> 35 <property name="jar.name" value="TestExtension"/> 36 <property name="jar.manifest" value="${project.dir}/MANIFEST.MF"/> 37 <mkdir dir="${build.base.dir}/TestExtension"/> 38 39 <path id="main.classpath"> |
39 <pathelement location="${OUTDIR}/bin/juh.jar"/> 40 <pathelement location="${OUTDIR}/bin/jurt.jar"/> 41 <pathelement location="${OUTDIR}/bin/ridl.jar"/> 42 <pathelement location="${OUTDIR}/bin/unoil.jar"/> | 40 <pathelement location="${openoffice.home}/program/classes/juh.jar"/> 41 <pathelement location="${openoffice.home}/program/classes/jurt.jar"/> 42 <pathelement location="${openoffice.home}/program/classes/ridl.jar"/> 43 <pathelement location="${openoffice.home}/program/classes/unoil.jar"/> |
43 </path> 44 </target> 45 46 <target name="pre-clean"> 47 <delete dir="${project.dir}/target"/> 48 </target> 49 50 <target name="smoketestdoc"> --- 37 unchanged lines hidden (view full) --- 88 <target name="TestExtension" depends="main,smoketestdoc"> 89 <copy tofile="${build.base.dir}/TestExtension/TestExtension.rdb" file="${idl.build.dir}/registry.rdb"/> 90 <mkdir dir="${build.base.dir}/TestExtension/META-INF"/> 91 <copy todir="${build.base.dir}/TestExtension/META-INF" file="${project.dir}/manifest.xml"/> 92 <zip destfile="${build.base.dir}/TestExtension.oxt" basedir="${build.base.dir}/TestExtension"/> 93 </target> 94 95 <target name="smoketest" depends="smoketestdoc,TestExtension"/> | 44 </path> 45 </target> 46 47 <target name="pre-clean"> 48 <delete dir="${project.dir}/target"/> 49 </target> 50 51 <target name="smoketestdoc"> --- 37 unchanged lines hidden (view full) --- 89 <target name="TestExtension" depends="main,smoketestdoc"> 90 <copy tofile="${build.base.dir}/TestExtension/TestExtension.rdb" file="${idl.build.dir}/registry.rdb"/> 91 <mkdir dir="${build.base.dir}/TestExtension/META-INF"/> 92 <copy todir="${build.base.dir}/TestExtension/META-INF" file="${project.dir}/manifest.xml"/> 93 <zip destfile="${build.base.dir}/TestExtension.oxt" basedir="${build.base.dir}/TestExtension"/> 94 </target> 95 96 <target name="smoketest" depends="smoketestdoc,TestExtension"/> |
97 |
|
96</project> 97 | 98</project> 99 |