|
@@ -12,6 +12,7 @@
|
|
|
<property name="build_WPS_Functions.xml.properties" location="${build_WPS_Functions.xml}.properties"/>
|
|
<property name="build_WPS_Functions.xml.properties" location="${build_WPS_Functions.xml}.properties"/>
|
|
|
<!-- eof modules WPS_Functions -->
|
|
<!-- eof modules WPS_Functions -->
|
|
|
|
|
|
|
|
|
|
+ <property name="object_modeling_new" location="${basedir}/WPS_Functions/object_modeling_new/build_object_modeling_new.xml"/>
|
|
|
<property name="object_modeling_new_basedir" location="${basedir}/WPS_Functions/${ant.project.name}" />
|
|
<property name="object_modeling_new_basedir" location="${basedir}/WPS_Functions/${ant.project.name}" />
|
|
|
<property name="object_modeling_new_basedir_repository" location="${basedir}/WPS_Functions/${ant.project.name}/object_modeling_new_repository" />
|
|
<property name="object_modeling_new_basedir_repository" location="${basedir}/WPS_Functions/${ant.project.name}/object_modeling_new_repository" />
|
|
|
<property name="object_modeling_new_basedir_temp" location="${object_modeling_new_basedir}/temp" />
|
|
<property name="object_modeling_new_basedir_temp" location="${object_modeling_new_basedir}/temp" />
|
|
@@ -32,7 +33,25 @@
|
|
|
<property name="procesy5_system_schema.xml" value="${transformed.local}/procesy5_system_schema.xml"/>
|
|
<property name="procesy5_system_schema.xml" value="${transformed.local}/procesy5_system_schema.xml"/>
|
|
|
-->
|
|
-->
|
|
|
|
|
|
|
|
- <target name="system_cache__appinfo:object_modeling_new_create_dirs">
|
|
|
|
|
|
|
+ <property name="build_object_modeling_new.childproperties" location="${WPS_Functions.childproperties}/build_object_modeling_new.properties"/>
|
|
|
|
|
+
|
|
|
|
|
+ <!--<property name="public_html" location="${basedir}" />-->
|
|
|
|
|
+ <!--<property name="root_build.xml" location="${public_html}/build.xml"/>-->
|
|
|
|
|
+ <!--<property name="build_properties.xml" location="${public_html}/build_properties.xml" />-->
|
|
|
|
|
+
|
|
|
|
|
+ <!--<property name="object_modeling_new.xsl" location="${basedir}/default_db_xml_cache.public/object_modeling_new.xsl"/>-->
|
|
|
|
|
+ <!--<property name="build_properties" location="${basedir}/build_properties" />-->
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <!-- <property name="table.local" location="${public_html}/table"/>
|
|
|
|
|
+
|
|
|
|
|
+ <property name="transformed.local" location="${default_db.instance.xml}/transformed"/>
|
|
|
|
|
+ <property name="procesy5_system_schema.xml" value="${transformed.local}/procesy5_system_schema.xml"/>
|
|
|
|
|
+ -->
|
|
|
|
|
+
|
|
|
|
|
+ <target name="write_child_props_to_config_dir" depends="read_build_properties">
|
|
|
|
|
+ <echoproperties destfile="${build_object_modeling_new.childproperties}"/>
|
|
|
|
|
+ </target><target name="system_cache__appinfo:object_modeling_new_create_dirs">
|
|
|
<mkdir dir="${object_modeling_new_basedir_temp}"/>
|
|
<mkdir dir="${object_modeling_new_basedir_temp}"/>
|
|
|
</target>
|
|
</target>
|
|
|
|
|
|
|
@@ -49,6 +68,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+ <target name="clean" description="Clean all output and temp files">
|
|
|
|
|
+ <delete dir="${object_modeling_new_basedir_temp}" failonerror="false"/>
|
|
|
|
|
+ <delete dir="${object_modeling_new_basedir_repository}" failonerror="false"/>
|
|
|
|
|
+ </target>
|
|
|
|
|
+
|
|
|
<target name="system_cache__appinfo:object_modeling_new_check_condition">
|
|
<target name="system_cache__appinfo:object_modeling_new_check_condition">
|
|
|
<!--<input addproperty="prototype_object_namespace" defaultvalue="https://biuro.biall-net.pl/wfs/default_db/Types/Default.xsd" />--> <!-- https://biuro.biall-net.pl/wfs/default_db/Types/Infrastructure.xsd -->
|
|
<!--<input addproperty="prototype_object_namespace" defaultvalue="https://biuro.biall-net.pl/wfs/default_db/Types/Default.xsd" />--> <!-- https://biuro.biall-net.pl/wfs/default_db/Types/Infrastructure.xsd -->
|
|
|
<input addproperty="TargetNamespaceBindingsApi" defaultvalue="https://biuro.biall-net.pl/wfs"/> <!-- root namespace API -->
|
|
<input addproperty="TargetNamespaceBindingsApi" defaultvalue="https://biuro.biall-net.pl/wfs"/> <!-- root namespace API -->
|
|
@@ -123,9 +147,10 @@
|
|
|
<fail/>
|
|
<fail/>
|
|
|
</target>
|
|
</target>
|
|
|
|
|
|
|
|
- <target name="system_cache__appinfo:object_modeling_new" depends="system_cache__appinfo:object_modeling_new_in_schema_check,system_cache__appinfo:object_modeling_new_in_xsd_check" description="ANT_TARGET new object by using prototype from Types to local repository to model it further" >
|
|
|
|
|
|
|
+ <target name="system_cache__appinfo:object_modeling_new" depends="read_build_properties,system_cache__appinfo:object_modeling_new_in_schema_check,system_cache__appinfo:object_modeling_new_in_xsd_check" description="ANT_TARGET new object by using prototype from Types to local repository to model it further" >
|
|
|
<input addproperty="prototype_object_namespace" defaultvalue="https://biuro.biall-net.pl/wfs/default_db/Types/Default.xsd" />
|
|
<input addproperty="prototype_object_namespace" defaultvalue="https://biuro.biall-net.pl/wfs/default_db/Types/Default.xsd" />
|
|
|
<ant antfile="${build_root.xml}" target="procesy5_system_schema.xml_if_not_exists" />
|
|
<ant antfile="${build_root.xml}" target="procesy5_system_schema.xml_if_not_exists" />
|
|
|
|
|
+ <ant antfile="${build_object_modeling_by_default_db_xml_schema.xml}" target="system_cache__appinfo:default_db_get_xml_schema_if_not_exists"/>
|
|
|
<echo> object_modeling_new_repository= ${object_modeling_new_repository}
|
|
<echo> object_modeling_new_repository= ${object_modeling_new_repository}
|
|
|
procesy5_system_schema.xml= ${procesy5_system_schema.xml}
|
|
procesy5_system_schema.xml= ${procesy5_system_schema.xml}
|
|
|
generating from ${prototype_object_namespace}
|
|
generating from ${prototype_object_namespace}
|
|
@@ -199,8 +224,8 @@
|
|
|
<param name="NamespaceDatabaseStorageDefinitionPrefix" value="default_db"/>
|
|
<param name="NamespaceDatabaseStorageDefinitionPrefix" value="default_db"/>
|
|
|
<param name="NamespaceObjectInstanceType" value="table"/>
|
|
<param name="NamespaceObjectInstanceType" value="table"/>
|
|
|
</antcall>-->
|
|
</antcall>-->
|
|
|
- <antcall target="system_cache__appinfo:object_modeling_new">
|
|
|
|
|
- <param name="NamespaceObjectInstanceTable" value="DEALS_TABLE"/>
|
|
|
|
|
|
|
+ <antcall target="system_cache__appinfo:object_modeling_new_by_xml_schema">
|
|
|
|
|
+ <param name="NamespaceObjectInstanceTable" value="BI_audit_KRS_person"/>
|
|
|
<param name="prototype_object_namespace" value="https://biuro.biall-net.pl/wfs/default_db/Types/Default.xsd"/>
|
|
<param name="prototype_object_namespace" value="https://biuro.biall-net.pl/wfs/default_db/Types/Default.xsd"/>
|
|
|
<param name="TargetNamespaceBindingsApi" value="https://biuro.biall-net.pl/wfs"/>
|
|
<param name="TargetNamespaceBindingsApi" value="https://biuro.biall-net.pl/wfs"/>
|
|
|
<param name="NamespaceDatabaseStorageDefinitionPrefix" value="default_db"/>
|
|
<param name="NamespaceDatabaseStorageDefinitionPrefix" value="default_db"/>
|
|
@@ -211,7 +236,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- <target name="system_cache__appinfo:object_modeling_new_add_new_table" depends="system_cache__appinfo:object_modeling_new_in_schema_check,system_cache__appinfo:object_modeling_new_in_xsd_check" description="TODO Create new schema (empty table - not working currently)">
|
|
|
|
|
|
|
+ <target name="system_cache__appinfo:object_modeling_new_add_new_table" depends="read_build_properties,system_cache__appinfo:object_modeling_new_in_schema_check,system_cache__appinfo:object_modeling_new_in_xsd_check" description="TODO Create new schema (empty table - not working currently)">
|
|
|
<input addproperty="TargetNamespaceBindingsApi" defaultvalue="https://biuro.biall-net.pl/wfs"/> <!-- root namespace API -->
|
|
<input addproperty="TargetNamespaceBindingsApi" defaultvalue="https://biuro.biall-net.pl/wfs"/> <!-- root namespace API -->
|
|
|
<input addproperty="NamespaceDatabaseStorageDefinitionPrefix" defaultvalue="default_db"/>
|
|
<input addproperty="NamespaceDatabaseStorageDefinitionPrefix" defaultvalue="default_db"/>
|
|
|
<input addproperty="NamespaceObjectInstanceType" defaultvalue="table"/>
|
|
<input addproperty="NamespaceObjectInstanceType" defaultvalue="table"/>
|
|
@@ -244,15 +269,15 @@
|
|
|
</target>
|
|
</target>
|
|
|
|
|
|
|
|
|
|
|
|
|
- <target name="system_cache__appinfo:object_modeling_new_by_xml_schema" depends="system_cache__appinfo:object_modeling_new" description="TODO Create new schema based on default_db.xml(xsd) + prototype">
|
|
|
|
|
|
|
+ <target name="system_cache__appinfo:object_modeling_new_by_xml_schema" depends="read_build_properties,system_cache__appinfo:object_modeling_new_in_schema_check,system_cache__appinfo:object_modeling_new_in_xsd_check" description="TESTING Create new schema based on default_db.xml(xsd) + prototype">
|
|
|
<input addproperty="prototype_object_namespace" defaultvalue="https://biuro.biall-net.pl/wfs/default_db/Types/Default.xsd" />
|
|
<input addproperty="prototype_object_namespace" defaultvalue="https://biuro.biall-net.pl/wfs/default_db/Types/Default.xsd" />
|
|
|
<ant antfile="${build_root.xml}" target="procesy5_system_schema.xml_if_not_exists" />
|
|
<ant antfile="${build_root.xml}" target="procesy5_system_schema.xml_if_not_exists" />
|
|
|
- <echo> object_modeling_new_repository= ${object_modeling_new_repository}
|
|
|
|
|
|
|
+ <ant antfile="${build_object_modeling_by_default_db_xml_schema.xml}" target="system_cache__appinfo:default_db_get_xml_schema_if_not_exists"/><echo> object_modeling_new_repository= ${object_modeling_new_repository}
|
|
|
procesy5_system_schema.xml= ${procesy5_system_schema.xml}
|
|
procesy5_system_schema.xml= ${procesy5_system_schema.xml}
|
|
|
generating from ${prototype_object_namespace}
|
|
generating from ${prototype_object_namespace}
|
|
|
generating to ${new_object_namespace}
|
|
generating to ${new_object_namespace}
|
|
|
</echo>
|
|
</echo>
|
|
|
- <xslt basedir="./" style="${object_modeling_new.xsl}" in="${procesy5_system_schema.xml}" destdir="./" out="${new_object_by_prototype_result.xml}" >
|
|
|
|
|
|
|
+ <xslt basedir="./" style="${object_modeling_new_by_xml_schema.xsl}" in="${procesy5_system_schema.xml}" destdir="./" out="${new_object_by_prototype_result.xml}" >
|
|
|
<factory name="net.sf.saxon.TransformerFactoryImpl">
|
|
<factory name="net.sf.saxon.TransformerFactoryImpl">
|
|
|
<attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
|
|
<attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
|
|
|
<attribute name="http://saxon.sf.net/feature/initialMode" value="{http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd}object_modeling_new_by_xml_schema"/>
|
|
<attribute name="http://saxon.sf.net/feature/initialMode" value="{http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd}object_modeling_new_by_xml_schema"/>
|