Fixed NullPointerException (problems == null) may occur
[phpeclipse.git] / net.sourceforge.phpeclipse.core / build.xml
index c855bda..0743079 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.core_1.1.1.jar" basedir="${temp.folder}/net.sourceforge.phpeclipse.core_1.1.1" filesonly="false" whenempty="skip" update="false"/>
+               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse.core_1.1.2.jar" basedir="${temp.folder}/net.sourceforge.phpeclipse.core_1.1.2" filesonly="false" whenempty="skip" update="false"/>
                <delete dir="${temp.folder}"/>
        </target>
 
        </target>
 
        <target name="gather.bin.parts" depends="init" if="destination.temp.folder">
-               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.core_1.1.1"/>
-               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.core_1.1.1" failonerror="true">
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.core_1.1.2"/>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.core_1.1.2" failonerror="true">
                        <fileset dir="${build.result.folder}" includes="webcore.jar"                    />
                </copy>
-               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.core_1.1.1" failonerror="true">
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.core_1.1.2" failonerror="true">
                        <fileset dir="${basedir}" includes="plugin.xml,webcore.jar"                     />
                </copy>
        </target>
        </target>
 
        <target name="gather.sources" depends="init" if="destination.temp.folder">
-               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.core_1.1.1"/>
-               <copy file="${build.result.folder}/webcoresrc.zip" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.core_1.1.1" failonerror="false"/>
-               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.core_1.1.1" failonerror="false">
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.core_1.1.2"/>
+               <copy file="${build.result.folder}/webcoresrc.zip" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.core_1.1.2" failonerror="false"/>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.core_1.1.2" failonerror="false">
                        <fileset dir="${basedir}" includes="src/"                       />
                </copy>
        </target>
 
        <target name="gather.logs" depends="init" if="destination.temp.folder">
-               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.core_1.1.1"/>
-               <copy file="${temp.folder}/webcore.jar.bin.log" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.core_1.1.1" failonerror="false"/>
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.core_1.1.2"/>
+               <copy file="${temp.folder}/webcore.jar.bin.log" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.core_1.1.2" failonerror="false"/>
        </target>
 
        <target name="clean" depends="init" description="Clean the plug-in: net.sourceforge.phpeclipse.core of all the zips, jars and logs created.">
                <delete file="${build.result.folder}/webcore.jar"/>
                <delete file="${build.result.folder}/webcoresrc.zip"/>
-               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.core_1.1.1.jar"/>
-               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.core_1.1.1.zip"/>
+               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.core_1.1.2.jar"/>
+               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.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.core_1.1.1.zip" basedir="${temp.folder}" filesonly="true" whenempty="skip" update="false"/>
+               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse.core_1.1.2.zip" basedir="${temp.folder}" filesonly="true" whenempty="skip" update="false"/>
                <delete dir="${temp.folder}"/>
        </target>