preparing new release
[phpeclipse.git] / net.sourceforge.phpeclipse / build.xml
index 651e449..b2b2195 100644 (file)
@@ -61,6 +61,7 @@
                                <pathelement path="../../plugins/org.eclipse.help_3.0.0/help.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"/>
                                <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/ui.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"/>
                        </classpath>
                        <src path="src/"                        />
                        </javac>
                <!-- Copy necessary resources -->
                <copy todir="${temp.folder}/phpeclipse.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}/phpeclipse.jar" basedir="${temp.folder}/phpeclipse.jar.bin"/>
 
        <target name="gather.bin.parts" depends="init" if="destination.temp.folder">
                <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse_1.1.0"/>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse_1.1.0" failonerror="true">
+                       <fileset dir="${build.result.folder}" includes="phpeclipse.jar"                 />
+               </copy>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse_1.1.0" failonerror="true">
+                       <fileset dir="${basedir}" includes="phpeclipse.jar,icons/,install.txt,plugin.properties,plugin.xml,cpl-v10.html"                        />
+               </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_1.1.0"/>
                <copy file="${build.result.folder}/phpeclipsesrc.zip" todir="${destination.temp.folder}/net.sourceforge.phpeclipse_1.1.0" failonerror="false"/>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse_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" property="resourcePath"/>
+               <eclipse.convertPath fileSystemPath="C:/eclipse3/workspace/net.sourceforge.phpeclipse" property="resourcePath"/>
                <eclipse.refreshLocal resource="${resourcePath}" depth="infinite"/>
        </target>