Avoid ArrayIndexOutOfBoundsException which occurs at changing value of variable.
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.css.core / build.xml
index 30dc662..23c03f4 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.css.core_1.1.1.jar" basedir="${temp.folder}/net.sourceforge.phpeclipse.css.core_1.1.1" filesonly="false" whenempty="skip" update="false"/>
+               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse.css.core_1.1.2.jar" basedir="${temp.folder}/net.sourceforge.phpeclipse.css.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.css.core_1.1.1"/>
-               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.core_1.1.1" failonerror="true">
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.core_1.1.2"/>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.core_1.1.2" failonerror="true">
                        <fileset dir="${build.result.folder}" includes="csscore.jar"                    />
                </copy>
-               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.core_1.1.1" failonerror="true">
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.core_1.1.2" failonerror="true">
                        <fileset dir="${basedir}" includes="plugin.xml,*.jar,csscore.jar,plugin.properties"                     />
                </copy>
        </target>
        </target>
 
        <target name="gather.sources" depends="init" if="destination.temp.folder">
-               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.core_1.1.1"/>
-               <copy file="${build.result.folder}/csscoresrc.zip" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.core_1.1.1" failonerror="false"/>
-               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.core_1.1.1" failonerror="false">
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.core_1.1.2"/>
+               <copy file="${build.result.folder}/csscoresrc.zip" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.core_1.1.2" failonerror="false"/>
+               <copy todir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.core_1.1.2" failonerror="false">
                        <fileset dir="${basedir}" includes="src/,schema/"                       />
                </copy>
        </target>
 
        <target name="gather.logs" depends="init" if="destination.temp.folder">
-               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.core_1.1.1"/>
-               <copy file="${temp.folder}/csscore.jar.bin.log" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.core_1.1.1" failonerror="false"/>
+               <mkdir dir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.core_1.1.2"/>
+               <copy file="${temp.folder}/csscore.jar.bin.log" todir="${destination.temp.folder}/net.sourceforge.phpeclipse.css.core_1.1.2" failonerror="false"/>
        </target>
 
        <target name="clean" depends="init" description="Clean the plug-in: net.sourceforge.phpeclipse.css.core of all the zips, jars and logs created.">
                <delete file="${build.result.folder}/csscore.jar"/>
                <delete file="${build.result.folder}/csscoresrc.zip"/>
-               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.css.core_1.1.1.jar"/>
-               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.css.core_1.1.1.zip"/>
+               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.css.core_1.1.2.jar"/>
+               <delete file="${plugin.destination}/net.sourceforge.phpeclipse.css.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.css.core_1.1.1.zip" basedir="${temp.folder}" filesonly="true" whenempty="skip" update="false"/>
+               <zip zipfile="${plugin.destination}/net.sourceforge.phpeclipse.css.core_1.1.2.zip" basedir="${temp.folder}" filesonly="true" whenempty="skip" update="false"/>
                <delete dir="${temp.folder}"/>
        </target>