preparing new release
[phpeclipse.git] / net.sourceforge.phpeclipse.phphelp / build.xml
index 7807fed..98e0d04 100644 (file)
@@ -67,6 +67,7 @@
                                <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"/>
                                <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"/>
                        </classpath>
                        <src path="src/"                        />
                        </javac>
                <!-- Copy necessary resources -->
                <copy todir="${temp.folder}/phphelp.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}/phphelp.jar" basedir="${temp.folder}/phphelp.jar.bin"/>
 
        <target name="gather.bin.parts" depends="init" if="destination.temp.folder">
                <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.phphelp_1.1.0"/>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.phphelp_1.1.0" failonerror="true">
+                       <fileset dir="${build.result.folder}" includes="phphelp.jar"                    />
+               </copy>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.phphelp_1.1.0" failonerror="true">
+                       <fileset dir="${basedir}" includes="phphelp.jar,phphelp.xml,plugin.properties,plugin.xml,.classpath,doc.zip,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.phphelp_1.1.0"/>
                <copy file="${build.result.folder}/phphelpsrc.zip" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.phphelp_1.1.0" failonerror="false"/>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.phphelp_1.1.0" failonerror="false">
+                       <fileset dir="${basedir}" includes="src/,.cvsignore,.project,.template,.classpath,build.properties,build.xml,plugin.properties,plugin.xml"                      />
+               </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.phphelp" property="resourcePath"/>
+               <eclipse.convertPath fileSystemPath="C:/eclipse3/workspace/net.sourceforge.phpeclipse.phphelp" property="resourcePath"/>
                <eclipse.refreshLocal resource="${resourcePath}" depth="infinite"/>
        </target>