Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- Normal build of application -->^M
- <target name="compile" depends="init">^M
- <!-- compile normal files -->^M
- <javac source="${build.source}" target="${build.target}" debug="${build.debug}" srcdir="${path.source}" destdir="${path.classes}">^M
- <classpath refid="compile.classpath" />^M
- <sourcepath location="${path.plugin}/plugin.Core/source" />^M
- </javac>^M
- ^M
- <!-- compile the plugins to a separate folders --> ^M
- <jpf-sort^M
- basedir="${path.plugin}"^M
- pathid="plugins"^M
- verbose="false"^M
- includes="*/plugin.xml,*/plugin-fragment.xml"^M
- excludes="**/plugin.Core/*"^M
- pathmode="DIR"/> ^M
- ^M
- <delete dir="${path.tmp}/plugin" />^M
- <mkdir dir="${path.tmp}/plugin" />^M
- ^M
- <for param="dir">^M
- <path refid="plugins" />^M
- <sequential>^M
- ^M
- <var name="destdir" unset="true"/>^M
- <basename property="destdir" file="@{dir}" />^M
- <echo message="compiling plugin ${destdir}" />^M
- ^M
- <mkdir dir="${path.tmp}/plugin/${destdir}/classes" />^M
- ^M
- <javac source="${build.source}" target="${build.target}" debug="${build.debug}" srcdir="@{dir}/source" destdir="${path.tmp}/plugin/${destdir}/classes">^M
- <classpath refid="compile.classpath" />^M
- <classpath refid="plugin.classpath" />^M
- <classpath location="${path.classes}" />^M
- <classpath location="${path.tmp}/plugin/plugin.bookingsystem.HRSMock/classes" />^M
- </javac>^M
- </sequential> ^M
- </for>^M
- ^M
- <!-- copy xml files to classes dir -->^M
- <copy todir="${path.classes}">^M
- <fileset dir="${path.config}">^M
- <include name="*.xml" />^M
- </fileset>^M
- </copy> ^M
- </target>^M
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement