| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186 |
- <?xml version="1.0" encoding="UTF-8"?>
- <project xmlns:p5bws="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/WPS_Functions.xsd"
- basedir="../."
- name="WPS_Functions">
- <include file="build.WPS_Functions.PRODUCT.xml"/>
- <!-- TODO config/licence/to handle params - in procesy5 there is SE/schema/WPS_Functions folder - so we need to tell it is in one more root folder ../-->
-
- <!-- parent properties -->
- <!--<property name="build_root.xml" location="${basedir}/build.xml"/>-->
- <!--<property name="build_properties" location="${basedir}/.build_properties"/>-->
-
- <!-- in some modules needed - to be removed -->
- <!-- modules WPS_Functions - to be copied to any module needed -->
-
- <!--<property name="WPS_Functions.temp" location="${WPS_Functions}/temp"/>-->
-
- <!-- eof modules WPS_Functions -->
- <!-- TODO combinated object combinate_objects_for_instance_prototypes.xsl -->
- <!-- <property name="combinate_objects_for_instance_prototypes.xsl"
- location="${basedir}/default_db_xml_cache/combinate_objects_for_instance_prototypes.xsl"/>
- <!-\- modules properties copied / controlled references -\->
- <property name="object_install_se_ant_object"
- location="${basedir}/WPS_Functions/object_install_se_ant_object/build_object_install_se_ant_object.xml"/>
- <property name="object_modeling_basedir"
- location="${basedir}/WPS_Functions/object_modeling"/>
- <property name="object_modeling_build"
- location="${object_modeling_basedir}/build_object_modeling.xml"/>
- <property name="object_modeling_new_basedir"
- location="${basedir}/WPS_Functions/object_modeling_new"/>
- <property name="object_modeling_by_default_db_xml_schema_basedir"
- location="${basedir}/WPS_Functions/object_modeling_by_default_db_xml_schema"/>
- <property name="default_db:recurse_ant_basedir"
- location="${basedir}/WPS_Functions/default_db/recurse_ant"/>
- <!-\-<property name="default_db:recurse_ant_basedir.temp" value="${default_db:recurse_ant_basedir}/temp/${uuid}"/>-\->
- <property name="default_db:recurse_ant_basedir.out"
- location="${default_db:recurse_ant_basedir}/out"/>
- <property name="default_db:recurse_ant_basedir.recurse_cache"
- location="${default_db:recurse_ant_basedir}/recurse_cache"/>
- <!-\- @2017-06-22 cache plan -\->
- <property name="default_db:recurse_ant"
- value="${default_db:recurse_ant_basedir}/build_recurse_ant.xml"/>
- <property name="build_recurse_ant_cache_control.xsl"
- location="${basedir}/default_db_xml_cache.public/build_recurse_ant_cache_control.xsl"/>
- <property name="get_wfs_basedir" location="${basedir}/WPS_Functions/get_wfs"/>
- <!-\- to ordinary retrieve wfs data -\->
- <property name="get_wfs_basedir.temp" location="${get_wfs_basedir}/temp"/>
- <property name="get_wfs" location="${get_wfs_basedir}/build_get_wfs.xml"/>
- <!-\- to ordinary retrieve wfs data -\->
- <property name="object_modeling_build_infrastructure"
- location="${basedir}/WPS_Functions/object_modeling_build_infrastructure/build_object_modeling_build_infrastructure.xml"/>
- <property name="object_modeling_new"
- location="${basedir}/WPS_Functions/object_modeling_new/build_object_modeling_new.xml"/>
- <property name="object_modeling_new.xsl"
- location="${basedir}/default_db_xml_cache.public/object_modeling_new.xsl"/>
- <property name="object_modeling.xsl"
- location="${basedir}/default_db_xml_cache.public/object_modeling.xsl"/>
- <property name="object_modeling_new_by_xml_schema.xsl"
- location="${basedir}/default_db_xml_cache.public/object_modeling_new_by_xml_schema.xsl"/>
- <property name="build_CRM_PROCES_tree"
- location="${WPS_Functions}/default_db/CRM_PROCES_tree/build_CRM_PROCES_tree.xml"/>
- <property name="build_check_java_process_count.xml"
- location="${basedir}/WPS_Functions/default_db/check_java_process_count/build_check_java_process_count.xml"/>
- <!-\- will set output current max process in STDOUT - by using with ps ax|grep ant-launcher |wc -l -\->
- <property name="mapserver_gml_to_png"
- location="${basedir}/WPS_Functions/mapserver_gml_to_png/build_mapserver_gml_to_png.xml"/>
- <property name="mapserver_gml_to_png_basedir"
- location="${basedir}/WPS_Functions/mapserver_gml_to_png"/>
- <property name="mapserver_gml_to_png_basedir.temp"
- location="${mapserver_gml_to_png_basedir}/temp"/>
- <property name="graph_gnuplot"
- location="${basedir}/WPS_Functions/graph_gnuplot/build_graph_gnuplot.xml"/>
- <property name="graph_gnuplot_basedir"
- location="${basedir}/WPS_Functions/graph_gnuplot"/>
- <property name="graph_gnuplot_basedir.temp"
- location="${graph_gnuplot_basedir}/temp"/>
- <property name="BI_audit" location="${WPS_Functions}/build_BI_audit.xml"/>
- <property name="postprocess.xsl"
- location="${basedir}/default_db_xml_cache.public/system_cache__appinfo/postprocess.xsl"/>
- <property name="build_object_modeling_by_default_db_xml_schema.xml"
- location="${WPS_Functions}/object_modeling_by_default_db_xml_schema/build_object_modeling_by_default_db_xml_schema.xml"/>
- <property name="get_wfs_recurse_xsl.xsl"
- location="${basedir}/default_db_xml_cache.public/get_wfs_recurse_xsl.xsl"/>
- <property name="build_get_wfs_recurse_xsl"
- location="${WPS_Functions}/get_wfs_recurse_xsl/build_get_wfs_recurse_xsl.xml"/>
- <property name="build_csv2xml.local_path" location="WPS_Functions/csv2xml"/>
- <!-\- To be implemented in other modules to install xsl stylesheets correctly -\->
- <property name="build_csv2xml"
- location="${basedir}/${build_csv2xml.local_path}/build_csv2xml.xml"/>
- <property name="csv2xml" location="/opt/local/bin/csv2xml"/>
- <property name="build_qgis_make_user_style.xml"
- location="${WPS_Functions}/default_db/qgis_make_user_style/build_qgis_make_user_style.xml"/>
- <property name="build_qgis_make_user_style.xsl"
- location="${WPS_Functions}/default_db/qgis_make_user_style/build_qgis_make_user_style.xsl"/>
- <property name="build_username_and_pass_from_passwordBase64Basic.xml"
- location="${WPS_Functions}/username_and_pass_from_passwordBase64Basic/build_username_and_pass_from_passwordBase64Basic.xml"/>
- <property name="system_ui_info_speech"
- location="${basedir}/WPS_Functions/system_ui_info_speech/build_system_ui_info_speech.xml"/>-->
- <!--<!-\-to say something manager: typical tasks:-\->
- <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
- <property name="p5suis:say_text" value="some text to say" />
- </ant>
- <ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>
-
- or to Polish
- ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue.PL">
- <property name="p5suis:say_text" value="some text to say" />
- </ant>
- <!-\- and after that always-\->
-
- -->
- <!-- EOF modules properties copied / controlled references -->
- <!-- <property name="wfs_output.xml" value="${get_wfs_basedir.temp}/${uuid}.wfs_output.xml"/>
- <property name="wfs_result.xml" value="${get_wfs_basedir.temp}/${uuid}.wfs_result.xml"/>
- <property name="wfs_error.xml" value="${get_wfs_basedir.temp}/${uuid}.wfs_error.xml"/>
- <property name="wfs_timestamp.xml" value="${get_wfs_basedir.temp}/${uuid}.wfs_timestamp.xml"/>
- -->
- <target name="create_tempdir">
- <mkdir dir="${WPS_Functions.childproperties}"/>
- <mkdir dir="${WPS_Functions.temp}"/>
- <mkdir dir="${WPS_Functions.repository}"/>
- </target>
- <target name="read_build_properties.childproperties"
- depends="create_tempdir, save_build_properties,read_WPS_Functions.childproperties.builds"
- description="To read child modules installed properties">
- <concat destfile="${build_WPS_Functions.xml.properties}"
- fixlastline="true"
- overwrite="yes">
- <fileset dir="${WPS_Functions.childproperties}" includes="*.properties"/>
- </concat>
- <!--<property file="${build_WPS_Functions.xml.properties}"/>-->
- </target>
- <target name="read_WPS_Functions.childproperties.builds"
- depends="create_tempdir"
- description="Read installed modules builds to exec them in write_child_props_to_config_dir">
- <fileset id="dist.contents" dir="${WPS_Functions}" includes="**/build*.xml"><!-- includes="**/build*.xml" -->
- <exclude name="**/temp/**"/>
- <exclude name="**/recurse_cache/**"/>
- <exclude name="**/build_WPS_Functions.xml/**"/>
- <exclude name="**/build_WPS_Functions.xml/**"/>
- </fileset>
- <property name="prop.dist.contents" refid="dist.contents"/>
- <echoxml file="${WPS_Functions.childproperties.builds.xml}">
- <WPS_Functions.childproperties.builds>${prop.dist.contents}</WPS_Functions.childproperties.builds>
- </echoxml>
- <!--<ant antfile="...file..." inheritall="yes" inheritrefs="yes" target="write_child_props_to_config_dir"/>-->
- <xslt basedir="${WPS_Functions.temp}"
- style="${build_WPS_Functions.xsl}"
- in="${WPS_Functions.childproperties.builds.xml}"
- destdir="${WPS_Functions.temp}"
- out="${build_WPS_Functions.childproperties.builds.xml}">
- <factory name="net.sf.saxon.TransformerFactoryImpl">
- <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
- <!--<attribute name="http://saxon.sf.net/feature/initialMode" value="RelatedFeatureRoot"/>-->
- </factory>
- <param name="basedir" expression="${basedir}"/>
- <classpath location="/opt/local/share/java/saxon9he.jar"/>
- <param name="WPS_Functions" expression="${WPS_Functions}"/>
- </xslt>
- </target>
- <target name="read_WPS_Functions.childproperties.builds.read"
- depends="read_WPS_Functions.childproperties.builds">
- <ant antfile="${build_WPS_Functions.childproperties.builds.xml}"
- inheritall="yes"
- inheritrefs="yes"/>
- </target>
- <target name="save_build_properties" depends="create_tempdir"><!-- todo nie wiem czy trzymac properties tu i tam - do optymalziacji--><!-- ${uuid} -->
- <!--<ant antfile="${build_root.xml}" target="save_build_properties"/>
- <loadproperties srcfile="${build_properties}"/>-->
- <echo>#169 TODO TO DISABLE save_build_properties </echo>
- <!-- <echo>#189 debug $WPS_Functions.temp = ${WPS_Functions.temp} - $WPS_Functions.properties = ${WPS_Functions.properties}</echo>
- <echoproperties destfile="${WPS_Functions.properties}"/>
- <chmod file="${WPS_Functions.properties}" perm="777" failonerror="false"/>
- <chown file="${WPS_Functions.properties}"
- owner="${p5build_SE.SYSTEM.local-user}"
- failonerror="false"/>-->
- </target>
- <target name="clean"
- description="to clean modules dependent temporary files and its outputs">
- <ant antfile="${default_db:recurse_ant}" target="clean"/>
- <ant antfile="${get_wfs}" target="clean"/>
- <ant antfile="${build_CRM_PROCES_tree}" target="clean"/>
- <ant antfile="${graph_gnuplot}" target="clean"/>
- <ant antfile="${object_modeling_build_infrastructure}" target="clean"/>
- <ant antfile="${object_modeling_new}" target="clean"/>
- </target>
- </project>
|