blob: 242cb614a770a93ae96efaebb9772bd2198aa0da [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<project name="org.eclipse.osee.framework.messaging" default="build.jars" basedir=".">
<property name="p2.build.repo" value="file:${buildDirectory}/buildRepo"/>
<property name="basews" value="${ws}"/>
<property name="baseos" value="${os}"/>
<property name="basearch" value="${arch}"/>
<property name="basenl" value="${nl}"/>
<property name="bundleId" value="org.eclipse.osee.framework.messaging"/>
<property name="bundleVersion" value="0.9.9.201109130810"/>
<property name="p2.publishonerror" value="false"/>
<available property="customBuildCallbacks" file="./customBuildCallbacks.xml" value="customBuildCallbacks.xml"/>
<!-- Compiler settings. -->
<property name="javacFailOnError" value="false"/>
<property name="javacDebugInfo" value="on"/>
<property name="javacVerbose" value="false"/>
<property name="logExtension" value=".log"/>
<property name="compilerArg" value=""/>
<property name="compilation.prereq.log" value="${buildDirectory}/prereqErrors.log"/>
<property name="javacSource" value="1.3"/>
<property name="javacTarget" value="1.2"/>
<condition property="dir_bootclasspath" value="${java.home}/../Classes">
<os family="mac"/>
</condition>
<property name="dir_bootclasspath" value="${java.home}/lib"/>
<path id="path_bootclasspath">
<fileset dir="${dir_bootclasspath}">
<include name="*.jar"/>
</fileset>
</path>
<property name="bootclasspath" refid="path_bootclasspath"/>
<condition property="bundleBootClasspath" value="${JavaSE-1.6}" >
<isset property="JavaSE-1.6"/>
</condition>
<condition property="bundleJavacSource" value="1.6" >
<isset property="JavaSE-1.6"/>
</condition>
<condition property="bundleJavacTarget" value="1.6" >
<isset property="JavaSE-1.6"/>
</condition>
<property name="bundleJavacSource" value="${javacSource}"/>
<property name="bundleJavacTarget" value="${javacTarget}"/>
<property name="bundleBootClasspath" value="${bootclasspath}"/>
<target name="init" depends="properties">
<condition property="pluginTemp" value="${buildTempFolder}/plugins" >
<isset property="buildTempFolder"/>
</condition>
<property name="pluginTemp" value="${basedir}"/>
<condition property="build.result.folder" value="${pluginTemp}/org.eclipse.osee.framework.messaging_0.9.9.201109130810" >
<isset property="buildTempFolder"/>
</condition>
<property name="build.result.folder" value="${basedir}"/>
<property name="temp.folder" value="${basedir}/temp.folder"/>
<property name="plugin.destination" value="${basedir}"/>
<condition property="p2.publish.parts" value="true" >
<istrue value="${p2.gathering}"/>
</condition>
<property name="compilation.problem.marker" value="${build.result.folder}/compilation.problem"/>
<condition property="compilation.problem.marker.exists" value="true" >
<and>
<available file="${compilation.problem.marker}"/>
<isfalse value="${p2.publishonerror}"/>
</and>
</condition>
</target>
<target name="properties" if="eclipse.running">
<property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
</target>
<target name="build.update.jar" depends="init" description="Build the plug-in: org.eclipse.osee.framework.messaging for an update site.">
<delete dir="${temp.folder}"/>
<mkdir dir="${temp.folder}"/>
<antcall target="build.jars"/>
<antcall target="gather.bin.parts">
<param name="destination.temp.folder" value="${temp.folder}/"/>
</antcall>
<jar destfile="${plugin.destination}/org.eclipse.osee.framework.messaging_0.9.9.201109130810.jar" basedir="${temp.folder}/org.eclipse.osee.framework.messaging_0.9.9.201109130810" filesetmanifest="merge"/>
<delete dir="${temp.folder}"/>
</target>
<target name="@dot.nestedJars">
<mkdir dir="${buildDirectory}/nestedJars/org.eclipse.equinox.registry_3.5.100.v20110502"/>
<unzip src="../../../../OSEE/plugins/org.eclipse.equinox.registry_3.5.100.v20110502.jar" dest="${buildDirectory}/nestedJars/org.eclipse.equinox.registry_3.5.100.v20110502" overwrite="false">
<patternset includes="runtime_registry_compatibility.jar"/>
</unzip>
</target>
<target name="@dot" depends="init,@dot.nestedJars" unless="@dot" description="Create jar: org.eclipse.osee.framework.messaging @dot.">
<delete dir="${build.result.folder}/@dot"/>
<mkdir dir="${build.result.folder}/@dot"/>
<path id="@dot.classpath">
<pathelement path="../../../../OSEE/plugins/jms.libraries_0.9.9.v201109031253/libs/geronimo-j2ee-management_1.0_spec-1.0.jar"/>
<pathelement path="../../../../OSEE/plugins/jms.libraries_0.9.9.v201109031253/libs/geronimo-jms_1.1_spec-1.1.1.jar"/>
<pathelement path="../../../../OSEE/plugins/jms.libraries_0.9.9.v201109031253/libs/activemq-all-5.14.0.jar"/>
<pathelement path="../../../../OSEE/plugins/javax.xml_1.3.4.v201005080400.jar"/>
<pathelement path="../../../../OSEE/plugins/org.eclipse.osgi_3.7.0.v20110613.jar"/>
<pathelement path="../../../../OSEE/plugins/org.eclipse.equinox.servletbridge.extensionbundle_1.2.0.v20100503.jar"/>
<pathelement path="../../../../OSEE/plugins/org.eclipse.equinox.transforms.hook_1.0.300.v20100719.jar"/>
<pathelement path="../../../../OSEE/plugins/org.eclipse.equinox.weaving.hook_1.0.100.v20110502.jar"/>
<pathelement path="../../../../OSEE/plugins/org.slf4j.jcl_1.6.1.v20100831-0715.jar"/>
<pathelement path="../../../../OSEE/plugins/org.slf4j.api_1.6.1.v20100831-0715.jar"/>
<pathelement path="../../../../OSEE/plugins/ch.qos.logback.slf4j_0.9.27.v20110224-1110.jar"/>
<pathelement path="../../../../OSEE/plugins/ch.qos.logback.classic_0.9.27.v20110224-1110.jar"/>
<pathelement path="../../../../OSEE/plugins/org.eclipse.osee.logback.config_0.9.8.v201109031253.jar"/>
<pathelement path="../../../../OSEE/plugins/ch.qos.logback.core_0.9.27.v20110224-1110.jar"/>
<pathelement path="../../../../OSEE/plugins/javax.servlet_2.5.0.v201103041518.jar"/>
<pathelement path="../../../../OSEE/plugins/javax.mail.glassfish_1.4.1.v201005082020.jar"/>
<pathelement path="../../../../OSEE/plugins/javax.activation_1.1.0.v201105071233.jar"/>
<pathelement path="../../../../OSEE/plugins/org.eclipse.core.runtime_3.7.0.v20110110.jar"/>
<pathelement path="../../../../OSEE/plugins/org.eclipse.equinox.common_3.6.0.v20110523.jar"/>
<pathelement path="../../../../OSEE/plugins/org.eclipse.core.jobs_3.5.100.v20110404.jar"/>
<pathelement path="../../../../OSEE/plugins/org.eclipse.core.runtime.compatibility.registry_3.5.0.v20110505/runtime_registry_compatibility.jar"/>
<pathelement path="../../../../OSEE/plugins/org.eclipse.core.runtime.compatibility.registry_3.5.0.v20110505"/>
<pathelement path="${buildDirectory}/nestedJars/org.eclipse.equinox.registry_3.5.100.v20110502/runtime_registry_compatibility.jar"/>
<pathelement path="../../../../OSEE/plugins/org.eclipse.equinox.registry_3.5.100.v20110502.jar"/>
<pathelement path="../../../../OSEE/plugins/org.eclipse.equinox.preferences_3.4.0.v20110502.jar"/>
<pathelement path="../../../../OSEE/plugins/org.eclipse.core.contenttype_3.4.100.v20110423-0524.jar"/>
<pathelement path="../../../../OSEE/plugins/org.eclipse.core.runtime.compatibility.auth_3.2.200.v20110110.jar"/>
<pathelement path="../../../../OSEE/plugins/org.eclipse.equinox.app_1.3.100.v20110321.jar"/>
<pathelement path="../../../../OSEE/plugins/org.eclipse.osgi.services_3.3.0.v20110513.jar"/>
<pathelement path="../org.eclipse.osee.framework.core/bin/"/>
<pathelement path="${build.result.folder}/../org.eclipse.osee.framework.core_0.9.9.201109130810/bin/"/>
<pathelement path="${build.result.folder}/../org.eclipse.osee.framework.core/@dot"/>
<pathelement path="${build.result.folder}/../org.eclipse.osee.framework.core_0.9.9.201109130810/@dot"/>
<pathelement path="../../../../OSEE/plugins/com.lowagie.text_2.1.7.v201004222200.jar"/>
<pathelement path="../../../../OSEE/plugins/org.apache.commons.httpclient_3.1.0.v201012070820.jar"/>
<pathelement path="../../../../OSEE/plugins/org.apache.commons.codec_1.3.0.v201101211617.jar"/>
<pathelement path="../../../../OSEE/plugins/org.eclipse.core.net_1.2.100.I20110511-0800.jar"/>
<pathelement path="../../../../OSEE/plugins/org.eclipse.core.net.win32.x86_1.0.100.I20110331-0827.jar"/>
<pathelement path="../../../../OSEE/plugins/org.eclipse.equinox.security_1.1.0.v20110502.jar"/>
<pathelement path="../../../../OSEE/plugins/org.eclipse.equinox.security.win32.x86_1.0.200.v20100503.jar"/>
<pathelement path="../org.eclipse.osee.framework.jdk.core/bin/"/>
<pathelement path="${build.result.folder}/../org.eclipse.osee.framework.jdk.core_0.9.9.201109130810/bin/"/>
<pathelement path="${build.result.folder}/../org.eclipse.osee.framework.jdk.core/@dot"/>
<pathelement path="${build.result.folder}/../org.eclipse.osee.framework.jdk.core_0.9.9.201109130810/@dot"/>
<pathelement path="../../../../OSEE/plugins/org.apache.xerces_2.9.0.v201101211617.jar"/>
<pathelement path="../../../../OSEE/plugins/org.apache.xml.resolver_1.2.0.v201005080400.jar"/>
<pathelement path="../../../../OSEE/plugins/org.apache.xml.serializer_2.7.1.v201005080400.jar"/>
<pathelement path="../org.eclipse.osee.framework.logging/bin/"/>
<pathelement path="${build.result.folder}/../org.eclipse.osee.framework.logging_0.9.9.201109130810/bin/"/>
<pathelement path="${build.result.folder}/../org.eclipse.osee.framework.logging/@dot"/>
<pathelement path="${build.result.folder}/../org.eclipse.osee.framework.logging_0.9.9.201109130810/@dot"/>
<pathelement path="../org.eclipse.osee.framework.plugin.core/bin/"/>
<pathelement path="${build.result.folder}/../org.eclipse.osee.framework.plugin.core_0.9.9.201109130810/bin/"/>
<pathelement path="${build.result.folder}/../org.eclipse.osee.framework.plugin.core/@dot"/>
<pathelement path="${build.result.folder}/../org.eclipse.osee.framework.plugin.core_0.9.9.201109130810/@dot"/>
<pathelement path="../../../../OSEE/plugins/org.eclipse.core.resources_3.7.100.v20110510-0712.jar"/>
<pathelement path="../../../../OSEE/plugins/org.eclipse.core.resources.win32.x86_3.5.100.v20110423-0524.jar"/>
<pathelement path="../../../../OSEE/plugins/org.eclipse.ant.core_3.2.300.v20110511.jar"/>
<pathelement path="../../../../OSEE/plugins/org.eclipse.core.variables_3.2.500.v20110511.jar"/>
<pathelement path="../../../../OSEE/plugins/org.eclipse.core.expressions_3.4.300.v20110228.jar"/>
<pathelement path="../../../../OSEE/plugins/org.eclipse.core.filesystem_1.3.100.v20110423-0524.jar"/>
<pathelement path="../../../../OSEE/plugins/org.eclipse.core.filesystem.win32.x86_1.1.300.v20110423-0524.jar"/>
</path>
<subant antfile="${customBuildCallbacks}" target="pre.@dot" failonerror="true " buildpath="." inheritall="true">
<property name="source.folder1" value="src/"/>
<property name="source.folder2" value="src-gen/"/>
<property name="target.folder" value="${build.result.folder}/@dot"/>
<reference refid="@dot.classpath"/>
</subant>
<!-- compile the source code -->
<javac destdir="${build.result.folder}/@dot" failonerror="${javacFailOnError}" verbose="${javacVerbose}" debug="${javacDebugInfo}" includeAntRuntime="no" bootclasspath="${bundleBootClasspath}" source="${bundleJavacSource}" target="${bundleJavacTarget}" >
<compilerarg line="${compilerArg}" compiler="${build.compiler}"/>
<classpath refid="@dot.classpath" />
<src path="src/" />
<src path="src-gen/" />
<compilerarg value="@${basedir}/javaCompiler...args" compiler="org.eclipse.jdt.core.JDTCompilerAdapter" />
<compilerarg line="-log &apos;${build.result.folder}/@dot${logExtension}&apos;" compiler="org.eclipse.jdt.core.JDTCompilerAdapter" />
</javac>
<antcall target="checkCompilationResults"/>
<!-- Copy necessary resources -->
<copy todir="${build.result.folder}/@dot" failonerror="true" overwrite="false">
<fileset dir="src/">
<exclude name="**/*.java"/>
<exclude name="**/package.htm*"/>
</fileset>
<fileset dir="src-gen/">
<exclude name="**/*.java"/>
<exclude name="**/package.htm*"/>
</fileset>
</copy>
<subant antfile="${customBuildCallbacks}" target="post.compile.@dot" failonerror="true " buildpath="." inheritall="true">
<property name="source.folder1" value="src/"/>
<property name="source.folder2" value="src-gen/"/>
<property name="target.folder" value="${build.result.folder}/@dot"/>
<reference refid="@dot.classpath"/>
</subant>
<subant antfile="${customBuildCallbacks}" target="post.@dot" failonerror="true " buildpath="." inheritall="true">
<property name="jar.Location" value="${build.result.folder}/@dot"/>
<reference refid="@dot.classpath"/>
</subant>
</target>
<target name="src.zip" depends="init" unless="src.zip">
<mkdir dir="${build.result.folder}"/>
<antcall target="zip.src.zip"/>
</target>
<target name="zip.src.zip">
<zip destfile="${build.result.folder}/src.zip" filesonly="false" whenempty="skip" update="false">
<fileset dir="src/">
<include name="**/*.java"/>
</fileset>
<fileset dir="src-gen/">
<include name="**/*.java"/>
</fileset>
</zip>
</target>
<target name="copy.src.zip">
<copy todir="${source.destination.folder}/" failonerror="true" overwrite="true">
<fileset dir="src/">
<include name="**/*.java"/>
</fileset>
<fileset dir="src-gen/">
<include name="**/*.java"/>
</fileset>
</copy>
</target>
<target name="build.jars" depends="init" description="Compile classes and build nested jars for the plug-in: org.eclipse.osee.framework.messaging.">
<delete file="${compilation.problem.marker}" quiet="true"/>
<subant antfile="${customBuildCallbacks}" target="pre.build.jars" failonerror="true " buildpath="." inheritall="true">
<property name="build.result.folder" value="${build.result.folder}"/>
</subant>
<available property="@dot" file="${build.result.folder}/@dot"/>
<antcall target="@dot"/>
<subant antfile="${customBuildCallbacks}" target="post.build.jars" failonerror="true " buildpath="." inheritall="true">
<property name="build.result.folder" value="${build.result.folder}"/>
</subant>
</target>
<target name="checkCompilationResults" if="compilation.error.occured">
<echo file="${compilation.problem.marker}" message="org.eclipse.osee.framework.messaging_0.9.9.201109130810${line.separator}compilation.error.occured=${compilation.error.occured}"/>
<eclipse.logCompileError bundle="org.eclipse.osee.framework.messaging_0.9.9.201109130810" log="${compilation.prereq.log}">
<include name="C:/UserData/GIT/org.eclipse.osee/plugins/org.eclipse.osee.framework.jdk.core/compilation.problem"/>
<include name="${pluginTemp}/org.eclipse.osee.framework.jdk.core_0.9.9.201109130810/compilation.problem"/>
<include name="C:/UserData/GIT/org.eclipse.osee/plugins/org.eclipse.osee.framework.core/compilation.problem"/>
<include name="${pluginTemp}/org.eclipse.osee.framework.core_0.9.9.201109130810/compilation.problem"/>
<include name="C:/UserData/GIT/org.eclipse.osee/plugins/org.eclipse.osee.framework.plugin.core/compilation.problem"/>
<include name="${pluginTemp}/org.eclipse.osee.framework.plugin.core_0.9.9.201109130810/compilation.problem"/>
<include name="C:/UserData/GIT/org.eclipse.osee/plugins/org.eclipse.osee.framework.logging/compilation.problem"/>
<include name="${pluginTemp}/org.eclipse.osee.framework.logging_0.9.9.201109130810/compilation.problem"/>
</eclipse.logCompileError>
</target>
<target name="build.sources" depends="init">
<subant antfile="${customBuildCallbacks}" target="pre.build.sources" failonerror="true " buildpath="." inheritall="true">
<property name="build.result.folder" value="${build.result.folder}"/>
</subant>
<available property="src.zip" file="${build.result.folder}/src.zip"/>
<antcall target="src.zip"/>
<subant antfile="${customBuildCallbacks}" target="post.build.sources" failonerror="true " buildpath="." inheritall="true">
<property name="build.result.folder" value="${build.result.folder}"/>
</subant>
</target>
<target name="publish.bin.parts" depends="init" if="p2.publish.parts" unless="compilation.problem.marker.exists">
<mkdir dir="${build.result.folder}/org.eclipse.osee.framework.messaging_0.9.9.201109130810"/>
<subant antfile="${customBuildCallbacks}" target="pre.gather.bin.parts" failonerror="true " buildpath="." inheritall="true">
<property name="build.result.folder" value="${build.result.folder}"/>
<property name="target.folder" value="${build.result.folder}/org.eclipse.osee.framework.messaging_0.9.9.201109130810"/>
</subant>
<copy todir="${build.result.folder}/org.eclipse.osee.framework.messaging_0.9.9.201109130810" failonerror="true" overwrite="false">
<fileset dir="${build.result.folder}/@dot">
<include name="**"/>
</fileset>
</copy>
<copy todir="${build.result.folder}/org.eclipse.osee.framework.messaging_0.9.9.201109130810" failonerror="true" overwrite="true">
<fileset dir="${basedir}">
<include name="META-INF/"/>
<include name="customBuildCallbacks.xml"/>
<include name="msgSchemas/"/>
<include name="build.properties"/>
</fileset>
</copy>
<eclipse.versionReplacer path="${build.result.folder}/org.eclipse.osee.framework.messaging_0.9.9.201109130810" version="0.9.9.201109130810"/>
<antcall target="apitools.generation">
<param name="target.folder" value="${build.result.folder}/org.eclipse.osee.framework.messaging_0.9.9.201109130810"/>
<param name="projectLocation" value="${basedir}"/>
<param name="binary.folders" value="${build.result.folder}/@dot"/>
<param name="projectName" value="${bundleId}_${bundleVersion}"/>
</antcall>
<subant antfile="${customBuildCallbacks}" target="post.gather.bin.parts" failonerror="true " buildpath="." inheritall="true">
<property name="build.result.folder" value="${build.result.folder}"/>
<property name="target.folder" value="${build.result.folder}/org.eclipse.osee.framework.messaging_0.9.9.201109130810"/>
</subant>
<eclipse.gatherBundle
metadataRepository="${p2.build.repo}"
artifactRepository="${p2.build.repo}"
buildResultFolder="${build.result.folder}"
unpack="false"
targetFolder="${build.result.folder}/org.eclipse.osee.framework.messaging_0.9.9.201109130810"
/>
</target>
<target name="gather.bin.parts" depends="init" if="destination.temp.folder">
<mkdir dir="${destination.temp.folder}/org.eclipse.osee.framework.messaging_0.9.9.201109130810"/>
<subant antfile="${customBuildCallbacks}" target="pre.gather.bin.parts" failonerror="true " buildpath="." inheritall="true">
<property name="build.result.folder" value="${build.result.folder}"/>
<property name="target.folder" value="${destination.temp.folder}/org.eclipse.osee.framework.messaging_0.9.9.201109130810"/>
</subant>
<copy todir="${destination.temp.folder}/org.eclipse.osee.framework.messaging_0.9.9.201109130810" failonerror="true" overwrite="false">
<fileset dir="${build.result.folder}/@dot">
<include name="**"/>
</fileset>
</copy>
<copy todir="${destination.temp.folder}/org.eclipse.osee.framework.messaging_0.9.9.201109130810" failonerror="true" overwrite="true">
<fileset dir="${basedir}">
<include name="META-INF/"/>
<include name="customBuildCallbacks.xml"/>
<include name="msgSchemas/"/>
<include name="build.properties"/>
</fileset>
</copy>
<eclipse.versionReplacer path="${destination.temp.folder}/org.eclipse.osee.framework.messaging_0.9.9.201109130810" version="0.9.9.201109130810"/>
<antcall target="apitools.generation">
<param name="target.folder" value="${destination.temp.folder}/org.eclipse.osee.framework.messaging_0.9.9.201109130810"/>
<param name="projectLocation" value="${basedir}"/>
<param name="binary.folders" value="${build.result.folder}/@dot"/>
<param name="projectName" value="${bundleId}_${bundleVersion}"/>
</antcall>
<subant antfile="${customBuildCallbacks}" target="post.gather.bin.parts" failonerror="true " buildpath="." inheritall="true">
<property name="build.result.folder" value="${build.result.folder}"/>
<property name="target.folder" value="${destination.temp.folder}/org.eclipse.osee.framework.messaging_0.9.9.201109130810"/>
</subant>
</target>
<target name="build.zips" depends="init">
</target>
<target name="gather.sources" depends="init" if="destination.temp.folder">
<subant antfile="${customBuildCallbacks}" target="pre.gather.sources" failonerror="true " buildpath="." inheritall="true">
<property name="target.folder" value="${destination.temp.folder}/org.eclipse.osee.framework.messaging_0.9.9.201109130810"/>
</subant>
<mkdir dir="${destination.temp.folder}/org.eclipse.osee.framework.messaging_0.9.9.201109130810"/>
<copy file="${build.result.folder}/src.zip" todir="${destination.temp.folder}/org.eclipse.osee.framework.messaging_0.9.9.201109130810" failonerror="false" overwrite="false"/>
<antcall target="copy.src.includes">
<param name="source.destination.folder" value="${destination.temp.folder}/org.eclipse.osee.framework.messaging_0.9.9.201109130810"/>
</antcall>
<subant antfile="${customBuildCallbacks}" target="post.gather.sources" failonerror="true " buildpath="." inheritall="true">
<property name="target.folder" value="${destination.temp.folder}/org.eclipse.osee.framework.messaging_0.9.9.201109130810"/>
</subant>
</target>
<target name="gather.individual.sources" depends="init">
<subant antfile="${customBuildCallbacks}" target="pre.gather.sources" failonerror="true " buildpath="." inheritall="true">
<property name="target.folder" value="${destination.temp.folder}"/>
</subant>
<antcall target="copy.src.zip">
<param name="source.destination.folder" value="${destination.temp.folder}"/>
</antcall>
<antcall target="copy.src.includes">
<param name="source.destination.folder" value="${destination.temp.folder}"/>
</antcall>
<subant antfile="${customBuildCallbacks}" target="post.gather.sources" failonerror="true " buildpath="." inheritall="true">
<property name="target.folder" value="${destination.temp.folder}"/>
</subant>
</target>
<target name="copy.src.includes" depends="init">
</target>
<target name="gather.logs" depends="init" if="destination.temp.folder">
<subant antfile="${customBuildCallbacks}" target="pre.gather.logs" failonerror="true " buildpath="." inheritall="true">
<property name="destination.temp.folder" value="${destination.temp.folder}/org.eclipse.osee.framework.messaging_0.9.9.201109130810"/>
</subant>
<mkdir dir="${destination.temp.folder}/org.eclipse.osee.framework.messaging_0.9.9.201109130810"/>
<copy todir="${destination.temp.folder}/org.eclipse.osee.framework.messaging_0.9.9.201109130810" failonerror="false" overwrite="false">
<fileset dir="${build.result.folder}">
<include name="@dot${logExtension}"/>
</fileset>
</copy>
<subant antfile="${customBuildCallbacks}" target="post.gather.logs" failonerror="true " buildpath="." inheritall="true">
<property name="destination.temp.folder" value="${destination.temp.folder}/org.eclipse.osee.framework.messaging_0.9.9.201109130810"/>
</subant>
</target>
<target name="clean" depends="init" description="Clean the plug-in: org.eclipse.osee.framework.messaging of all the zips, jars and logs created.">
<subant antfile="${customBuildCallbacks}" target="pre.clean" failonerror="true " buildpath="." inheritall="true">
<property name="plugin.destination" value="${plugin.destination}"/>
<property name="build.result.folder" value="${build.result.folder}"/>
<property name="temp.folder" value="${temp.folder}"/>
</subant>
<delete dir="${build.result.folder}/@dot"/>
<delete file="${build.result.folder}/src.zip"/>
<delete file="${plugin.destination}/org.eclipse.osee.framework.messaging_0.9.9.201109130810.jar"/>
<delete file="${plugin.destination}/org.eclipse.osee.framework.messaging_0.9.9.201109130810.zip"/>
<delete dir="${temp.folder}"/>
<delete file="${compilation.problem.marker}" quiet="true"/>
<subant antfile="${customBuildCallbacks}" target="post.clean" failonerror="true " buildpath="." inheritall="true">
<property name="plugin.destination" value="${plugin.destination}"/>
<property name="build.result.folder" value="${build.result.folder}"/>
<property name="temp.folder" value="${temp.folder}"/>
</subant>
</target>
<target name="refresh" depends="init" if="eclipse.running" description="Refresh this folder.">
<eclipse.convertPath fileSystemPath="C:/UserData/GIT/org.eclipse.osee/plugins/org.eclipse.osee.framework.messaging" property="resourcePath"/>
<eclipse.refreshLocal resource="${resourcePath}" depth="infinite"/>
</target>
<target name="zip.plugin" depends="init" description="Create a zip containing all the elements for the plug-in: org.eclipse.osee.framework.messaging.">
<delete dir="${temp.folder}"/>
<mkdir dir="${temp.folder}"/>
<antcall target="build.jars"/>
<antcall target="build.sources"/>
<antcall target="gather.bin.parts">
<param name="destination.temp.folder" value="${temp.folder}/"/>
</antcall>
<antcall target="gather.sources">
<param name="destination.temp.folder" value="${temp.folder}/"/>
</antcall>
<delete>
<fileset dir="${temp.folder}">
<include name="**/*.bin${logExtension}"/>
</fileset>
</delete>
<zip destfile="${plugin.destination}/org.eclipse.osee.framework.messaging_0.9.9.201109130810.zip" basedir="${temp.folder}" filesonly="true" whenempty="skip" update="false"/>
<delete dir="${temp.folder}"/>
</target>
<target name="apitools.generation" if="generateAPIDescription">
<apitooling.apigeneration projectName="${projectName}" project="${projectLocation}" binary="${binary.folders}" target="${target.folder}" extramanifests="${extraManifests}" allownonapiproject="${allowNonApiProject}" />
</target>
</project>