Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.55 KB | None | 0 0
  1.         <!-- Normal build of application -->^M
  2.         <target name="compile" depends="init">^M
  3.                 <!-- compile normal files -->^M
  4.                 <javac source="${build.source}" target="${build.target}" debug="${build.debug}" srcdir="${path.source}" destdir="${path.classes}">^M
  5.                         <classpath refid="compile.classpath" />^M
  6.                         <sourcepath location="${path.plugin}/plugin.Core/source" />^M
  7.                 </javac>^M
  8.         ^M
  9.                 <!-- compile the plugins to a separate folders -->              ^M
  10.                 <jpf-sort^M
  11.                        basedir="${path.plugin}"^M
  12.                        pathid="plugins"^M
  13.                        verbose="false"^M
  14.                        includes="*/plugin.xml,*/plugin-fragment.xml"^M
  15.                        excludes="**/plugin.Core/*"^M
  16.                        pathmode="DIR"/>                ^M
  17.                 ^M
  18.                 <delete dir="${path.tmp}/plugin" />^M
  19.                 <mkdir dir="${path.tmp}/plugin" />^M
  20.                 ^M
  21.                 <for param="dir">^M
  22.                         <path refid="plugins" />^M
  23.                         <sequential>^M
  24. ^M
  25.                             <var name="destdir" unset="true"/>^M
  26.                                 <basename property="destdir" file="@{dir}" />^M
  27.                                 <echo message="compiling plugin ${destdir}" />^M
  28. ^M
  29.                                 <mkdir dir="${path.tmp}/plugin/${destdir}/classes" />^M
  30.                                 ^M
  31.                                 <javac source="${build.source}" target="${build.target}" debug="${build.debug}" srcdir="@{dir}/source" destdir="${path.tmp}/plugin/${destdir}/classes">^M
  32.                                         <classpath refid="compile.classpath" />^M
  33.                                         <classpath refid="plugin.classpath" />^M
  34.                                         <classpath location="${path.classes}" />^M
  35.                                         <classpath location="${path.tmp}/plugin/plugin.bookingsystem.HRSMock/classes" />^M
  36.                                 </javac>^M
  37.                         </sequential>                           ^M
  38.                 </for>^M
  39.                 ^M
  40.                 <!-- copy xml files to classes dir -->^M
  41.                 <copy todir="${path.classes}">^M
  42.                         <fileset dir="${path.config}">^M
  43.                                 <include name="*.xml" />^M
  44.                         </fileset>^M
  45.                 </copy>         ^M
  46.         </target>^M
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement