First Commit - Source Code from Reply
This commit is contained in:
4
dbcmnpsrc/FE/mnpdev/build/databinding/README.txt
Normal file
4
dbcmnpsrc/FE/mnpdev/build/databinding/README.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
1) Modificati i DBC_TYPES.xsd sotto schema/mvno_sla dato che nel DBC_TYPES originale il tipo
|
||||
LISTA_SLA era definito per entrambi gli sla in modi diversi. Ogni sla (don/rec) ha il suo DBC_TYPES
|
||||
custom altrimenti si creano errori a runtime.
|
||||
73
dbcmnpsrc/FE/mnpdev/build/databinding/build.xml
Normal file
73
dbcmnpsrc/FE/mnpdev/build/databinding/build.xml
Normal file
@@ -0,0 +1,73 @@
|
||||
<project name="main" default="main" basedir=".">
|
||||
|
||||
<!-- parametri di input -->
|
||||
<property name="xsd.classpath" value="${schema}"/>
|
||||
<property name="jarName" value="${out.jar}"/>
|
||||
<property name="packageName" value="${packageName}"/>
|
||||
<!-- FINE parametri di input -->
|
||||
|
||||
<property name="lib.dir" value="lib"/>
|
||||
<property name="generated.path" value="./generated-source"/>
|
||||
<property name="building.path" value="./generated-class"/>
|
||||
<property name="jar.path" value="./generated-jar"/>
|
||||
|
||||
<path id="castor.class.path">
|
||||
<fileset dir="${lib.dir}" includes="**/*.jar"/>
|
||||
</path>
|
||||
|
||||
<filelist id="classes.files.classpath" dir="${generated.path}">
|
||||
<file name="**"/>
|
||||
</filelist>
|
||||
|
||||
<path id="all.classpath">
|
||||
<!-- Generated -->
|
||||
<filelist refid="classes.files.classpath"/>
|
||||
<fileset dir="${lib.dir}" includes="**/*.jar"/>
|
||||
<!-- Java compiler tools.jar -->
|
||||
<!--pathelement location="${sdk.home}/lib/tools.jar"/-->
|
||||
</path>
|
||||
|
||||
<target name="init">
|
||||
<tstamp prefix="start"/>
|
||||
<delete dir="${generated.path}"/>
|
||||
<mkdir dir="${generated.path}"/>
|
||||
<delete dir="${building.path}"/>
|
||||
<mkdir dir="${building.path}"/>
|
||||
<!--delete dir="${jar.path}"/-->
|
||||
<mkdir dir="${jar.path}_${start.DSTAMP}"/>
|
||||
</target>
|
||||
|
||||
<target name="castor:gen:src" depends="init" description="Generate Java source files from XSD.">
|
||||
|
||||
<taskdef name="castor-srcgen"
|
||||
classname="org.castor.anttask.CastorCodeGenTask"
|
||||
classpathref="castor.class.path" />
|
||||
<castor-srcgen file="${xsd.classpath}"
|
||||
todir="${generated.path}"
|
||||
package="${packageName}"
|
||||
types="j2"
|
||||
warnings="false" />
|
||||
</target>
|
||||
|
||||
<target name="compile" depends="castor:gen:src">
|
||||
<echo>
|
||||
Compiling Classes
|
||||
-----------------
|
||||
</echo>
|
||||
<javac srcdir="${generated.path}" destdir="${building.path}" debug="on" deprecation="off" failonerror="true">
|
||||
<classpath refid="all.classpath"/>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<target name="main" depends="compile">
|
||||
<echo>
|
||||
Create jar
|
||||
-----------------
|
||||
</echo>
|
||||
<jar destfile="${jar.path}_${start.DSTAMP}/${jarName}">
|
||||
<fileset dir="${building.path}" includes="**/*.class"/>
|
||||
<fileset dir="${generated.path}" includes="**/*.castor.cdr"/>
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
</project>
|
||||
77
dbcmnpsrc/FE/mnpdev/build/databinding/buildAll.xml
Normal file
77
dbcmnpsrc/FE/mnpdev/build/databinding/buildAll.xml
Normal file
@@ -0,0 +1,77 @@
|
||||
<project name="main" default="main" basedir=".">
|
||||
|
||||
<!-- parametri di input -->
|
||||
<property name="xsd.files" value="${schemaDir}"/>
|
||||
<property name="jarName" value="${out.jar}"/>
|
||||
<property name="packageName" value="${packageName}"/>
|
||||
<!-- FINE parametri di input -->
|
||||
|
||||
<property name="lib.dir" value="lib"/>
|
||||
<property name="generated.path" value="./generated-source"/>
|
||||
<property name="building.path" value="./generated-class"/>
|
||||
<property name="jar.path" value="./generated-jar"/>
|
||||
|
||||
<path id="castor.class.path">
|
||||
<fileset dir="${lib.dir}" includes="**/*.jar"/>
|
||||
</path>
|
||||
|
||||
<filelist id="classes.files.classpath" dir="${generated.path}">
|
||||
<file name="**"/>
|
||||
</filelist>
|
||||
|
||||
|
||||
|
||||
<path id="all.classpath">
|
||||
<!-- Generated -->
|
||||
<filelist refid="classes.files.classpath" />
|
||||
<fileset dir="${lib.dir}" includes="**/*.jar"/>
|
||||
<!-- Java compiler tools.jar -->
|
||||
<!--pathelement location="${sdk.home}/lib/tools.jar"/-->
|
||||
</path>
|
||||
|
||||
<target name="init">
|
||||
<tstamp prefix="start"/>
|
||||
<delete dir="${generated.path}"/>
|
||||
<mkdir dir="${generated.path}"/>
|
||||
<delete dir="${building.path}"/>
|
||||
<mkdir dir="${building.path}"/>
|
||||
<!--delete dir="${jar.path}"/-->
|
||||
<mkdir dir="${jar.path}_${start.DSTAMP}"/>
|
||||
</target>
|
||||
|
||||
<target name="castor:gen:src" depends="init" description="Generate Java source files from XSD.">
|
||||
|
||||
<taskdef name="castor-srcgen"
|
||||
classname="org.castor.anttask.CastorCodeGenTask"
|
||||
classpathref="castor.class.path" />
|
||||
<castor-srcgen
|
||||
todir="${generated.path}"
|
||||
package="${packageName}"
|
||||
types="j2"
|
||||
warnings="false">
|
||||
<fileset dir="${xsd.files}" includes="**/*.xsd" excludes="DBC_TYPES.xsd"/>
|
||||
</castor-srcgen>
|
||||
</target>
|
||||
|
||||
<target name="compile" depends="castor:gen:src">
|
||||
<echo>
|
||||
Compiling Classes
|
||||
-----------------
|
||||
</echo>
|
||||
<javac srcdir="${generated.path}" destdir="${building.path}" debug="on" deprecation="off" failonerror="true">
|
||||
<classpath refid="all.classpath"/>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<target name="main" depends="compile">
|
||||
<echo>
|
||||
Create jar
|
||||
-----------------
|
||||
</echo>
|
||||
<jar destfile="${jar.path}_${start.DSTAMP}/${jarName}">
|
||||
<fileset dir="${building.path}" includes="**/*.class"/>
|
||||
<fileset dir="${generated.path}" includes="**/*.castor.cdr"/>
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
</project>
|
||||
@@ -0,0 +1,3 @@
|
||||
call ./setEnv.cmd
|
||||
|
||||
ant -buildfile build.xml -Dschema=./schema/hzccrmweb/HZ_DBC_TO_CCRM.xsd -Dout.jar=Castor-NotificaDBC_CCRM_HZ.jar -DpackageName=mnp.xml.dao.ccrm.notifica
|
||||
3
dbcmnpsrc/FE/mnpdev/build/databinding/build_aom.cmd
Normal file
3
dbcmnpsrc/FE/mnpdev/build/databinding/build_aom.cmd
Normal file
@@ -0,0 +1,3 @@
|
||||
call ./setEnv.cmd
|
||||
|
||||
ant -buildfile build.xml -Dschema=./schema/aom/MNP.xsd -Dout.jar=Castor-AomDataBinding.jar -DpackageName=mnp.xml.dao.aom
|
||||
3
dbcmnpsrc/FE/mnpdev/build/databinding/build_aom_old.cmd
Normal file
3
dbcmnpsrc/FE/mnpdev/build/databinding/build_aom_old.cmd
Normal file
@@ -0,0 +1,3 @@
|
||||
call ./setEnv.cmd
|
||||
|
||||
ant -buildfile build.xml -Dschema=./schema/aom/MNP.xsd -Dout.jar=databinding.jar -DpackageName=mnp.xml.databinding
|
||||
4
dbcmnpsrc/FE/mnpdev/build/databinding/build_bit_All.cmd
Normal file
4
dbcmnpsrc/FE/mnpdev/build/databinding/build_bit_All.cmd
Normal file
@@ -0,0 +1,4 @@
|
||||
call ./setEnv.cmd
|
||||
|
||||
|
||||
ant -buildfile buildAll.xml -DschemaDir=./schema/bit -Dout.jar=Castor-BitDataBinding.jar -DpackageName=mnp.xml.dao.bit
|
||||
@@ -0,0 +1,5 @@
|
||||
|
||||
call ./setEnv.cmd
|
||||
|
||||
|
||||
ant -buildfile buildAll.xml -DschemaDir=./schema/ccrmWEB -Dout.jar=Castor-CCRMWebDataBinding.jar -DpackageName=mnp.xml.dao.ccrm.notifica
|
||||
@@ -0,0 +1,5 @@
|
||||
call ./setEnv.cmd
|
||||
|
||||
|
||||
|
||||
ant -buildfile build.xml -Dschema=./schema/ccrmwebcoop/NotificaCCRMWEBCOOP_ESP.xsd -Dout.jar=Castor-NotificaCCRMWEBCOOP.jar -DpackageName=mnp.xml.dao.ccrmwebcoop.notifica
|
||||
@@ -0,0 +1,3 @@
|
||||
call ./setEnv.cmd
|
||||
|
||||
ant -buildfile buildAll.xml -DschemaDir=./schema/crmc -Dout.jar=Castor-CrmcHZDataBinding.jar -DpackageName=mnp.xml.dao.crmc
|
||||
@@ -0,0 +1,3 @@
|
||||
call ./setEnv.cmd
|
||||
|
||||
ant -buildfile buildAll.xml -DschemaDir=./schema/crmcport -Dout.jar=Castor-CrmcPortDataBinding.jar -DpackageName=mnp.xml.dao.crmcport
|
||||
@@ -0,0 +1,4 @@
|
||||
call ./setEnv.cmd
|
||||
|
||||
|
||||
ant -buildfile build.xml -Dschema=./schema/crontab/Crontab-config.xsd -Dout.jar=Castor-CrontabConfig.jar -DpackageName=mnp.crontab.config.xml
|
||||
@@ -0,0 +1,5 @@
|
||||
call ./setEnv.cmd
|
||||
|
||||
|
||||
|
||||
ant -buildfile build.xml -Dschema=./schema/crontab/GestioneXml.xsd -Dout.jar=Castor-SistemaXML.jar -DpackageName=mnp.crontab.config.gestioneXml
|
||||
@@ -0,0 +1,5 @@
|
||||
call ./setEnv.cmd
|
||||
|
||||
|
||||
|
||||
ant -buildfile build.xml -Dschema=./schema/crontab/SistemiInterni.xsd -Dout.jar=Castor-SistemiInterni.jar -DpackageName=mnp.crontab.config.lnternalSystemXml
|
||||
3
dbcmnpsrc/FE/mnpdev/build/databinding/build_fenp_ack.cmd
Normal file
3
dbcmnpsrc/FE/mnpdev/build/databinding/build_fenp_ack.cmd
Normal file
@@ -0,0 +1,3 @@
|
||||
call ./setEnv.cmd
|
||||
|
||||
ant -buildfile build.xml -Dschema=./schema/fenp/Np_ack.xsd -Dout.jar=Castor-MessageReplyFENP.jar -DpackageName=mnp.xml.dao.fenp.ack
|
||||
@@ -0,0 +1,4 @@
|
||||
call ./setEnv.cmd
|
||||
|
||||
ant -buildfile build.xml -Dschema=./schema/fenp/Np_n.xsd -Dout.jar=Castor-FENPRequest.jar -DpackageName=mnp.xml.dao.fenp.request
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
call ./setEnv.cmd
|
||||
|
||||
ant -buildfile build.xml -Dschema=./schema/fenp/Np_r.xsd -Dout.jar=Castor-FENPResponse.jar -DpackageName=mnp.xml.dao.fenp.response
|
||||
|
||||
3
dbcmnpsrc/FE/mnpdev/build/databinding/build_gino_req.cmd
Normal file
3
dbcmnpsrc/FE/mnpdev/build/databinding/build_gino_req.cmd
Normal file
@@ -0,0 +1,3 @@
|
||||
call ./setEnv.cmd
|
||||
|
||||
ant -buildfile buildAll.xml -DschemaDir=./schema/gino/request -Dout.jar=Castor-GinoDataBinding-Req.jar -DpackageName=mnp.xml.dao.gino.request
|
||||
@@ -0,0 +1,3 @@
|
||||
call ./setEnv.cmd
|
||||
|
||||
ant -buildfile buildAll.xml -DschemaDir=./schema/gino/response -Dout.jar=Castor-GinoDataBinding-Resp.jar -DpackageName=mnp.xml.dao.gino.response
|
||||
3
dbcmnpsrc/FE/mnpdev/build/databinding/build_gisp_all.cmd
Normal file
3
dbcmnpsrc/FE/mnpdev/build/databinding/build_gisp_all.cmd
Normal file
@@ -0,0 +1,3 @@
|
||||
call ./setEnv.cmd
|
||||
|
||||
ant -buildfile buildAll.xml -DschemaDir=./schema/gisp/gispNew -Dout.jar=Castor-GispDataBinding.jar -DpackageName=mnp.xml.dao.gisp
|
||||
@@ -0,0 +1,3 @@
|
||||
call ./setEnv.cmd
|
||||
|
||||
ant -buildfile build.xml -Dschema=./schema/gisp/gispTP/DbcToGispRichiestaCessazioneTP.xsd -Dout.jar=Castor-GispCessTP.jar -DpackageName=mnp.xml.dao.gisp.cessTP
|
||||
@@ -0,0 +1,3 @@
|
||||
call ./setEnv.cmd
|
||||
|
||||
ant -buildfile buildAll.xml -DschemaDir=./schema/gisp/gispDonorStd -Dout.jar=Castor-GispDonorStdDataBinding.jar -DpackageName=mnp.xml.dao.gisp.donorstd
|
||||
3
dbcmnpsrc/FE/mnpdev/build/databinding/build_gisp_hz.cmd
Normal file
3
dbcmnpsrc/FE/mnpdev/build/databinding/build_gisp_hz.cmd
Normal file
@@ -0,0 +1,3 @@
|
||||
call ./setEnv.cmd
|
||||
|
||||
ant -buildfile buildAll.xml -DschemaDir=./schema/gisp/gispHZ -Dout.jar=Castor-GispHZDataBinding.jar -DpackageName=mnp.xml.dao.gisp
|
||||
@@ -0,0 +1,3 @@
|
||||
call ./setEnv.cmd
|
||||
|
||||
ant -buildfile build.xml -Dschema=./schema/gisp/Response.xsd -Dout.jar=Castor-GispResponse.jar -DpackageName=mnp.xml.dao.gisp.response
|
||||
@@ -0,0 +1,3 @@
|
||||
call ./setEnv.cmd
|
||||
|
||||
ant -buildfile build.xml -Dschema=./schema/gisp/gispTP/DbcToGispRichiestaRestituzioneNum.xsd -Dout.jar=Castor-GispRestTP.jar -DpackageName=mnp.xml.dao.gisp.restTP
|
||||
@@ -0,0 +1,3 @@
|
||||
call ./setEnv.cmd
|
||||
|
||||
ant -buildfile build.xml -Dschema=./schema/gisp/Retrieve.xsd -Dout.jar=Castor-GispRetreive.jar -DpackageName=mnp.xml.dao.gisp.retreive
|
||||
4
dbcmnpsrc/FE/mnpdev/build/databinding/build_msp_all.cmd
Normal file
4
dbcmnpsrc/FE/mnpdev/build/databinding/build_msp_all.cmd
Normal file
@@ -0,0 +1,4 @@
|
||||
call ./setEnv.cmd
|
||||
|
||||
ant -buildfile buildAll.xml -DschemaDir=./schema/msp -Dout.jar=Castor-MSPDataBinding.jar -DpackageName=mnp.xml.dao.msp
|
||||
|
||||
3
dbcmnpsrc/FE/mnpdev/build/databinding/build_mvno_all.cmd
Normal file
3
dbcmnpsrc/FE/mnpdev/build/databinding/build_mvno_all.cmd
Normal file
@@ -0,0 +1,3 @@
|
||||
call ./setEnv.cmd
|
||||
|
||||
ant -buildfile castorBuild.xml -DxsdDir=./schema/mvno -Ddest.jar=Castor-MvnoDataBinding.jar -DrootPackage=mnp.xml.dao.mvno
|
||||
@@ -0,0 +1,3 @@
|
||||
call ./setEnv.cmd
|
||||
|
||||
ant -buildfile castorBuild.xml -DxsdDir=./schema/mvno_sla/donor -Ddest.jar=Castor-MvnoSlaDonDataBinding.jar -DrootPackage=mnp.xml.dao.mvno.sla.donor
|
||||
@@ -0,0 +1,3 @@
|
||||
call ./setEnv.cmd
|
||||
|
||||
ant -buildfile castorBuild.xml -DxsdDir=./schema/mvno_sla/recipient -Ddest.jar=Castor-MvnoSlaRecDataBinding.jar -DrootPackage=mnp.xml.dao.mvno.sla.recipient
|
||||
60
dbcmnpsrc/FE/mnpdev/build/databinding/castorBuild.xml
Normal file
60
dbcmnpsrc/FE/mnpdev/build/databinding/castorBuild.xml
Normal file
@@ -0,0 +1,60 @@
|
||||
<project name="castorBuild" default="main" basedir=".">
|
||||
|
||||
<property name="jarName" value="${dest.jar}"/>
|
||||
<property name="packageName" value="${rootPackage}"/>
|
||||
<property name="xsd.files" value="${xsdDir}"/>
|
||||
|
||||
<property name="temp.class.path" value="./temp-class"/>
|
||||
<property name="temp.source.path" value="./temp-source"/>
|
||||
<property name="jar.path" value="./xml-generated-jar"/>
|
||||
<property name="lib.dir" value="lib"/>
|
||||
|
||||
<path id="castor.util.path">
|
||||
<fileset dir="${lib.dir}" includes="**/*.jar"/>
|
||||
</path>
|
||||
|
||||
<!-- target di default-->
|
||||
<target name="main" depends="javaCompile">
|
||||
<echo>BUILDING.....</echo>
|
||||
<jar destfile="${jar.path}/${dest.jar}">
|
||||
<fileset dir="${temp.class.path}" includes="**/*.class"/>
|
||||
<fileset dir="${temp.source.path}" includes="**/*.castor.cdr"/>
|
||||
</jar>
|
||||
<delete dir="${temp.class.path}"/>
|
||||
<delete dir="${temp.source.path}"/>
|
||||
</target>
|
||||
|
||||
<!-- compilazione sorgenti -->
|
||||
<target name="javaCompile" depends="castor:gen:src">
|
||||
<javac srcdir="${temp.source.path}" destdir="${temp.class.path}" debug="on" deprecation="off" failonerror="true">
|
||||
<!-- <classpath refid="all.classpath"/> -->
|
||||
<classpath refid="castor.util.path"/>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<!-- binding degli xsd -->
|
||||
<target name="castor:gen:src" depends="init" description="Generate Java source files from XSD.....">
|
||||
<taskdef name="castor-srcgen"
|
||||
classname="org.castor.anttask.CastorCodeGenTask" classpathref="castor.util.path" />
|
||||
|
||||
<castor-srcgen todir="${temp.source.path}"
|
||||
package="${packageName}"
|
||||
types="j2"
|
||||
warnings="false" >
|
||||
<fileset dir="${xsd.files}">
|
||||
<include name="**/*.xsd"/>
|
||||
</fileset>
|
||||
</castor-srcgen>
|
||||
</target>
|
||||
|
||||
<!-- creazione cartelle -->
|
||||
<target name="init">
|
||||
<delete dir="${temp.source.path}"/>
|
||||
<delete dir="${temp.class.path}"/>
|
||||
<delete dir="${jar.path}"/>
|
||||
<mkdir dir="${temp.source.path}"/>
|
||||
<mkdir dir="${temp.class.path}"/>
|
||||
<mkdir dir="${jar.path}"/>
|
||||
</target>
|
||||
|
||||
</project>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user