You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
4.2 KiB
54 lines
4.2 KiB
2 years ago
|
<project name="MyOrganizerCubes" default="MyOrganizerCreateSql" basedir=".">
|
||
|
<!-- set global properties for this build -->
|
||
|
<property environment="env"/>
|
||
|
<property name="tomcatLib" value=".${path.separator}${env.SUPERX_DIR}${file.separator}webserver${file.separator}tomcat${file.separator}lib"/>
|
||
|
|
||
|
<property name="ServletClasspath" value=".${path.separator}${tomcatLib}${file.separator}xercesImpl.jar${path.separator}${tomcatLib}${file.separator}xalan.jar${path.separator}${tomcatLib}${file.separator}xml-apis.jar${path.separator}${tomcatLib}${file.separator}servlet.jar"/>
|
||
|
<property name="AppletClasspath" value="${env.SUPERX_DIR}${file.separator}webserver${file.separator}tomcat${file.separator}webapps${file.separator}superx${file.separator}applet${file.separator}install${file.separator}download${file.separator}jh.jar"/>
|
||
|
<property name="MyOrganizerSchema" value="${basedir}${file.separator}myOrganizer.xml"/>
|
||
|
<property name="MyOrganizerCreateXsl" value="${basedir}${file.separator}myOrganizer_create.xsl"/>
|
||
|
<property name="MyOrganizerDropXsl" value="${basedir}${file.separator}myOrganizer_drop.xsl"/>
|
||
|
<property name="MyOrganizerCreateSql" value="${basedir}${file.separator}myOrganizer_create.sql"/>
|
||
|
<property name="MyOrganizerDropSql" value="${basedir}${file.separator}myOrganizer_drop.sql"/>
|
||
|
<property name="MyOrganizerFillXsl" value="${basedir}${file.separator}myOrganizer_fill.xsl"/>
|
||
|
<property name="MyOrganizerFillXml" value="${basedir}${file.separator}myOrganizer_fill.xml"/>
|
||
|
<property name="MyOrganizerFillXsl2" value="${basedir}${file.separator}myOrganizer_fill2.xsl"/>
|
||
|
<property name="MyOrganizerFillSql" value="${basedir}${file.separator}myOrganizer_fill.sql"/>
|
||
|
<property name="MyOrganizerUnl" value="${env.SUPERX_DIR}${file.separator}db${file.separator}module${file.separator}dokumente${file.separator}rohdaten"/>
|
||
|
|
||
|
<!--<property name="MyOrganizerSqlCmdArg" value=" -cp ${ServletClasspath} org.apache.xalan.xslt.Process -IN ${MyOrganizerSchema} -XSL ${MyOrganizerXsl} -OUT ${MyOrganizerSql} -TEXT -PARAM sx_client ${env.SX_CLIENT} -PARAM unl_path ${MyOrganizerUnl}"/>-->
|
||
|
|
||
|
<target name="MyOrganizerCreateSql">
|
||
|
<echo message="Starte Xalan mit java " />
|
||
|
<exec executable="${java.home}${file.separator}bin${file.separator}java" failonerror="yes">
|
||
|
<!--${env.SX_CLIENT}-->
|
||
|
<arg line=" -cp ${ServletClasspath} org.apache.xalan.xslt.Process -IN ${MyOrganizerSchema} -XSL ${MyOrganizerCreateXsl} -OUT ${MyOrganizerCreateSql} -TEXT -PARAM sx_client psql -PARAM unl_path ${MyOrganizerUnl}"/>
|
||
|
</exec>
|
||
|
<exec executable="${env.SUPERX_DIR}${file.separator}db${file.separator}bin${file.separator}DOSQL" failonerror="yes">
|
||
|
<arg line=" ${MyOrganizerCreateSql} "/>
|
||
|
</exec>
|
||
|
</target>
|
||
|
<target name="MyOrganizerDropSql">
|
||
|
<echo message="Starte Xalan mit java " />
|
||
|
<exec executable="${java.home}${file.separator}bin${file.separator}java" failonerror="yes">
|
||
|
<arg line=" -cp ${ServletClasspath} org.apache.xalan.xslt.Process -IN ${MyOrganizerSchema} -XSL ${MyOrganizerDropXsl} -OUT ${MyOrganizerDropSql} -TEXT -PARAM sx_client psql "/>
|
||
|
</exec>
|
||
|
<exec executable="${env.SUPERX_DIR}${file.separator}db${file.separator}bin${file.separator}DOSQL" failonerror="yes">
|
||
|
<arg line=" ${MyOrganizerDropSql} "/>
|
||
|
</exec>
|
||
|
</target>
|
||
|
<target name="MyOrganizerFillSql" depends="MyOrganizerDropSql,MyOrganizerCreateSql">
|
||
|
<echo message="Starte Xalan mit java " />
|
||
|
<exec executable="${java.home}${file.separator}bin${file.separator}java" failonerror="yes">
|
||
|
<arg line=" -cp ${ServletClasspath} org.apache.xalan.xslt.Process -IN ${MyOrganizerSchema} -XSL ${MyOrganizerFillXsl} -OUT ${MyOrganizerFillXml} -XML -PARAM sx_client psql "/>
|
||
|
</exec>
|
||
|
<exec executable="${java.home}${file.separator}bin${file.separator}java" failonerror="yes">
|
||
|
<arg line=" -cp ${ServletClasspath} org.apache.xalan.xslt.Process -IN ${MyOrganizerFillXml} -XSL ${MyOrganizerFillXsl2} -OUT ${MyOrganizerFillSql} -TEXT -PARAM sx_client psql "/>
|
||
|
</exec>
|
||
|
<exec executable="${env.SUPERX_DIR}${file.separator}db${file.separator}bin${file.separator}DOSQL" failonerror="yes">
|
||
|
<arg line=" ${MyOrganizerFillSql} "/>
|
||
|
</exec>
|
||
|
</target>
|
||
|
|
||
|
|
||
|
</project>
|