Commit 1369fa26 authored by 王业明's avatar 王业明
Browse files

Fix:流程视图中改完后,流程文件没更新,不能保存到文件里,IDE重新打开后就变成原来的了,流程文件应该是有缓存的。

parent 00106ba0
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8"?>
<project name="org.python.pydev.ast" 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.python.pydev.ast"/>
<property name="bundleVersion" value="2.4.0.2012020116"/>
<property name="p2.publishonerror" value="false"/>
<!-- 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"/>
<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.python.pydev.ast_2.4.0.2012020116" >
<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.python.pydev.ast 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.python.pydev.ast_2.4.0.2012020116.jar" basedir="${temp.folder}/org.python.pydev.ast_2.4.0.2012020116" filesetmanifest="merge"/>
<delete dir="${temp.folder}"/>
</target>
<target name="ast.jar" depends="init" unless="ast.jar" description="Create jar: org.python.pydev.ast ast.jar.">
<delete dir="${temp.folder}/ast.jar.bin"/>
<mkdir dir="${temp.folder}/ast.jar.bin"/>
<path id="ast.jar.classpath">
<pathelement path="../../eclipse/plugins/org.eclipse.ui_3.6.0.I20100603-1100.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.runtime_3.6.0.v20100505.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.osgi_3.6.0.v20100517.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.equinox.common_3.6.0.v20100503.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.jobs_3.5.0.v20100515.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.runtime.compatibility.registry_3.3.0.v20100520/runtime_registry_compatibility.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.runtime.compatibility.registry_3.3.0.v20100520"/>
<pathelement path="../../eclipse/plugins/org.eclipse.equinox.registry_3.5.0.v20100503.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.equinox.preferences_3.3.0.v20100503.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.contenttype_3.4.100.v20100505-1235.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.runtime.compatibility.auth_3.2.200.v20100517.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.equinox.app_1.3.0.v20100512.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.osgi.services_3.2.100.v20100503.jar"/>
<pathelement path="../../eclipse/plugins/javax.servlet_2.5.0.v200910301333.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.swt_3.6.0.v3650b.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.swt.win32.win32.x86_3.6.0.v3650b.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.jface_3.6.0.I20100601-0800.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.commands_3.6.0.I20100512-1500.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.ui.workbench_3.6.0.I20100603-1100.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.ui.workbench.compatibility_3.2.100.I20100511-0800/compatibility.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.ui.workbench.compatibility_3.2.100.I20100511-0800/e4-workbench.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.ui.workbench.compatibility_3.2.100.I20100511-0800"/>
<pathelement path="../../eclipse/plugins/com.ibm.icu_4.2.1.v20100412.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.help_3.5.0.v20100524.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.expressions_3.4.200.v20100505.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.jface.databinding_1.4.0.I20100601-0800.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.databinding.observable_1.3.0.I20100601-0800.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.databinding.property_1.3.0.I20100601-0800.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.databinding_1.3.100.I20100601-0800.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.resources_3.6.0.v20100526-0737.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.resources.win32.x86_3.5.100.v20100505-1345.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.ant.core_3.2.200.v20100427.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.variables_3.2.400.v20100505.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.filesystem_1.3.0.v20100526-0737.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.filesystem.win32.x86_1.1.200.v20100505-1235.jar"/>
</path>
<!-- compile the source code -->
<javac destdir="${temp.folder}/ast.jar.bin" failonerror="${javacFailOnError}" verbose="${javacVerbose}" debug="${javacDebugInfo}" includeAntRuntime="no" bootclasspath="${bundleBootClasspath}" source="${bundleJavacSource}" target="${bundleJavacTarget}" errorProperty="compilation.error.occured" >
<compilerarg line="${compilerArg}" compiler="${build.compiler}"/>
<classpath refid="ast.jar.classpath" />
<src path="src/" />
<compilerarg value="@${basedir}/javaCompiler.ast.jar.args" compiler="org.eclipse.jdt.core.JDTCompilerAdapter" />
<compilerarg line="-log &apos;${temp.folder}/ast.jar.bin${logExtension}&apos;" compiler="org.eclipse.jdt.core.JDTCompilerAdapter" />
</javac>
<antcall target="checkCompilationResults"/>
<!-- Copy necessary resources -->
<copy todir="${temp.folder}/ast.jar.bin" failonerror="true" overwrite="false">
<fileset dir="src/">
<exclude name="**/*.java"/>
<exclude name="**/package.htm*"/>
</fileset>
</copy>
<mkdir dir="${build.result.folder}"/>
<jar destfile="${build.result.folder}/ast.jar" basedir="${temp.folder}/ast.jar.bin"/>
<delete dir="${temp.folder}/ast.jar.bin"/>
</target>
<target name="astsrc.zip" depends="init" unless="astsrc.zip">
<mkdir dir="${build.result.folder}"/>
<antcall target="zip.astsrc.zip"/>
</target>
<target name="zip.astsrc.zip">
<zip destfile="${build.result.folder}/astsrc.zip" filesonly="false" whenempty="skip" update="false">
<fileset dir="src/">
<include name="**/*.java"/>
</fileset>
</zip>
</target>
<target name="copy.astsrc.zip">
<copy todir="${source.destination.folder}/astsrc" failonerror="true" overwrite="true">
<fileset dir="src/">
<include name="**/*.java"/>
</fileset>
</copy>
</target>
<target name="build.jars" depends="init" description="Compile classes and build nested jars for the plug-in: org.python.pydev.ast.">
<delete file="${compilation.problem.marker}" quiet="true"/>
<available property="ast.jar" file="${build.result.folder}/ast.jar"/>
<antcall target="ast.jar"/>
</target>
<target name="checkCompilationResults" if="compilation.error.occured">
<echo file="${compilation.problem.marker}" message="org.python.pydev.ast_2.4.0.2012020116${line.separator}compilation.error.occured=${compilation.error.occured}"/>
<eclipse.logCompileError log="${compilation.prereq.log}" bundle="org.python.pydev.ast_2.4.0.2012020116">
</eclipse.logCompileError>
</target>
<target name="build.sources" depends="init">
<available property="astsrc.zip" file="${build.result.folder}/astsrc.zip"/>
<antcall target="astsrc.zip"/>
</target>
<target name="publish.bin.parts" depends="init" if="p2.publish.parts" unless="compilation.problem.marker.exists">
<mkdir dir="${build.result.folder}/org.python.pydev.ast_2.4.0.2012020116"/>
<copy todir="${build.result.folder}" failonerror="true" overwrite="true">
<fileset dir="${basedir}">
<include name="META-INF/MANIFEST.MF"/>
<include name="plugin.xml"/>
<include name="fragment.xml"/>
</fileset>
</copy>
<eclipse.versionReplacer path="${build.result.folder}" version="2.4.0.2012020116"/>
<antcall target="apitools.generation">
<param name="target.folder" value="${build.result.folder}"/>
<param name="projectLocation" value="${basedir}"/>
<param name="projectName" value="${bundleId}_${bundleVersion}"/>
<param name="binary.folders" value="${build.result.folder}/ast.jar"/>
</antcall>
<eclipse.gatherBundle
metadataRepository="${p2.build.repo}"
artifactRepository="${p2.build.repo}"
buildResultFolder="${build.result.folder}"
unpack="true"
baseDirectory="${basedir}"
/>
</target>
<target name="gather.bin.parts" depends="init" if="destination.temp.folder">
<mkdir dir="${destination.temp.folder}/org.python.pydev.ast_2.4.0.2012020116"/>
<copy todir="${destination.temp.folder}/org.python.pydev.ast_2.4.0.2012020116" failonerror="true" overwrite="false">
<fileset dir="${build.result.folder}">
<include name="ast.jar"/>
</fileset>
</copy>
<copy todir="${destination.temp.folder}/org.python.pydev.ast_2.4.0.2012020116" failonerror="true" overwrite="true">
<fileset dir="${basedir}">
<include name="plugin.xml"/>
<include name="ast.jar"/>
<include name="META-INF/"/>
<include name="LICENSE.txt"/>
</fileset>
</copy>
<eclipse.versionReplacer path="${destination.temp.folder}/org.python.pydev.ast_2.4.0.2012020116" version="2.4.0.2012020116"/>
<antcall target="apitools.generation">
<param name="target.folder" value="${destination.temp.folder}/org.python.pydev.ast_2.4.0.2012020116"/>
<param name="projectLocation" value="${basedir}"/>
<param name="projectName" value="${bundleId}_${bundleVersion}"/>
<param name="binary.folders" value="${destination.temp.folder}/org.python.pydev.ast_2.4.0.2012020116/ast.jar"/>
</antcall>
</target>
<target name="build.zips" depends="init">
</target>
<target name="gather.sources" depends="init" if="destination.temp.folder">
<mkdir dir="${destination.temp.folder}/org.python.pydev.ast_2.4.0.2012020116"/>
<copy file="${build.result.folder}/astsrc.zip" todir="${destination.temp.folder}/org.python.pydev.ast_2.4.0.2012020116" failonerror="false" overwrite="false"/>
<antcall target="copy.src.includes">
<param name="source.destination.folder" value="${destination.temp.folder}/org.python.pydev.ast_2.4.0.2012020116"/>
</antcall>
</target>
<target name="gather.individual.sources" depends="init">
<antcall target="copy.astsrc.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>
</target>
<target name="copy.src.includes" depends="init">
</target>
<target name="gather.logs" depends="init" if="destination.temp.folder">
<mkdir dir="${destination.temp.folder}/org.python.pydev.ast_2.4.0.2012020116"/>
<copy todir="${destination.temp.folder}/org.python.pydev.ast_2.4.0.2012020116" failonerror="false" overwrite="false">
<fileset dir="${temp.folder}">
<include name="ast.jar.bin${logExtension}"/>
</fileset>
</copy>
</target>
<target name="clean" depends="init" description="Clean the plug-in: org.python.pydev.ast of all the zips, jars and logs created.">
<delete file="${build.result.folder}/ast.jar"/>
<delete file="${build.result.folder}/astsrc.zip"/>
<delete file="${plugin.destination}/org.python.pydev.ast_2.4.0.2012020116.jar"/>
<delete file="${plugin.destination}/org.python.pydev.ast_2.4.0.2012020116.zip"/>
<delete dir="${temp.folder}"/>
<delete file="${compilation.problem.marker}" quiet="true"/>
</target>
<target name="refresh" depends="init" if="eclipse.running" description="Refresh this folder.">
<eclipse.convertPath fileSystemPath="W:/git_build_dir/pydev/plugins/org.python.pydev.ast" 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.python.pydev.ast.">
<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.python.pydev.ast_2.4.0.2012020116.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}" />
</target>
</project>
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8"?>
<project name="org.python.pydev.jython" 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.python.pydev.jython"/>
<property name="bundleVersion" value="2.4.0.2012020116"/>
<property name="p2.publishonerror" value="false"/>
<!-- 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"/>
<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.python.pydev.jython_2.4.0.2012020116" >
<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.python.pydev.jython 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.python.pydev.jython_2.4.0.2012020116.jar" basedir="${temp.folder}/org.python.pydev.jython_2.4.0.2012020116" filesetmanifest="merge"/>
<delete dir="${temp.folder}"/>
</target>
<target name="pydev-jython.jar" depends="init" unless="pydev-jython.jar" description="Create jar: org.python.pydev.jython pydev-jython.jar.">
<delete dir="${temp.folder}/pydev-jython.jar.bin"/>
<mkdir dir="${temp.folder}/pydev-jython.jar.bin"/>
<path id="pydev-jython.jar.classpath">
<pathelement path="../../eclipse/plugins/org.eclipse.core.runtime_3.6.0.v20100505.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.osgi_3.6.0.v20100517.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.equinox.common_3.6.0.v20100503.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.jobs_3.5.0.v20100515.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.runtime.compatibility.registry_3.3.0.v20100520/runtime_registry_compatibility.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.runtime.compatibility.registry_3.3.0.v20100520"/>
<pathelement path="../../eclipse/plugins/org.eclipse.equinox.registry_3.5.0.v20100503.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.equinox.preferences_3.3.0.v20100503.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.contenttype_3.4.100.v20100505-1235.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.runtime.compatibility.auth_3.2.200.v20100517.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.equinox.app_1.3.0.v20100512.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.osgi.services_3.2.100.v20100503.jar"/>
<pathelement path="../../eclipse/plugins/javax.servlet_2.5.0.v200910301333.jar"/>
<pathelement path="../org.python.pydev.core/bin/"/>
<pathelement path="${build.result.folder}/../org.python.pydev.core_2.4.0.2012020116/bin/"/>
<pathelement path="${build.result.folder}/../org.python.pydev.core/core.jar"/>
<pathelement path="${build.result.folder}/../org.python.pydev.core_2.4.0.2012020116/core.jar"/>
<pathelement path="../org.python.pydev.core/commons-codec.jar"/>
<pathelement path="${build.result.folder}/../org.python.pydev.core_2.4.0.2012020116/commons-codec.jar"/>
<pathelement path="../org.python.pydev.core/lib/jpathwatch-0-94.jar"/>
<pathelement path="${build.result.folder}/../org.python.pydev.core_2.4.0.2012020116/lib/jpathwatch-0-94.jar"/>
<pathelement path="../../eclipse/plugins/org.junit_3.8.2.v3_8_2_v20100427-1100/junit.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.ui_3.6.0.I20100603-1100.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.swt_3.6.0.v3650b.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.swt.win32.win32.x86_3.6.0.v3650b.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.jface_3.6.0.I20100601-0800.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.commands_3.6.0.I20100512-1500.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.ui.workbench_3.6.0.I20100603-1100.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.ui.workbench.compatibility_3.2.100.I20100511-0800/compatibility.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.ui.workbench.compatibility_3.2.100.I20100511-0800/e4-workbench.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.ui.workbench.compatibility_3.2.100.I20100511-0800"/>
<pathelement path="../../eclipse/plugins/com.ibm.icu_4.2.1.v20100412.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.help_3.5.0.v20100524.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.expressions_3.4.200.v20100505.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.jface.databinding_1.4.0.I20100601-0800.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.databinding.observable_1.3.0.I20100601-0800.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.databinding.property_1.3.0.I20100601-0800.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.databinding_1.3.100.I20100601-0800.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.resources_3.6.0.v20100526-0737.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.resources.win32.x86_3.5.100.v20100505-1345.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.ant.core_3.2.200.v20100427.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.variables_3.2.400.v20100505.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.filesystem_1.3.0.v20100526-0737.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.filesystem.win32.x86_1.1.200.v20100505-1235.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.jface.text_3.6.0.v20100526-0800.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.text_3.5.0.v20100601-1300.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.ui.workbench.texteditor_3.6.0.v20100520-0800.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.compare.core_3.5.100.I20100526-0800.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.filebuffers_3.5.100.v20100520-0800.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.ui.console_3.5.0.v20100526.jar"/>
<pathelement path="jython.jar"/>
</path>
<!-- compile the source code -->
<javac destdir="${temp.folder}/pydev-jython.jar.bin" failonerror="${javacFailOnError}" verbose="${javacVerbose}" debug="${javacDebugInfo}" includeAntRuntime="no" bootclasspath="${bundleBootClasspath}" source="${bundleJavacSource}" target="${bundleJavacTarget}" errorProperty="compilation.error.occured" >
<compilerarg line="${compilerArg}" compiler="${build.compiler}"/>
<classpath refid="pydev-jython.jar.classpath" />
<src path="src/" />
<src path="src_jython/" />
<compilerarg value="@${basedir}/javaCompiler.pydev-jython.jar.args" compiler="org.eclipse.jdt.core.JDTCompilerAdapter" />
<compilerarg line="-log &apos;${temp.folder}/pydev-jython.jar.bin${logExtension}&apos;" compiler="org.eclipse.jdt.core.JDTCompilerAdapter" />
</javac>
<antcall target="checkCompilationResults"/>
<!-- Copy necessary resources -->
<copy todir="${temp.folder}/pydev-jython.jar.bin" failonerror="true" overwrite="false">
<fileset dir="src/">
<exclude name="**/*.java"/>
<exclude name="**/package.htm*"/>
</fileset>
<fileset dir="src_jython/">
<exclude name="**/*.java"/>
<exclude name="**/package.htm*"/>
</fileset>
</copy>
<mkdir dir="${build.result.folder}"/>
<jar destfile="${build.result.folder}/pydev-jython.jar" basedir="${temp.folder}/pydev-jython.jar.bin"/>
<delete dir="${temp.folder}/pydev-jython.jar.bin"/>
</target>
<target name="pydev-jythonsrc.zip" depends="init" unless="pydev-jythonsrc.zip">
<mkdir dir="${build.result.folder}"/>
<antcall target="zip.pydev-jythonsrc.zip"/>
</target>
<target name="zip.pydev-jythonsrc.zip">
<zip destfile="${build.result.folder}/pydev-jythonsrc.zip" filesonly="false" whenempty="skip" update="false">
<fileset dir="src/">
<include name="**/*.java"/>
</fileset>
<fileset dir="src_jython/">
<include name="**/*.java"/>
</fileset>
</zip>
</target>
<target name="copy.pydev-jythonsrc.zip">
<copy todir="${source.destination.folder}/pydev-jythonsrc" failonerror="true" overwrite="true">
<fileset dir="src/">
<include name="**/*.java"/>
</fileset>
<fileset dir="src_jython/">
<include name="**/*.java"/>
</fileset>
</copy>
</target>
<target name="build.jars" depends="init" description="Compile classes and build nested jars for the plug-in: org.python.pydev.jython.">
<delete file="${compilation.problem.marker}" quiet="true"/>
<available property="pydev-jython.jar" file="${build.result.folder}/pydev-jython.jar"/>
<antcall target="pydev-jython.jar"/>
</target>
<target name="checkCompilationResults" if="compilation.error.occured">
<echo file="${compilation.problem.marker}" message="org.python.pydev.jython_2.4.0.2012020116${line.separator}compilation.error.occured=${compilation.error.occured}"/>
<eclipse.logCompileError log="${compilation.prereq.log}" bundle="org.python.pydev.jython_2.4.0.2012020116">
<include name="W:/git_build_dir/pydev/plugins/org.python.pydev.core/compilation.problem"/>
<include name="${pluginTemp}/org.python.pydev.core_2.4.0.2012020116/compilation.problem"/>
</eclipse.logCompileError>
</target>
<target name="build.sources" depends="init">
<available property="pydev-jythonsrc.zip" file="${build.result.folder}/pydev-jythonsrc.zip"/>
<antcall target="pydev-jythonsrc.zip"/>
</target>
<target name="publish.bin.parts" depends="init" if="p2.publish.parts" unless="compilation.problem.marker.exists">
<mkdir dir="${build.result.folder}/org.python.pydev.jython_2.4.0.2012020116"/>
<copy todir="${build.result.folder}" failonerror="true" overwrite="true">
<fileset dir="${basedir}">
<include name="META-INF/MANIFEST.MF"/>
<include name="plugin.xml"/>
<include name="fragment.xml"/>
</fileset>
</copy>
<eclipse.versionReplacer path="${build.result.folder}" version="2.4.0.2012020116"/>
<antcall target="apitools.generation">
<param name="target.folder" value="${build.result.folder}"/>
<param name="projectLocation" value="${basedir}"/>
<param name="projectName" value="${bundleId}_${bundleVersion}"/>
<param name="binary.folders" value="${build.result.folder}/pydev-jython.jar"/>
</antcall>
<eclipse.gatherBundle
metadataRepository="${p2.build.repo}"
artifactRepository="${p2.build.repo}"
buildResultFolder="${build.result.folder}"
unpack="true"
baseDirectory="${basedir}"
/>
</target>
<target name="gather.bin.parts" depends="init" if="destination.temp.folder">
<mkdir dir="${destination.temp.folder}/org.python.pydev.jython_2.4.0.2012020116"/>
<copy todir="${destination.temp.folder}/org.python.pydev.jython_2.4.0.2012020116" failonerror="true" overwrite="false">
<fileset dir="${build.result.folder}">
<include name="pydev-jython.jar"/>
</fileset>
</copy>
<copy todir="${destination.temp.folder}/org.python.pydev.jython_2.4.0.2012020116" failonerror="true" overwrite="true">
<fileset dir="${basedir}">
<include name="META-INF/"/>
<include name="pydev-jython.jar"/>
<include name="jysrc/"/>
<include name="plugin.xml"/>
<include name="Lib/"/>
<include name="LICENSE.txt"/>
<include name="LICENSE_JYTHON.txt"/>
<include name="plugin.properties"/>
<include name="icons/"/>
<include name="LICENSE_PYHON.txt"/>
</fileset>
</copy>
<eclipse.versionReplacer path="${destination.temp.folder}/org.python.pydev.jython_2.4.0.2012020116" version="2.4.0.2012020116"/>
<antcall target="apitools.generation">
<param name="target.folder" value="${destination.temp.folder}/org.python.pydev.jython_2.4.0.2012020116"/>
<param name="projectLocation" value="${basedir}"/>
<param name="projectName" value="${bundleId}_${bundleVersion}"/>
<param name="binary.folders" value="${destination.temp.folder}/org.python.pydev.jython_2.4.0.2012020116/pydev-jython.jar"/>
</antcall>
</target>
<target name="build.zips" depends="init">
</target>
<target name="gather.sources" depends="init" if="destination.temp.folder">
<mkdir dir="${destination.temp.folder}/org.python.pydev.jython_2.4.0.2012020116"/>
<copy file="${build.result.folder}/pydev-jythonsrc.zip" todir="${destination.temp.folder}/org.python.pydev.jython_2.4.0.2012020116" failonerror="false" overwrite="false"/>
<antcall target="copy.src.includes">
<param name="source.destination.folder" value="${destination.temp.folder}/org.python.pydev.jython_2.4.0.2012020116"/>
</antcall>
</target>
<target name="gather.individual.sources" depends="init">
<antcall target="copy.pydev-jythonsrc.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>
</target>
<target name="copy.src.includes" depends="init">
</target>
<target name="gather.logs" depends="init" if="destination.temp.folder">
<mkdir dir="${destination.temp.folder}/org.python.pydev.jython_2.4.0.2012020116"/>
<copy todir="${destination.temp.folder}/org.python.pydev.jython_2.4.0.2012020116" failonerror="false" overwrite="false">
<fileset dir="${temp.folder}">
<include name="pydev-jython.jar.bin${logExtension}"/>
</fileset>
</copy>
</target>
<target name="clean" depends="init" description="Clean the plug-in: org.python.pydev.jython of all the zips, jars and logs created.">
<delete file="${build.result.folder}/pydev-jython.jar"/>
<delete file="${build.result.folder}/pydev-jythonsrc.zip"/>
<delete file="${plugin.destination}/org.python.pydev.jython_2.4.0.2012020116.jar"/>
<delete file="${plugin.destination}/org.python.pydev.jython_2.4.0.2012020116.zip"/>
<delete dir="${temp.folder}"/>
<delete file="${compilation.problem.marker}" quiet="true"/>
</target>
<target name="refresh" depends="init" if="eclipse.running" description="Refresh this folder.">
<eclipse.convertPath fileSystemPath="W:/git_build_dir/pydev/plugins/org.python.pydev.jython" 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.python.pydev.jython.">
<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.python.pydev.jython_2.4.0.2012020116.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}" />
</target>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project name="org.python.pydev.parser" 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.python.pydev.parser"/>
<property name="bundleVersion" value="2.4.0.2012020116"/>
<property name="p2.publishonerror" value="false"/>
<!-- 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"/>
<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.python.pydev.parser_2.4.0.2012020116" >
<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.python.pydev.parser 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.python.pydev.parser_2.4.0.2012020116.jar" basedir="${temp.folder}/org.python.pydev.parser_2.4.0.2012020116" filesetmanifest="merge"/>
<delete dir="${temp.folder}"/>
</target>
<target name="parser.jar" depends="init" unless="parser.jar" description="Create jar: org.python.pydev.parser parser.jar.">
<delete dir="${temp.folder}/parser.jar.bin"/>
<mkdir dir="${temp.folder}/parser.jar.bin"/>
<path id="parser.jar.classpath">
<pathelement path="../../eclipse/plugins/org.junit_3.8.2.v3_8_2_v20100427-1100/junit.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.ui_3.6.0.I20100603-1100.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.runtime_3.6.0.v20100505.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.osgi_3.6.0.v20100517.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.equinox.common_3.6.0.v20100503.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.jobs_3.5.0.v20100515.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.runtime.compatibility.registry_3.3.0.v20100520/runtime_registry_compatibility.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.runtime.compatibility.registry_3.3.0.v20100520"/>
<pathelement path="../../eclipse/plugins/org.eclipse.equinox.registry_3.5.0.v20100503.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.equinox.preferences_3.3.0.v20100503.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.contenttype_3.4.100.v20100505-1235.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.runtime.compatibility.auth_3.2.200.v20100517.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.equinox.app_1.3.0.v20100512.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.osgi.services_3.2.100.v20100503.jar"/>
<pathelement path="../../eclipse/plugins/javax.servlet_2.5.0.v200910301333.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.swt_3.6.0.v3650b.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.swt.win32.win32.x86_3.6.0.v3650b.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.jface_3.6.0.I20100601-0800.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.commands_3.6.0.I20100512-1500.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.ui.workbench_3.6.0.I20100603-1100.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.ui.workbench.compatibility_3.2.100.I20100511-0800/compatibility.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.ui.workbench.compatibility_3.2.100.I20100511-0800/e4-workbench.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.ui.workbench.compatibility_3.2.100.I20100511-0800"/>
<pathelement path="../../eclipse/plugins/com.ibm.icu_4.2.1.v20100412.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.help_3.5.0.v20100524.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.expressions_3.4.200.v20100505.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.jface.databinding_1.4.0.I20100601-0800.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.databinding.observable_1.3.0.I20100601-0800.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.databinding.property_1.3.0.I20100601-0800.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.databinding_1.3.100.I20100601-0800.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.resources_3.6.0.v20100526-0737.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.resources.win32.x86_3.5.100.v20100505-1345.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.ant.core_3.2.200.v20100427.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.variables_3.2.400.v20100505.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.filesystem_1.3.0.v20100526-0737.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.filesystem.win32.x86_1.1.200.v20100505-1235.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.ui.ide_3.6.0.I20100601-0800.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.ui.win32_3.2.200.I20100509-0800.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.ui.views_3.5.0.I20100527-0800.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.jface.text_3.6.0.v20100526-0800.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.text_3.5.0.v20100601-1300.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.ui.forms_3.5.0.v20100427.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.equinox.p2.engine_2.0.0.v20100606.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.equinox.p2.core_2.0.0.v20100510.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.equinox.p2.metadata_2.0.0.v20100601.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.equinox.p2.repository_2.0.0.v20100519.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.equinox.security_1.0.200.v20100503.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.equinox.security.win32.x86_1.0.200.v20100503.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.ecf.filetransfer_4.0.0.v20100529-0735.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.ecf_3.1.0.v20100529-0735.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.ecf.ssl_1.0.0.v20100529-0735.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.equinox.concurrent_1.0.100.v20100503.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.ecf.identity_3.1.0.v20100529-0735.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.ecf.provider.filetransfer_3.1.0.v20100529-0735.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.ecf.provider.filetransfer.ssl_1.0.0.v20100529-0735.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.net_1.2.100.I20100511-0800.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.net.win32.x86_1.0.100.I20100511-0800.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.equinox.p2.metadata.repository_1.1.0.v20100513.jar"/>
<pathelement path="../org.python.pydev.core/bin/"/>
<pathelement path="${build.result.folder}/../org.python.pydev.core_2.4.0.2012020116/bin/"/>
<pathelement path="${build.result.folder}/../org.python.pydev.core/core.jar"/>
<pathelement path="${build.result.folder}/../org.python.pydev.core_2.4.0.2012020116/core.jar"/>
<pathelement path="../org.python.pydev.core/commons-codec.jar"/>
<pathelement path="${build.result.folder}/../org.python.pydev.core_2.4.0.2012020116/commons-codec.jar"/>
<pathelement path="../org.python.pydev.core/lib/jpathwatch-0-94.jar"/>
<pathelement path="${build.result.folder}/../org.python.pydev.core_2.4.0.2012020116/lib/jpathwatch-0-94.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.ui.workbench.texteditor_3.6.0.v20100520-0800.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.compare.core_3.5.100.I20100526-0800.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.core.filebuffers_3.5.100.v20100520-0800.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.ui.console_3.5.0.v20100526.jar"/>
<pathelement path="../../eclipse/plugins/org.eclipse.ui.editors_3.6.0.v20100520-0800.jar"/>
</path>
<!-- compile the source code -->
<javac destdir="${temp.folder}/parser.jar.bin" failonerror="${javacFailOnError}" verbose="${javacVerbose}" debug="${javacDebugInfo}" includeAntRuntime="no" bootclasspath="${bundleBootClasspath}" source="${bundleJavacSource}" target="${bundleJavacTarget}" errorProperty="compilation.error.occured" >
<compilerarg line="${compilerArg}" compiler="${build.compiler}"/>
<classpath refid="parser.jar.classpath" />
<src path="src/" />
<compilerarg value="@${basedir}/javaCompiler.parser.jar.args" compiler="org.eclipse.jdt.core.JDTCompilerAdapter" />
<compilerarg line="-log &apos;${temp.folder}/parser.jar.bin${logExtension}&apos;" compiler="org.eclipse.jdt.core.JDTCompilerAdapter" />
</javac>
<antcall target="checkCompilationResults"/>
<!-- Copy necessary resources -->
<copy todir="${temp.folder}/parser.jar.bin" failonerror="true" overwrite="false">
<fileset dir="src/">
<exclude name="**/*.java"/>
<exclude name="**/package.htm*"/>
</fileset>
</copy>
<mkdir dir="${build.result.folder}"/>
<jar destfile="${build.result.folder}/parser.jar" basedir="${temp.folder}/parser.jar.bin"/>
<delete dir="${temp.folder}/parser.jar.bin"/>
</target>
<target name="parsersrc.zip" depends="init" unless="parsersrc.zip">
<mkdir dir="${build.result.folder}"/>
<antcall target="zip.parsersrc.zip"/>
</target>
<target name="zip.parsersrc.zip">
<zip destfile="${build.result.folder}/parsersrc.zip" filesonly="false" whenempty="skip" update="false">
<fileset dir="src/">
<include name="**/*.java"/>
</fileset>
</zip>
</target>
<target name="copy.parsersrc.zip">
<copy todir="${source.destination.folder}/parsersrc" failonerror="true" overwrite="true">
<fileset dir="src/">
<include name="**/*.java"/>
</fileset>
</copy>
</target>
<target name="build.jars" depends="init" description="Compile classes and build nested jars for the plug-in: org.python.pydev.parser.">
<delete file="${compilation.problem.marker}" quiet="true"/>
<available property="parser.jar" file="${build.result.folder}/parser.jar"/>
<antcall target="parser.jar"/>
</target>
<target name="checkCompilationResults" if="compilation.error.occured">
<echo file="${compilation.problem.marker}" message="org.python.pydev.parser_2.4.0.2012020116${line.separator}compilation.error.occured=${compilation.error.occured}"/>
<eclipse.logCompileError log="${compilation.prereq.log}" bundle="org.python.pydev.parser_2.4.0.2012020116">
<include name="W:/git_build_dir/pydev/plugins/org.python.pydev.core/compilation.problem"/>
<include name="${pluginTemp}/org.python.pydev.core_2.4.0.2012020116/compilation.problem"/>
</eclipse.logCompileError>
</target>
<target name="build.sources" depends="init">
<available property="parsersrc.zip" file="${build.result.folder}/parsersrc.zip"/>
<antcall target="parsersrc.zip"/>
</target>
<target name="publish.bin.parts" depends="init" if="p2.publish.parts" unless="compilation.problem.marker.exists">
<mkdir dir="${build.result.folder}/org.python.pydev.parser_2.4.0.2012020116"/>
<copy todir="${build.result.folder}" failonerror="true" overwrite="true">
<fileset dir="${basedir}">
<include name="META-INF/MANIFEST.MF"/>
<include name="plugin.xml"/>
<include name="fragment.xml"/>
</fileset>
</copy>
<eclipse.versionReplacer path="${build.result.folder}" version="2.4.0.2012020116"/>
<antcall target="apitools.generation">
<param name="target.folder" value="${build.result.folder}"/>
<param name="projectLocation" value="${basedir}"/>
<param name="projectName" value="${bundleId}_${bundleVersion}"/>
<param name="binary.folders" value="${build.result.folder}/parser.jar"/>
</antcall>
<eclipse.gatherBundle
metadataRepository="${p2.build.repo}"
artifactRepository="${p2.build.repo}"
buildResultFolder="${build.result.folder}"
unpack="true"
baseDirectory="${basedir}"
/>
</target>
<target name="gather.bin.parts" depends="init" if="destination.temp.folder">
<mkdir dir="${destination.temp.folder}/org.python.pydev.parser_2.4.0.2012020116"/>
<copy todir="${destination.temp.folder}/org.python.pydev.parser_2.4.0.2012020116" failonerror="true" overwrite="false">
<fileset dir="${build.result.folder}">
<include name="parser.jar"/>
</fileset>
</copy>
<copy todir="${destination.temp.folder}/org.python.pydev.parser_2.4.0.2012020116" failonerror="true" overwrite="true">
<fileset dir="${basedir}">
<include name="plugin.xml"/>
<include name="META-INF/"/>
<include name="schema/"/>
<include name="parser.jar"/>
<include name="LICENSE.txt"/>
</fileset>
</copy>
<eclipse.versionReplacer path="${destination.temp.folder}/org.python.pydev.parser_2.4.0.2012020116" version="2.4.0.2012020116"/>
<antcall target="apitools.generation">
<param name="target.folder" value="${destination.temp.folder}/org.python.pydev.parser_2.4.0.2012020116"/>
<param name="projectLocation" value="${basedir}"/>
<param name="projectName" value="${bundleId}_${bundleVersion}"/>
<param name="binary.folders" value="${destination.temp.folder}/org.python.pydev.parser_2.4.0.2012020116/parser.jar"/>
</antcall>
</target>
<target name="build.zips" depends="init">
</target>
<target name="gather.sources" depends="init" if="destination.temp.folder">
<mkdir dir="${destination.temp.folder}/org.python.pydev.parser_2.4.0.2012020116"/>
<copy file="${build.result.folder}/parsersrc.zip" todir="${destination.temp.folder}/org.python.pydev.parser_2.4.0.2012020116" failonerror="false" overwrite="false"/>
<antcall target="copy.src.includes">
<param name="source.destination.folder" value="${destination.temp.folder}/org.python.pydev.parser_2.4.0.2012020116"/>
</antcall>
</target>
<target name="gather.individual.sources" depends="init">
<antcall target="copy.parsersrc.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>
</target>
<target name="copy.src.includes" depends="init">
</target>
<target name="gather.logs" depends="init" if="destination.temp.folder">
<mkdir dir="${destination.temp.folder}/org.python.pydev.parser_2.4.0.2012020116"/>
<copy todir="${destination.temp.folder}/org.python.pydev.parser_2.4.0.2012020116" failonerror="false" overwrite="false">
<fileset dir="${temp.folder}">
<include name="parser.jar.bin${logExtension}"/>
</fileset>
</copy>
</target>
<target name="clean" depends="init" description="Clean the plug-in: org.python.pydev.parser of all the zips, jars and logs created.">
<delete file="${build.result.folder}/parser.jar"/>
<delete file="${build.result.folder}/parsersrc.zip"/>
<delete file="${plugin.destination}/org.python.pydev.parser_2.4.0.2012020116.jar"/>
<delete file="${plugin.destination}/org.python.pydev.parser_2.4.0.2012020116.zip"/>
<delete dir="${temp.folder}"/>
<delete file="${compilation.problem.marker}" quiet="true"/>
</target>
<target name="refresh" depends="init" if="eclipse.running" description="Refresh this folder.">
<eclipse.convertPath fileSystemPath="W:/git_build_dir/pydev/plugins/org.python.pydev.parser" 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.python.pydev.parser.">
<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.python.pydev.parser_2.4.0.2012020116.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}" />
</target>
</project>
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment