fixed bug #1037094 (foreach)
[phpeclipse.git] / net.sourceforge.phpeclipse.debug.ui / build.xml
index fcf59c2..f688a50 100644 (file)
                <javac destdir="${temp.folder}/debug.jar.bin" failonerror="${javacFailOnError}" verbose="${javacVerbose}" debug="${javacDebugInfo}" includeAntRuntime="no" bootclasspath="${bootclasspath}" source="${javacSource}" target="${javacTarget}"             >
                        <compilerarg line="${compilerArg}"/>
                        <classpath>
+                               <pathelement path="../../plugins/org.eclipse.ui.ide_3.0.0/ide.jar"/>
+                               <pathelement path="../../plugins/org.eclipse.ui.win32_3.0.0/ide.jar"/>
+                               <pathelement path="../../plugins/org.eclipse.ui.win32_3.0.0/workbenchwin32.jar"/>
+                               <pathelement path="../../plugins/org.eclipse.core.resources_3.0.0/resources.jar"/>
+                               <pathelement path="../../plugins/org.eclipse.core.resources.win32_3.0.0/resources.jar"/>
+                               <pathelement path="../../plugins/org.eclipse.core.resources.win32_3.0.0/resources-win32.jar"/>
                                <pathelement path="../../plugins/org.eclipse.core.runtime.compatibility_3.0.0/compatibility.jar"/>
                                <pathelement path="../../plugins/org.eclipse.core.runtime_3.0.0/runtime.jar"/>
                                <pathelement path="../../plugins/org.eclipse.osgi_3.0.0/core.jar"/>
                                <pathelement path="../../plugins/org.eclipse.osgi_3.0.0/defaultAdaptor.jar"/>
                                <pathelement path="../../plugins/org.eclipse.osgi_3.0.0/eclipseAdaptor.jar"/>
                                <pathelement path="../../plugins/org.eclipse.update.configurator_3.0.0/configurator.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.ui.ide_3.0.0/ide.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.ui.win32_3.0.0/ide.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.ui.win32_3.0.0/workbenchwin32.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.core.resources_3.0.0/resources.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.core.resources.win32_3.0.0/resources.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.core.resources.win32_3.0.0/resources-win32.jar"/>
                                <pathelement path="../../plugins/org.eclipse.help_3.0.0/help.jar"/>
                                <pathelement path="../../plugins/org.eclipse.ui_3.0.0/ui.jar"/>
                                <pathelement path="../../plugins/org.eclipse.swt_3.0.0/ws/${basews}/swt.jar"/>
                                <pathelement path="../../plugins/org.eclipse.swt.win32_3.0.0/ws/${basews}/swt.jar"/>
+                               <pathelement path="../../plugins/org.eclipse.swt.win32_3.0.0"/>
                                <pathelement path="../../plugins/org.eclipse.jface_3.0.0/jface.jar"/>
                                <pathelement path="../../plugins/org.eclipse.ui.workbench_3.0.0/compatibility.jar"/>
                                <pathelement path="../../plugins/org.eclipse.ui.workbench_3.0.0/workbench.jar"/>
@@ -93,7 +94,6 @@
                                <pathelement path="../../plugins/org.eclipse.ui.console_3.0.0/console.jar"/>
                                <pathelement path="../net.sourceforge.phpeclipse.debug.core/bin"/>
                                <pathelement path="../net.sourceforge.phpeclipse.debug.core/core.jar"/>
-                               <pathelement path="../../plugins/org.junit_3.8.1/junit.jar"/>
                                <pathelement path="../net.sourceforge.phpeclipse/bin"/>
                                <pathelement path="../net.sourceforge.phpeclipse/phpeclipse.jar"/>
                                <pathelement path="../../plugins/org.eclipse.search_3.0.0/search.jar"/>
                                <pathelement path="../../plugins/org.eclipse.ui.externaltools_3.0.0/externaltools.jar"/>
                                <pathelement path="../net.sourceforge.phpeclipse.quantum.sql/bin"/>
                                <pathelement path="../net.sourceforge.phpeclipse.quantum.sql/quantum.jar"/>
+                               <pathelement path="../net.sourceforge.phpeclipse.webbrowser/bin"/>
+                               <pathelement path="../net.sourceforge.phpeclipse.webbrowser/webbrowser.jar"/>
+                               <pathelement path="../net.sourceforge.phpeclipse.core/bin"/>
+                               <pathelement path="../net.sourceforge.phpeclipse.core/webcore.jar"/>
+                               <pathelement path="../net.sourceforge.phpeclipse.ui/bin"/>
+                               <pathelement path="../net.sourceforge.phpeclipse.ui/wdtui.jar"/>
+                               <pathelement path="../net.sourceforge.phpeclipse.xml.ui/bin"/>
+                               <pathelement path="../net.sourceforge.phpeclipse.xml.ui/xmlui.jar"/>
+                               <pathelement path="../net.sourceforge.phpeclipse.xml.core/bin"/>
+                               <pathelement path="../net.sourceforge.phpeclipse.xml.core/xmlcore.jar"/>
                                <pathelement path="../net.sourceforge.phpeclipse.launching/bin"/>
                                <pathelement path="../net.sourceforge.phpeclipse.launching/launch.jar"/>
                        </classpath>
                        </javac>
                <!-- Copy necessary resources -->
                <copy todir="${temp.folder}/debug.jar.bin" failonerror="true">
-                       <fileset dir="src/" excludes="**/*.java"                        />
+                       <fileset dir="src/" excludes="**/*.java, **/package.htm*"                       />
                </copy>
                <mkdir dir="${build.result.folder}"/>
                <jar jarfile="${build.result.folder}/debug.jar" basedir="${temp.folder}/debug.jar.bin"/>
 
        <target name="gather.bin.parts" depends="init" if="destination.temp.folder">
                <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.debug.ui_1.1.0"/>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.debug.ui_1.1.0" failonerror="true">
+                       <fileset dir="${build.result.folder}" includes="debug.jar"                      />
+               </copy>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.debug.ui_1.1.0" failonerror="true">
+                       <fileset dir="${basedir}" includes="debug.jar,plugin.properties,plugin.xml,icons/,.template"                    />
+               </copy>
        </target>
 
        <target name="build.zips" depends="init">
        <target name="gather.sources" depends="init" if="destination.temp.folder">
                <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.debug.ui_1.1.0"/>
                <copy file="${build.result.folder}/debugsrc.zip" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.debug.ui_1.1.0" failonerror="false"/>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.debug.ui_1.1.0" failonerror="false">
+                       <fileset dir="${basedir}" includes="src/ "                      />
+               </copy>
        </target>
 
        <target name="gather.logs" depends="init" if="destination.temp.folder">
        </target>
 
        <target name="refresh" depends="init" if="eclipse.running" description="Refresh this folder.">
-               <eclipse.convertPath fileSystemPath="C:/eclipse3m9/workspace/net.sourceforge.phpeclipse.debug.ui" property="resourcePath"/>
+               <eclipse.convertPath fileSystemPath="C:/eclipse3/workspace/net.sourceforge.phpeclipse.debug.ui" property="resourcePath"/>
                <eclipse.refreshLocal resource="${resourcePath}" depth="infinite"/>
        </target>