⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 build.xml

📁 SHARK工作流引擎的启动测试
💻 XML
字号:
<?xml version="1.0"?>
<project name="SharkFromScratchII" default="build" basedir=".">
   <description>This build file enables you to compile the source and run the SFS II sample code</description>

   <property name="src.dir" value="./src"/>
   <property name="build.dir" value="./classes"/>
   <!--
      Change this property to match the location of your Shark installation
   -->
   <property name="shark.dir" value="C:/Shark"/>

   <path id="class.path">
      <pathelement path="${build.dir}"/>
      <fileset dir="${shark.dir}/lib">
         <!-- These are required for the "First" and "Second" targets -->
         <include name="sharkkernel-standard.jar"/>
         <include name="sharkclientapi.jar"/>
         <include name="sharkcommonapi.jar"/>
         <include name="sharkinternalapi.jar"/>
         <include name="sharkxpdl-standard.jar"/>
         <include name="sharkinstancepersistence-dods.jar"/>
         <include name="dods-runtime.jar"/>
         <include name="util.jar"/>
         <include name="sharkutilities-dods.jar"/>
         <include name="mysql-connector-java-3.0.11-stable-bin.jar"/>
         <include name="sharkrepositorypersistence-dods.jar"/>
         <include name="sharkscripting-standard.jar"/>
         <include name="sharkutilities-map.jar"/>
         <include name="sharkutilities-misc.jar"/>
         <include name="xercesImpl.jar"/>
         <include name="xml-apis.jar"/>

         <!-- These are required for the "Third" target -->
         <include name="sharktransaction-dods.jar"/>
      </fileset>
   </path>

   <target name="build" description="Clears out the build directory and compile the source files">
      <delete dir="${build.dir}"/>
      <mkdir dir="${build.dir}"/>
      <javac srcdir="${src.dir}" destdir="${build.dir}" classpathref="class.path"/>
   </target>

   <target name="runFirst" description="Runs first.Simple">
      <java classpathref="class.path" classname="first.Simple"/>
   </target>

   <target name="runSecond" description="Runs second.Simple">
      <java classpathref="class.path" classname="second.Simple"/>
   </target>

   <target name="runThird" description="Runs third.Workflow">
      <java classpathref="class.path" classname="third.Workflow"/>
   </target>

</project>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -