Added passing test with null input.
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.js.core / build.xml
index 271ec53..2dba85b 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.js.core_1.1.0.jar" basedir="${temp.folder}/net.sourceforge.phpeclipse.js.core_1.1.0" filesonly="false" whenempty="skip" update="false"/>
+               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse.js.core_1.1.2.jar" basedir="${temp.folder}/net.sourceforge.phpeclipse.js.core_1.1.2" filesonly="false" whenempty="skip" update="false"/>
                <delete dir="${temp.folder}"/>
        </target>
 
                <javac destdir="${temp.folder}/jscore.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.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/console.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.osgi_3.0.0/osgi.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.osgi_3.0.0/resolver.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.jface.text_3.0.0/jfacetext.jar"/>
-                               <pathelement path="../../plugins/org.eclipse.text_3.0.0/text.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="../../../eclipse301/plugins/org.eclipse.core.resources_3.0.1/resources.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.resources.win32_3.0.0/resources.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.resources.win32_3.0.0/resources-win32.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.runtime.compatibility_3.0.0/compatibility.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.core.runtime_3.0.1/runtime.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/core.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/console.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/osgi.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/resolver.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/defaultAdaptor.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.osgi_3.0.1/eclipseAdaptor.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.update.configurator_3.0.0/configurator.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.jface.text_3.0.1/jfacetext.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.text_3.0.1/text.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.swt_3.0.1/ws/${basews}/swt.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.swt.win32_3.0.1/ws/${basews}/swt.jar"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.swt.win32_3.0.1"/>
+                               <pathelement path="../../../eclipse301/plugins/org.eclipse.jface_3.0.0/jface.jar"/>
                        </classpath>
                        <src path="src/"                        />
                        </javac>
        </target>
 
        <target name="gather.bin.parts" depends="init" if="destination.temp.folder">
-               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.core_1.1.0"/>
-               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.core_1.1.0" failonerror="true">
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.core_1.1.2"/>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.core_1.1.2" failonerror="true">
                        <fileset dir="${build.result.folder}" includes="jscore.jar"                     />
                </copy>
-               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.core_1.1.0" failonerror="true">
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.core_1.1.2" failonerror="true">
                        <fileset dir="${basedir}" includes="icons/,jscoresrc.zip,plugin.xml,plugin.properties,jscore.jar,cpl-v10.html"                  />
                </copy>
        </target>
        </target>
 
        <target name="gather.sources" depends="init" if="destination.temp.folder">
-               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.core_1.1.0"/>
-               <copy file="${build.result.folder}/jscoresrc.zip" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.core_1.1.0" failonerror="false"/>
-               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.core_1.1.0" failonerror="false">
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.core_1.1.2"/>
+               <copy file="${build.result.folder}/jscoresrc.zip" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.core_1.1.2" failonerror="false"/>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.core_1.1.2" failonerror="false">
                        <fileset dir="${basedir}" includes="src/,.classpath,.cvsignore,.project"                        />
                </copy>
        </target>
 
        <target name="gather.logs" depends="init" if="destination.temp.folder">
-               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.core_1.1.0"/>
-               <copy file="${temp.folder}/jscore.jar.bin.log" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.core_1.1.0" failonerror="false"/>
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.core_1.1.2"/>
+               <copy file="${temp.folder}/jscore.jar.bin.log" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.js.core_1.1.2" failonerror="false"/>
        </target>
 
        <target name="clean" depends="init" description="Clean the plug-in: net.sourceforge.phpeclipse.js.core of all the zips, jars and logs created.">
                <delete file="${build.result.folder}/jscore.jar"/>
                <delete file="${build.result.folder}/jscoresrc.zip"/>
-               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.js.core_1.1.0.jar"/>
-               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.js.core_1.1.0.zip"/>
+               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.js.core_1.1.2.jar"/>
+               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.js.core_1.1.2.zip"/>
                <delete dir="${temp.folder}"/>
        </target>
 
                <delete>
                        <fileset dir="${temp.folder}" includes="**/*.bin.log"                   />
                </delete>
-               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse.js.core_1.1.0.zip" basedir="${temp.folder}" filesonly="true" whenempty="skip" update="false"/>
+               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse.js.core_1.1.2.zip" basedir="${temp.folder}" filesonly="true" whenempty="skip" update="false"/>
                <delete dir="${temp.folder}"/>
        </target>