build.xml (b63233d8) | build.xml (a98dafeb) |
---|---|
1<?xml version="1.0" encoding="UTF-8"?> 2<!--*********************************************************** | 1<?xml version="1.0" encoding="UTF-8"?> 2<!--*********************************************************** |
3 * | 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 9 * "License"); you may not use this file except in compliance 10 * with the License. You may obtain a copy of the License at | 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 9 * "License"); you may not use this file except in compliance 10 * with the License. You may obtain a copy of the License at |
11 * | 11 * |
12 * http://www.apache.org/licenses/LICENSE-2.0 | 12 * http://www.apache.org/licenses/LICENSE-2.0 |
13 * | 13 * |
14 * Unless required by applicable law or agreed to in writing, 15 * software distributed under the License is distributed on an 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. | 14 * Unless required by applicable law or agreed to in writing, 15 * software distributed under the License is distributed on an 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 * | 20 * |
21 ***********************************************************--> 22 23 24<project default="all"> 25 <target name="init"> 26 <property environment="env"/> 27 <property name="ext" value="oxt"/> 28 <property name="officeroot" value="/export/home/mav/OFFICES/OOG680/m5_netbeans_pro"/> --- 89 unchanged lines hidden (view full) --- 118 <filter token="WIKIEXTENSIONID" value="com.sun.wiki-publisher"/> 119 <filter token="WIKIEXTENSIONFILENAME" value="${name}"/> 120 </filterset> 121 </copy> 122 </target> 123 124 <target name="uno-package" depends="tmpdir, xcumerge, jar, init"> 125 <delete file="${dist}/${name}.${ext}"/> | 21 ***********************************************************--> 22 23 24<project default="all"> 25 <target name="init"> 26 <property environment="env"/> 27 <property name="ext" value="oxt"/> 28 <property name="officeroot" value="/export/home/mav/OFFICES/OOG680/m5_netbeans_pro"/> --- 89 unchanged lines hidden (view full) --- 118 <filter token="WIKIEXTENSIONID" value="com.sun.wiki-publisher"/> 119 <filter token="WIKIEXTENSIONFILENAME" value="${name}"/> 120 </filterset> 121 </copy> 122 </target> 123 124 <target name="uno-package" depends="tmpdir, xcumerge, jar, init"> 125 <delete file="${dist}/${name}.${ext}"/> |
126 <zip destfile="${dist}/${name}.${ext}"> | 126 <zip destfile="${dist}/${name}.${ext}"> |
127 <fileset dir="${out}/misc/${target}/package_tmp" casesensitive="yes"/> 128 <fileset dir="${dist}" includes="${target}.jar" casesensitive="yes"/> 129 <zipfileset file="src/filter/odt2mediawiki.xsl" casesensitive="yes" fullpath="filter/odt2mediawiki.xsl"/> 130 <zipfileset file="src/filter/mediawiki.ott" casesensitive="yes" fullpath="templates/MediaWiki/mediawiki.ott"/> 131 <zipfileset dir="${solar.bin}/xslt/export/xsltml" casesensitive="yes" prefix="filter/math"/> 132 <zipfileset dir="src" includes="uno-extension-manifest.xml" casesensitive="yes" fullpath="META-INF/manifest.xml"/> 133 <zipfileset dir="dialogs" includes="**/*.xdl,**/*.xba,**/*.xlb" casesensitive="yes" prefix="WikiEditor"/> 134 <zipfileset dir="${out}/misc/${target}/license" includes="LICENSE*" casesensitive="yes" prefix="license"/> 135 <zipfileset dir="${out}/misc/${target}/help" includes="**/*.idxl/*,**/*.*_,**/*.jar" casesensitive="yes" prefix="help"/> 136 <zipfileset dir="${out}/misc/${target}/help" includes="**/*.xhp" casesensitive="yes" prefix="help"/> 137 <zipfileset dir="src" includes="THIRDPARTYLICENSEREADME.html" casesensitive="yes" prefix="license"/> 138 </zip> 139 </target> 140 141 <target name="development-package" depends="jar, init"> 142 <delete file="${dist}/${target}_develop.zip"/> | 127 <fileset dir="${out}/misc/${target}/package_tmp" casesensitive="yes"/> 128 <fileset dir="${dist}" includes="${target}.jar" casesensitive="yes"/> 129 <zipfileset file="src/filter/odt2mediawiki.xsl" casesensitive="yes" fullpath="filter/odt2mediawiki.xsl"/> 130 <zipfileset file="src/filter/mediawiki.ott" casesensitive="yes" fullpath="templates/MediaWiki/mediawiki.ott"/> 131 <zipfileset dir="${solar.bin}/xslt/export/xsltml" casesensitive="yes" prefix="filter/math"/> 132 <zipfileset dir="src" includes="uno-extension-manifest.xml" casesensitive="yes" fullpath="META-INF/manifest.xml"/> 133 <zipfileset dir="dialogs" includes="**/*.xdl,**/*.xba,**/*.xlb" casesensitive="yes" prefix="WikiEditor"/> 134 <zipfileset dir="${out}/misc/${target}/license" includes="LICENSE*" casesensitive="yes" prefix="license"/> 135 <zipfileset dir="${out}/misc/${target}/help" includes="**/*.idxl/*,**/*.*_,**/*.jar" casesensitive="yes" prefix="help"/> 136 <zipfileset dir="${out}/misc/${target}/help" includes="**/*.xhp" casesensitive="yes" prefix="help"/> 137 <zipfileset dir="src" includes="THIRDPARTYLICENSEREADME.html" casesensitive="yes" prefix="license"/> 138 </zip> 139 </target> 140 141 <target name="development-package" depends="jar, init"> 142 <delete file="${dist}/${target}_develop.zip"/> |
143 <zip destfile="${dist}/${target}_develop.zip"> | 143 <zip destfile="${dist}/${target}_develop.zip"> |
144 <zipfileset dir="${dist}" includes="${target}.jar" casesensitive="yes" filemode="664" dirmode="775"/> 145 <zipfileset dir="${out}/misc/${target}" includes="description.xml" casesensitive="yes" filemode="664" dirmode="775"/> 146 <zipfileset dir="${out}/misc/${target}/registry/schema/org/openoffice/Office/Custom" includes="*.xcs" casesensitive="yes" filemode="664" dirmode="775"/> 147 <zipfileset dir="${out}/misc/${target}/registry/data/org/openoffice/Office" includes="ProtocolHandler.xcu,Paths.xcu" casesensitive="yes" filemode="664" dirmode="775"/> 148 <zipfileset dir="${out}/misc/${target}/merge/org/openoffice/Office/Custom" includes="*.xcu" casesensitive="yes" filemode="664" dirmode="775"/> | 144 <zipfileset dir="${dist}" includes="${target}.jar" casesensitive="yes" filemode="664" dirmode="775"/> 145 <zipfileset dir="${out}/misc/${target}" includes="description.xml" casesensitive="yes" filemode="664" dirmode="775"/> 146 <zipfileset dir="${out}/misc/${target}/registry/schema/org/openoffice/Office/Custom" includes="*.xcs" casesensitive="yes" filemode="664" dirmode="775"/> 147 <zipfileset dir="${out}/misc/${target}/registry/data/org/openoffice/Office" includes="ProtocolHandler.xcu,Paths.xcu" casesensitive="yes" filemode="664" dirmode="775"/> 148 <zipfileset dir="${out}/misc/${target}/merge/org/openoffice/Office/Custom" includes="*.xcu" casesensitive="yes" filemode="664" dirmode="775"/> |
149 <zipfileset dir="${out}/misc/${target}/merge/org/openoffice/Office" includes="*.xcu" excludes="**/ProtocolHandler.xcu,**/Paths.xcu" casesensitive="yes" filemode="664" dirmode="775"/> | 149 <zipfileset dir="${out}/misc/${target}/merge/org/openoffice/Office" includes="*.xcu" excludes="**/ProtocolHandler.xcu,**/Paths.xcu" casesensitive="yes" filemode="664" dirmode="775"/> |
150 <!-- FIXME: currently the build xcu files can not be used since the tag containing x-default attribute is thrown away, issue 99378 151 <fileset dir="${out}/misc/${target}/merge/org/openoffice/TypeDetection" includes="*.xcu" casesensitive="yes" filemode="664" dirmode="775"/> 152 --> 153 <zipfileset dir="src/registry/data/org/openoffice/TypeDetection" includes="*.xcu" casesensitive="yes" filemode="664" dirmode="775"/> 154 <zipfileset file="src/filter/odt2mediawiki.xsl" casesensitive="yes" fullpath="filter/odt2mediawiki.xsl" filemode="664" dirmode="775"/> 155 <zipfileset file="src/filter/mediawiki.ott" casesensitive="yes" fullpath="templates/MediaWiki/mediawiki.ott" filemode="664" dirmode="775"/> 156 <zipfileset dir="${out}/misc/${target}/help" includes="component.txt" casesensitive="yes" prefix="help" filemode="664" dirmode="775"/> 157 <zipfileset dir="${out}/misc/${target}_merge/help" includes="**/*.xhp" casesensitive="yes" prefix="help" filemode="664" dirmode="775"/> --- 33 unchanged lines hidden (view full) --- 191 <target name="uno-debug" description="Debugss UNO extension package in Target Office" depends="uno-package"> 192 <!-- security fail for executing this without netbeans --> 193 <fail unless="netbeans.home">This target can only run inside the NetBeans IDE.</fail> 194 <!-- start debugger and get connection address jpda.address --> 195 <nbjpdastart name="Debug Office" addressproperty="jpda.address" transport="dt_socket"> 196 <classpath path="${build.classes.dir}"/> 197 <sourcepath path="${src.dir}"/> 198 </nbjpdastart> | 150 <!-- FIXME: currently the build xcu files can not be used since the tag containing x-default attribute is thrown away, issue 99378 151 <fileset dir="${out}/misc/${target}/merge/org/openoffice/TypeDetection" includes="*.xcu" casesensitive="yes" filemode="664" dirmode="775"/> 152 --> 153 <zipfileset dir="src/registry/data/org/openoffice/TypeDetection" includes="*.xcu" casesensitive="yes" filemode="664" dirmode="775"/> 154 <zipfileset file="src/filter/odt2mediawiki.xsl" casesensitive="yes" fullpath="filter/odt2mediawiki.xsl" filemode="664" dirmode="775"/> 155 <zipfileset file="src/filter/mediawiki.ott" casesensitive="yes" fullpath="templates/MediaWiki/mediawiki.ott" filemode="664" dirmode="775"/> 156 <zipfileset dir="${out}/misc/${target}/help" includes="component.txt" casesensitive="yes" prefix="help" filemode="664" dirmode="775"/> 157 <zipfileset dir="${out}/misc/${target}_merge/help" includes="**/*.xhp" casesensitive="yes" prefix="help" filemode="664" dirmode="775"/> --- 33 unchanged lines hidden (view full) --- 191 <target name="uno-debug" description="Debugss UNO extension package in Target Office" depends="uno-package"> 192 <!-- security fail for executing this without netbeans --> 193 <fail unless="netbeans.home">This target can only run inside the NetBeans IDE.</fail> 194 <!-- start debugger and get connection address jpda.address --> 195 <nbjpdastart name="Debug Office" addressproperty="jpda.address" transport="dt_socket"> 196 <classpath path="${build.classes.dir}"/> 197 <sourcepath path="${src.dir}"/> 198 </nbjpdastart> |
199 <!-- register component in temporaary user installation --> | 199 <!-- register component in temporary user installation --> |
200 <echo message="debugging UNO extension package ..."/> 201 <echo message="wait until preparation is finished."/> 202 <echo message=" deploying UNO extension package for debugging ..."/> 203 <echo message=" ${office.unopkg} add -f ${uno.package.name}"/> 204 <exec executable="${office.unopkg}" dir="${office.program.dir}"> 205 <arg value="add"/> 206 <arg value="-f"/> 207 <arg file="${uno.package.name}"/> --- 14 unchanged lines hidden --- | 200 <echo message="debugging UNO extension package ..."/> 201 <echo message="wait until preparation is finished."/> 202 <echo message=" deploying UNO extension package for debugging ..."/> 203 <echo message=" ${office.unopkg} add -f ${uno.package.name}"/> 204 <exec executable="${office.unopkg}" dir="${office.program.dir}"> 205 <arg value="add"/> 206 <arg value="-f"/> 207 <arg file="${uno.package.name}"/> --- 14 unchanged lines hidden --- |