diff options
Diffstat (limited to 'testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/nbproject/build-uno-impl.xml')
-rwxr-xr-x | testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/nbproject/build-uno-impl.xml | 138 |
1 files changed, 69 insertions, 69 deletions
diff --git a/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/nbproject/build-uno-impl.xml b/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/nbproject/build-uno-impl.xml index 25b3f25f86c7..3e75cd5f5f47 100755 --- a/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/nbproject/build-uno-impl.xml +++ b/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/nbproject/build-uno-impl.xml @@ -13,18 +13,18 @@ <target name="-uno-project-init" depends="-do-init"> <property file="nbproject/project-uno.properties"/> <property name="build.uno.version" value="2.0.6"/> - + <!-- set variablers from SDK and Office --> <echo message="setting up UNO environment ..."/> <property name="office.unopkg" value="${office.program.dir}${file.separator}unopkg"/> <property name="office.soffice" value="${office.program.dir}${file.separator}soffice"/> - - <property name="sdk.idl.dir" location="${oo.sdk.dir}${file.separator}idl"/> + + <property name="sdk.idl.dir" location="${oo.sdk.dir}${file.separator}idl"/> <property name="sdk.idlc" value="${sdk.bin.dir}${file.separator}idlc"/> <property name="sdk.regmerge" value="${ure.bin.dir}${file.separator}regmerge"/> <property name="sdk.javamaker" value="${sdk.bin.dir}${file.separator}javamaker"/> - <dirname property="project.dir" file="build.xml"/> + <dirname property="project.dir" file="build.xml"/> <property name="uno.package.name" value="${project.dir}${file.separator}${dist.dir}${file.separator}${project.name}.oxt"/> <property name="src.dir.absolute" value="${project.dir}${file.separator}${src.dir}"/> @@ -34,10 +34,10 @@ <property name="idl.out.rdb" value="${idl.out}/rdb"/> <property name="idl.rdb.name" value="types.rdb"/> <property name="idl.rdb.fullpath" value="${idl.out.rdb}/${idl.rdb.name}"/> - + <property name="images.base.dir" value="${build.dir}/img"/> <property name="build.registry.dir" value="${build.dir}/cpreg"/> - + <mkdir dir="${idl.out}"/> <mkdir dir="${idl.out.urd}"/> <mkdir dir="${idl.out.rdb}"/> @@ -53,50 +53,50 @@ <!-- handle images --> <target name="-uno-images-condition" description="check images" depends="-uno-project-init"> <available file="${images.dir}" type="dir" property="images.required"/> - </target> - + </target> + <target name="images" description="copy images" depends="-uno-images-condition" if="images.required"> <mkdir dir="${images.base.dir}/${images.dir}"/> <copy todir="${images.base.dir}/${images.dir}"> <fileset dir="${images.dir}"/> </copy> - </target> - + </target> + <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> <!-- handle xcu/xcs files with package names --> - + <target name="-uno-registryfiles-condition" description="check xcu and xcs files" depends="-uno-project-init"> <available file="${registry.dir}" type="dir" property="xcuxcs.required"/> - </target> - + </target> + <target name="registry" description="copy registry files" depends="-uno-registryfiles-condition" if="xcuxcs.required"> <mkdir dir="${build.registry.dir}/${registry.dir}"/> <copy todir="${build.registry.dir}/${registry.dir}"> <fileset dir="${registry.dir}" includes="**/*.xcu,**/*.xcs"/> </copy> - </target> - + </target> + <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> - + <target name="-uno-idl-idlc-condition" description="check idlc dependencies" depends="-uno-project-init"> <uptodate property="idlc.notRequired" targetfile ="${build.dir}/idlc.compile"> <srcfiles dir= "${src.dir}" includes="**/*.idl"/> </uptodate> - </target> - + </target> + <!-- compile UNO idl files: execution --> <target name="-uno-idl-idlc" description="Compile the IDL Conditionally" depends="-uno-idl-idlc-condition" unless="idlc.notRequired"> <apply executable="${sdk.idlc}" dir="${office.program.dir}" failonerror="true"> <env key="PATH" path="${office.tool.path}"/> - <env key="LD_LIBRARY_PATH" path="${office.tool.path}"/> + <env key="LD_LIBRARY_PATH" path="${office.tool.path}"/> <env key="DYLD_LIBRARY_PATH" path="${office.tool.path}"/> <arg value="-C"/> <arg value="-O"/> <arg value="${idl.out.urd}"/> <arg value="-I"/> <arg value="${src.dir.absolute}"/> - <arg value="-I"/> - <arg value="${sdk.idl.dir}"/> + <arg value="-I"/> + <arg value="${sdk.idl.dir}"/> <fileset dir="${src.dir}" includes="**/*.idl" casesensitive="yes" id="idl.list.id"/> </apply> <!-- list for copying idl files in own jar --> @@ -113,11 +113,11 @@ <!-- merge urd files: execution --> <target name="-uno-idl-regmerge" description="Merge urd Files Conditionally" depends="-uno-idl-idlc,-uno-idl-idlc-condition" unless="idlc.notRequired"> <!-- to only extract the new files, delete the old rdb --> - <delete file="${idl.rdb.fullpath}"/> + <delete file="${idl.rdb.fullpath}"/> <apply executable="${sdk.regmerge}" dir="${office.program.dir}" failonerror="true"> <env key="PATH" path="${office.tool.path}"/> <env key="LD_LIBRARY_PATH" path="${office.tool.path}"/> - <env key="DYLD_LIBRARY_PATH" path="${office.tool.path}"/> + <env key="DYLD_LIBRARY_PATH" path="${office.tool.path}"/> <arg file="${idl.rdb.fullpath}"/> <arg value="/UCR"/> <fileset dir="${idl.out.urd}" includes="**/*.urd" casesensitive="yes"/> @@ -130,14 +130,14 @@ <target name="-uno-idl-javamaker-condition" description="check if rdb was created" depends="-uno-idl-regmerge,-uno-idl-idlc-condition"> <available file="${idl.rdb.name}" filepath="${idl.out.rdb}" property="javamaker.Required"/> </target> - + <!-- generate Java class files from type library: execution --> <target name="-uno-idl-javamaker" depends="-uno-idl-regmerge,-uno-idl-idlc-condition,-uno-idl-javamaker-condition" if="javamaker.Required" unless="idlc.notRequired"> <echo message="generating java class files from rdb..."/> <exec executable="${sdk.javamaker}" dir="${office.program.dir}" failonerror="true"> - <env key="PATH" path="${office.tool.path}"/> + <env key="PATH" path="${office.tool.path}"/> <env key="LD_LIBRARY_PATH" path="${office.tool.path}"/> - <env key="DYLD_LIBRARY_PATH" path="${office.tool.path}"/> + <env key="DYLD_LIBRARY_PATH" path="${office.tool.path}"/> <arg value="-BUCR"/> <arg value="-O"/> <arg value="${idl.classes.dir}"/> @@ -153,11 +153,11 @@ <touch file="${build.dir}/idlc.compile"/> <echo message="build UNO idl files finished"/> </target> - + <!-- the main target, called in recursive builds --> <target name="uno-idl-compile" description="Compiles UNO idl files" depends="-uno-idl-result"/> - <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> + <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> <target name="jar" depends="-uno-project-init,uno-idl-compile,-jar-idl-types,compile,-pre-jar,-do-jar-with-manifest,-do-jar-without-manifest,-do-jar-with-mainclass,-do-jar-with-libraries,-do-openoffice-manifest,-post-jar"> <jar basedir="${build.classes.dir}" compress="true" filesonly="true" manifest="${build.dir}/MANIFEST.MF" jarfile="${dist.jar}" excludes="**/*.xml,**/*.txt,${idl.file.list},${build.classes.excludes}"/> @@ -173,7 +173,7 @@ </target> <target name="-do-openoffice-manifest" depends="-copy-user-manifest,-external-jars,-do-registration,-do-class-path"/> - + <!-- macro for checking manifest entries from a user manifest --> <macrodef name="check-manifest-entry"> <attribute name="entry.name"/> @@ -182,7 +182,7 @@ <condition property="@{condition.property.name}"> <and> <!-- if file does not exist, "isfileselected" is not executed --> - <!-- necessary construct because available is not allowed here + <!-- necessary construct because available is not allowed here but should be according to documentation --> <istrue value="${build.manifest.exists}"/> <!-- produces an error if file is not there --> @@ -193,28 +193,28 @@ </condition> </sequential> </macrodef> - + <!-- enter the class path with external jars, if external jars exit and the user did not enter his own --> <target name="-do-class-path" depends="-external-jars,-check-class-path" unless="class.path.exists"> <manifest file="${build.dir}/MANIFEST.MF" mode="update"> - <attribute name="Class-Path" value="${external.jars}"/> - </manifest> + <attribute name="Class-Path" value="${external.jars}"/> + </manifest> </target> <target name="-check-class-path"> <check-manifest-entry condition.property.name="class.path.exists" entry.name="Class-Path"/> </target> - + <!-- enter idl type definitions if it exists and if the user did not overwrite it --> <target name="-do-uno-types" depends="-do-empty-unopath,-do-idl-unopath"/> <target name="-do-idl-unopath" depends="-check-uno-types" if="own.idl.files" unless="uno.path.exists"> <manifest file="${build.dir}/MANIFEST.MF" mode="update"> - <attribute name="UNO-Type-Path" value="${idl_types.jar}"/> - </manifest> + <attribute name="UNO-Type-Path" value="${idl_types.jar}"/> + </manifest> </target> <target name="-do-empty-unopath" depends="-check-uno-types" if="no.idl.files" unless="uno.path.exists"> <manifest file="${build.dir}/MANIFEST.MF" mode="update"> - <attribute name="UNO-Type-Path" value=""/> - </manifest> + <attribute name="UNO-Type-Path" value=""/> + </manifest> </target> <target name="-check-uno-types"> <property file="${idl.out}/idl_list.properties"/> @@ -228,12 +228,12 @@ </not> </condition> </target> - + <!-- enter the registration classes unless the user did not enter his own. Do nothing when the project is old --> - <target name="-do-registration" depends="-do-central-registration,-check-registration-classes-name" + <target name="-do-registration" depends="-do-central-registration,-check-registration-classes-name" if="new.project.registration" unless="do.no.registration"> <manifest file="${build.dir}/MANIFEST.MF" mode="update"> - <section name="${slash.registration.class}"> + <section name="${slash.registration.class}"> <attribute name="RegistrationClasses" value="${registration.classname}"/> </section> </manifest> @@ -247,7 +247,7 @@ </or> </condition> </target> - + <!-- enter the registration class name unless the user did not enter his own. Do nothing when the project is old --> <target name="-do-central-registration" depends="-check-registration-class-name,-do-old-project-registration" if="new.project.registration" unless="registration.class.exists"> <property name="regclass.properties" value="${build.dir}/regclass.properties"/> @@ -264,7 +264,7 @@ <target name="-check-registration-class-name"> <check-manifest-entry condition.property.name="registration.class.exists" entry.name="RegistrationClassName"/> </target> - + <!-- Do the registration for older projects without a central registration class --> <target name="-do-old-project-registration" depends="-check-for-old-project" if="old.project.registration" unless="registration.class.exists"> <manifest file="${build.dir}/MANIFEST.MF" mode="update"> @@ -294,7 +294,7 @@ <isfalse value="${old.project.registration}"/> </condition> </target> - + <!-- copy the user manifest if it exists --> <target name="-copy-user-manifest" depends="-check-user-manifest" if="user.manifest.exists"> <copy file="manifest.mf" tofile="${build.dir}/MANIFEST.MF" overwrite="true"/> @@ -303,10 +303,10 @@ <target name="-check-user-manifest"> <available file="manifest.mf" property="user.manifest.exists"/> </target> - + <!-- handle the class path for external jar files unless there is a user overwrite --> <target name="-external-jars" depends="-rm-external-jars,-add-external-jars"/> - + <target name="-add-external-jars" depends="-external-jars-condition" if="do.externalJars"> <!-- get property external.jars for classpath from props file --> <property file="${dist.dir}/${external.jar.dir}/jars.properties"/> @@ -316,17 +316,17 @@ <!-- empty property, if no jars --> <property name="external.jars" value=""/> </target> - + <target name="-external-jars-condition"> <available file="${dist.dir}/${external.jar.dir}" type="dir" property="do.externalJars"/> </target> - + <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> - + <target name="-delete-uno-package"> <delete failonerror="false" file="${uno.package.name}"/> </target> - + <target name="-pre-uno-package"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> @@ -335,7 +335,7 @@ <target name="-license-exists"> <available file="${project.dir}/${licenses.dir}" type="dir" property="do.license"/> </target> - + <!-- test for licenses dir is necessary because zipfileset fails if dir not there --> <target name="-uno-package-with-license" depends="-license-exists" if="do.license"> <zip update="true" destfile="${uno.package.name}"> @@ -346,7 +346,7 @@ <target name="-description-exists"> <available file="${project.dir}/${description.dir}" type="dir" property="do.description"/> </target> - + <!-- test for description dir is necessary because zipfileset fails if dir not there --> <target name="-uno-package-with-description" depends="-description-exists" if="do.description"> <zip update="true" destfile="${uno.package.name}"> @@ -357,25 +357,25 @@ <target name="-help-exists"> <available file="${project.dir}/${help.dir}" type="dir" property="do.help"/> </target> - + <!-- test for help dir is necessary because zipfileset fails if dir not there --> <target name="-uno-package-with-help" depends="-help-exists" if="do.help"> <zip update="true" destfile="${uno.package.name}"> <zipfileset dir="${help.dir}" includes="${help.content.extensions}" prefix="${help.dir}"/> </zip> - </target> - + </target> + <target name="-dialogs-exists"> <available file="${project.dir}/${dialogs.dir}" type="dir" property="do.dialogs"/> </target> - + <!-- test for dialogs dir is necessary because zipfileset fails if dir not there --> <target name="-uno-package-with-dialogs" depends="-dialogs-exists" if="do.dialogs"> <zip update="true" destfile="${uno.package.name}"> <zipfileset dir="${dialogs.dir}" includes="${dialog.content.extensions}" prefix="dialogs"/> </zip> - </target> - + </target> + <target name="-do-uno-package" description="Creates UNO extension pacakge" depends="-uno-package-with-license,-uno-package-with-help,-uno-package-with-dialogs,-uno-package-with-description"> <echo message="creating UNO extension package ..."/> <zip update="true" destfile="${uno.package.name}"> @@ -388,7 +388,7 @@ <zipfileset dir="${src.dir}" includes="uno-extension-manifest.xml" fullpath="META-INF/manifest.xml"/> </zip> </target> - + <target name="-post-uno-package"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> @@ -396,19 +396,19 @@ <target name="uno-package" description="Creates UNO extension pacakge" depends="jar,images,registry,-delete-uno-package,-pre-uno-package,-do-uno-package,-post-uno-package"/> - <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> - + <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> + <!-- <target name="uno-deploy" description="Deploys UNO extension package" depends="uno-package"> <echo message="deploying UNO extension package ..."/> <echo message="${office.unopkg} gui -f ${uno.package.name}"/> <echo message="${office.soffice} ${uno.package.name}"/> <exec executable="${office.soffice}" dir="${office.program.dir}" failonerror="true"> <arg file="${uno.package.name}"/> - </exec> + </exec> </target> --> - - <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> - + + <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> + <target name="uno-run" description="Run OpenOffice.org" depends="uno-package,-run-oo"/> <!-- subtargets for different office versions --> @@ -424,9 +424,9 @@ <arg value="${office.startup.options}"/> </exec> </target> - - <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> - + + <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> + <target name="uno-debug" description="Debugss UNO extension package in Target Office" depends="uno-package,-oo-debug"/> <target name="-oo-debug"> @@ -458,5 +458,5 @@ <env key="JAVA_TOOL_OPTIONS" value=""-Xdebug" "-Xrunjdwp:transport=dt_socket,address=${jpda.address}""/> </exec> </target> - + </project> |