RSS news reader; initially copied from "all the news"
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / build.xml
index c55c530..766e66d 100644 (file)
@@ -37,7 +37,7 @@
                <antcall target="gather.bin.parts">
                        <param name="destination.temp.folder" value="${temp.folder}/"/>
                </antcall>
-               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse.quantum.sql_2.3.0.jar" basedir="${temp.folder}/net.sourceforge.phpeclipse.quantum.sql_2.3.0" filesonly="false" whenempty="skip" update="false"/>
+               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse.quantum.sql_2.4.2.jar" basedir="${temp.folder}/net.sourceforge.phpeclipse.quantum.sql_2.4.2" filesonly="false" whenempty="skip" update="false"/>
                <delete dir="${temp.folder}"/>
        </target>
 
@@ -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"/>
@@ -92,7 +93,7 @@
                        </javac>
                <!-- Copy necessary resources -->
                <copy todir="${temp.folder}/quantum.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}/quantum.jar" basedir="${temp.folder}/quantum.jar.bin"/>
        </target>
 
        <target name="gather.bin.parts" depends="init" if="destination.temp.folder">
-               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.quantum.sql_2.3.0"/>
-               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.quantum.sql_2.3.0" failonerror="true">
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.quantum.sql_2.4.2"/>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.quantum.sql_2.4.2" failonerror="true">
                        <fileset dir="${build.result.folder}" includes="quantum.jar"                    />
                </copy>
-               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.quantum.sql_2.3.0" failonerror="true">
-                       <fileset dir="${basedir}" includes="icons/,doc/,*.jar,plugin.xml,plugin.properties,install.txt,.classpath,.project,"                    />
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.quantum.sql_2.4.2" failonerror="true">
+                       <fileset dir="${basedir}" includes="icons/,doc/,*.jar,plugin.xml,plugin.properties,install.txt,README"                  />
                </copy>
        </target>
 
        </target>
 
        <target name="gather.sources" depends="init" if="destination.temp.folder">
-               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.quantum.sql_2.3.0"/>
-               <copy file="${build.result.folder}/quantumsrc.zip" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.quantum.sql_2.3.0" failonerror="false"/>
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.quantum.sql_2.4.2"/>
+               <copy file="${build.result.folder}/quantumsrc.zip" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.quantum.sql_2.4.2" failonerror="false"/>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.quantum.sql_2.4.2" failonerror="false">
+                       <fileset dir="${basedir}" includes="src/,schema/,.classpath,.cvsignore,.project,README"                 />
+               </copy>
        </target>
 
        <target name="gather.logs" depends="init" if="destination.temp.folder">
-               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.quantum.sql_2.3.0"/>
-               <copy file="${temp.folder}/quantum.jar.bin.log" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.quantum.sql_2.3.0" failonerror="false"/>
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.quantum.sql_2.4.2"/>
+               <copy file="${temp.folder}/quantum.jar.bin.log" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.quantum.sql_2.4.2" failonerror="false"/>
        </target>
 
        <target name="clean" depends="init" description="Clean the plug-in: net.sourceforge.phpeclipse.quantum.sql of all the zips, jars and logs created.">
                <delete file="${build.result.folder}/quantum.jar"/>
                <delete file="${build.result.folder}/quantumsrc.zip"/>
-               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.quantum.sql_2.3.0.jar"/>
-               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.quantum.sql_2.3.0.zip"/>
+               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.quantum.sql_2.4.2.jar"/>
+               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.quantum.sql_2.4.2.zip"/>
                <delete dir="${temp.folder}"/>
        </target>
 
        <target name="refresh" depends="init" if="eclipse.running" description="Refresh this folder.">
-               <eclipse.convertPath fileSystemPath="C:/eclipse3m9/workspace/net.sourceforge.phpeclipse.quantum.sql" property="resourcePath"/>
+               <eclipse.convertPath fileSystemPath="C:/eclipse3/workspace/net.sourceforge.phpeclipse.quantum.sql" property="resourcePath"/>
                <eclipse.refreshLocal resource="${resourcePath}" depth="infinite"/>
        </target>
 
                <delete>
                        <fileset dir="${temp.folder}" includes="**/*.bin.log"                   />
                </delete>
-               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse.quantum.sql_2.3.0.zip" basedir="${temp.folder}" filesonly="true" whenempty="skip" update="false"/>
+               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse.quantum.sql_2.4.2.zip" basedir="${temp.folder}" filesonly="true" whenempty="skip" update="false"/>
                <delete dir="${temp.folder}"/>
        </target>