| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- <?xml version="1.0" encoding="UTF-8"?>
- <project basedir="." name="procesy5_root_build" default="procesy5_root_build_properties_save">
- <description>
- for main purposes to provide properties for another builds eg: dita-ot
- </description>
-
- <!-- main properties controlled by licence -->
-
- <property name="SERVER_ADDRESS" value="biuro.biall-net.pl"/> <!-- to be set in licence file and to be generated -->
-
- <!-- this built own properties -->
-
- <property name="procesy5_root_build_basedir" location="${basedir}/procesy5_root_build"/> <!-- to keep files there some temp etc -->
- <property name="procesy5_root_build_basedir.temp" location="${procesy5_root_build_basedir}/temp"/>
- <property name="procesy5_root_build_properties" location="${procesy5_root_build_basedir}/procesy5_root_build_properties.xml"/>
-
- <property name="procesy5_config.folders.xsl" location="${procesy5_root_build_basedir}/procesy5_config.folders.xsl"/>
- <!-- components -->
- <property name="dita-ot-toolkit" location="${basedir}/stuff/dita-ot-2.3.3"/>
- <property name="procesy5_config" location="${basedir}/config"/>
- <property name="procesy5_config.folders" location="${procesy5_config}/.cnf--folders.ini.php"/>
- <property name="procesy5_config.folders.server" location="${procesy5_config}/.cnf--folders-${SERVER_ADDRESS}.ini.php"/>
- <property name="procesy5_config.folders.properties.xml" location="${procesy5_root_build_basedir}/procesy5_config.folders.properties.xml"/>
-
-
- <!-- task to maintain properties -->
-
- <target name="procesy5_root_build_properties_save" depends="procesy5_root_build_read_procesy5_file_properties">
- <echoproperties destfile="${procesy5_root_build_properties}" format="xml"/>
- </target>
-
- <target name="procesy5_root_build.install">
- <mkdir dir="${procesy5_root_build_basedir}"/>
- <mkdir dir="${procesy5_root_build_basedir_temp}"/>
- </target>
-
- <target name="procesy5_root_build_read_procesy5_file_properties" description="TO read from procesy5_config.folders and procesy5_config.folders.server further do another direction this in install">
- <loadfile property="procesy5_config.folders_loadfile" srcfile="${procesy5_config.folders}"/>
- <loadfile property="procesy5_config.folders.server_loadfile" srcfile="${procesy5_config.folders.server}"/>
-
- <tempfile property="procesy5_config.folders_loadfile_xml" destdir="${procesy5_root_build_basedir.temp}" suffix=".xml" deleteonexit="no"/>
-
-
- <echoxml file="${procesy5_config.folders_loadfile_xml}">
- <procesy5_config>
- <procesy5_config.folders>${procesy5_config.folders_loadfile}</procesy5_config.folders>
- <procesy5_config.folders.server>${procesy5_config.folders_loadfile}</procesy5_config.folders.server>
- </procesy5_config>
- </echoxml>
- <xslt basedir="./" style="${procesy5_config.folders.xsl}" in="${procesy5_config.folders_loadfile_xml}" destdir="./" out="${procesy5_config.folders.properties.xml}" >
- <factory name="net.sf.saxon.TransformerFactoryImpl">
- <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
- </factory>
- <classpath location="/opt/local/share/java/saxon9he.jar"/>
- <!--<param name="webRootUrl" expression="${webRootUrl}" />-->
- <!--<param name="main_build_recurse_ant.dita" expression="${main_build_recurse_ant.dita}"/>-->
- <!--<param name="basedir" expression="${basedir}"/>-->
-
- </xslt>
- </target>
-
- <target name="procesy5_root_build_save_procesy5_file_properties" description="TODO in install licence task"/>
-
-
-
- </project>
|