| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- <?xml version="1.0" encoding="UTF-8"?>
- <project basedir="../../schema" name="build_SE.SYSTEM"
- xmlns:p5build_SE="http://biuro.biall-net.pl/build_SE.xsd"
- >
-
- <include optional="true" file="build.p5build_SE.PRODUCT.xml"/>
- <include file="build.p5build_SE.SERVER.xml"/>
- <include file="build_SE.check_OS.xml" as="check_OS"/>
- <property name="build_SE.SYSTEM.build" location="${p5build_SE.basedir}/build.p5build_SE.SYSTEM.xml"/>
-
- <property name="p5build_SE.SYSTEM.config_dir" value="${basedir}/config"/>
-
-
-
- <include file="${p5build_SE.SYSTEM.config_dir}/build.p5build_SE.SYSTEM.local-user.xml" optional="true"/>
- <include file="${p5build_SE.SYSTEM.config_dir}/build.p5build_SE.SYSTEM.local-root.xml" optional="true"/>
-
- <property name="p5build_SE.SYSTEM.StandardOutPath" value="${p5build_SE.temp}/StandardOutPath"/>
- <property name="p5build_SE.SYSTEM.StandardErrorPath" value="${p5build_SE.temp}/StandardErrorPath"/>
- <property name="p5build_SE.SYSTEM.StandardDebugPath" value="${p5build_SE.debug}/StandardDebugPath"/>
-
-
-
- <condition property="p5build_SE.SYSTEM.StandardOutPath.notcreated" taskname="p5build_SE.SYSTEM.StandardOutPath">
- <not><available file="${p5build_SE.SYSTEM.StandardOutPath}"></available></not>
- </condition>
- <condition property="p5build_SE.SYSTEM.StandardErrorPath.notcreated" taskname="p5build_SE.SYSTEM.StandardErrorPath">
- <not><available file="${p5build_SE.SYSTEM.StandardErrorPath}"></available></not>
- </condition>
- <condition property="p5build_SE.SYSTEM.StandardDebugPath.notcreated" taskname="p5build_SE.SYSTEM.StandardDebugPath">
- <not><available file="${p5build_SE.SYSTEM.StandardDebugPath}"></available></not>
- </condition>
- <condition property="p5build_SE.SYSTEM.local-user.undef" taskname="p5build_SE.SYSTEM.local-user">
- <not><isset property="p5build_SE.SYSTEM.local-user"/></not>
- </condition>
- <condition property="p5build_SE.SYSTEM.local-root.undef" taskname="p5build_SE.SYSTEM.local-root">
- <not><isset property="p5build_SE.SYSTEM.local-root"/></not>
- </condition>
-
- <!-- <property name="p5build_SE.SYSTEM.local-user" value="a.binder"/><!-\- type local username for files creations permitions - some root tasks should chown it to this UID to allow for him to read -\->
- <property name="p5build_SE.SYSTEM.local-root" value="root"/> <!-\- name of system user account to make some root tasks -\->-->
-
-
-
- <target name="build_SE.SYSTEM" depends="p5build_SE.SYSTEM.local-user,p5build_SE.SYSTEM.local-root,p5build_SE.SYSTEM.StandardOutPath,p5build_SE.SYSTEM.StandardErrorPath,p5build_SE.SYSTEM.StandardDebugPath"/>
-
-
-
- <target name="p5build_SE.SYSTEM.local-user" if="p5build_SE.SYSTEM.local-user.undef">
- <input addproperty="p5build_SE.SYSTEM.local-user" message=" type local username for files creations permitions - some root tasks should chown it to this UID to allow for him to read"/>
- <mkdir dir="${p5build_SE.SYSTEM.config_dir}"/>
- <echoxml file="${p5build_SE.SYSTEM.config_dir}/build.p5build_SE.SYSTEM.local-user.xml">
- <project basedir="${basedir}" name="build_SE.SYSTEM.local-user"
- xmlns:p5build_SE="http://biuro.biall-net.pl/build_SE.xsd"
- >
- <property name="p5build_SE.SYSTEM.local-user" value="${p5build_SE.SYSTEM.local-user}"/><!-- type local username for files creations permitions - some root tasks should chown it to this UID to allow for him to read -->
- </project>
- </echoxml>
- <chown file="${p5build_SE.SYSTEM.config_dir}/build.p5build_SE.SYSTEM.local-user.xml" owner="${p5build_SE.SYSTEM.local-user}" failonerror="false"/>
- </target>
- <target name="p5build_SE.SYSTEM.local-root" if="p5build_SE.SYSTEM.local-root.undef">
- <input addproperty="p5build_SE.SYSTEM.local-root" message=" name of system user account to make some root tasks"/>
- <mkdir dir="${p5build_SE.SYSTEM.config_dir}"/>
- <echoxml file="${p5build_SE.SYSTEM.config_dir}/build.p5build_SE.SYSTEM.local-root.xml">
- <project basedir="${basedir}" name="build_SE.SYSTEM.local-root"
- xmlns:p5build_SE="http://biuro.biall-net.pl/build_SE.xsd"
- >
- <property name="p5build_SE.SYSTEM.local-root" value="${p5build_SE.SYSTEM.local-root}"/><!-- type local username for files creations permitions - some root tasks should chown it to this UID to allow for him to read -->
- </project>
- </echoxml>
- <chown file="${p5build_SE.SYSTEM.config_dir}/build.p5build_SE.SYSTEM.local-root.xml" owner="${p5build_SE.SYSTEM.local-user}" failonerror="false"/>
- </target>
-
- <target name="p5build_SE.SYSTEM.StandardOutPath" if="p5build_SE.SYSTEM.StandardOutPath.notcreated">
- <mkdir dir="${p5build_SE.SYSTEM.StandardOutPath}"/>
- <chown file="${p5build_SE.SYSTEM.StandardOutPath}" owner="${p5build_SE.SYSTEM.local-user}" failonerror="false"/>
- <chmod file="${p5build_SE.SYSTEM.StandardOutPath}" perm="777" failonerror="false"/>
- </target>
-
- <target name="p5build_SE.SYSTEM.StandardErrorPath" if="p5build_SE.SYSTEM.StandardErrorPath.notcreated">
- <mkdir dir="${p5build_SE.SYSTEM.StandardErrorPath}"/>
- <chown file="${p5build_SE.SYSTEM.StandardErrorPath}" owner="${p5build_SE.SYSTEM.local-user}" failonerror="false"/>
- <chmod file="${p5build_SE.SYSTEM.StandardErrorPath}" perm="777" failonerror="false"/>
- </target>
-
- <target name="p5build_SE.SYSTEM.StandardDebugPath" if="p5build_SE.SYSTEM.StandardDebugPath.notcreated">
- <mkdir dir="${p5build_SE.SYSTEM.StandardDebugPath}"/>
- <chown file="${p5build_SE.SYSTEM.StandardDebugPath}" owner="${p5build_SE.SYSTEM.local-user}" failonerror="false"/>
- <chmod file="${p5build_SE.SYSTEM.StandardDebugPath}" perm="777" failonerror="false"/>
- </target>
-
- </project>
|