build.xml (a622bb93) build.xml (4aa87146)
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

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

36 <mkdir dir="${build.base.dir}/TestExtension"/>
37
38 <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"/>
43 </path>
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

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

36 <mkdir dir="${build.base.dir}/TestExtension"/>
37
38 <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"/>
43 </path>
44
45 <filelist id="idl.files">
46 <file name="${main.src.dir}/com/sun/star/comp/smoketest/TestExtension.idl"/>
47 </filelist>
48 </target>
49
50 <target name="pre-clean">
51 <delete dir="${project.dir}/target"/>
52 </target>
53
54 <target name="smoketestdoc">
55 <mkdir dir="${project.dir}/target/smoketestdoc"/>

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

85 <file name="${data.dir}/dialog-lb.xml"/>
86 <file name="${data.dir}/OptionsDlg.xml"/>
87 </resources>
88 </copy>
89 <zip destfile="${project.dir}/target/smoketestdoc.odt" basedir="${project.dir}/target/smoketestdoc" filesonly="true"/>
90 </target>
91
92 <target name="TestExtension" depends="main,smoketestdoc">
44 </target>
45
46 <target name="pre-clean">
47 <delete dir="${project.dir}/target"/>
48 </target>
49
50 <target name="smoketestdoc">
51 <mkdir dir="${project.dir}/target/smoketestdoc"/>

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

81 <file name="${data.dir}/dialog-lb.xml"/>
82 <file name="${data.dir}/OptionsDlg.xml"/>
83 </resources>
84 </copy>
85 <zip destfile="${project.dir}/target/smoketestdoc.odt" basedir="${project.dir}/target/smoketestdoc" filesonly="true"/>
86 </target>
87
88 <target name="TestExtension" depends="main,smoketestdoc">
93 <copy tofile="${build.base.dir}/TestExtension/TestExtension.rdb" file="${idl.rdb.build.dir}/registry.rdb"/>
89 <copy tofile="${build.base.dir}/TestExtension/TestExtension.rdb" file="${idl.build.dir}/registry.rdb"/>
94 <mkdir dir="${build.base.dir}/TestExtension/META-INF"/>
95 <copy todir="${build.base.dir}/TestExtension/META-INF" file="${project.dir}/manifest.xml"/>
96 <zip destfile="${build.base.dir}/TestExtension.oxt" basedir="${build.base.dir}/TestExtension"/>
97 </target>
98
99 <target name="smoketest" depends="smoketestdoc,TestExtension"/>
100</project>
101
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"/>
96</project>
97