<delete dir="${temp.folder}"/>
</target>
- <target name="htmlui.jar" depends="init" unless="htmlui.jar" description="Create jar: htmlui.jar.">
- <delete dir="${temp.folder}/htmlui.jar.bin"/>
- <mkdir dir="${temp.folder}/htmlui.jar.bin"/>
+ <target name="smartyui.jar" depends="init" unless="smartyui.jar" description="Create jar: smartyui.jar.">
+ <delete dir="${temp.folder}/smartyui.jar.bin"/>
+ <mkdir dir="${temp.folder}/smartyui.jar.bin"/>
<!-- compile the source code -->
- <javac destdir="${temp.folder}/htmlui.jar.bin" failonerror="${javacFailOnError}" verbose="${javacVerbose}" debug="${javacDebugInfo}" includeAntRuntime="no" bootclasspath="${bootclasspath}" source="${javacSource}" target="${javacTarget}" >
+ <javac destdir="${temp.folder}/smartyui.jar.bin" failonerror="${javacFailOnError}" verbose="${javacVerbose}" debug="${javacDebugInfo}" includeAntRuntime="no" bootclasspath="${bootclasspath}" source="${javacSource}" target="${javacTarget}" >
<compilerarg line="${compilerArg}"/>
<classpath>
<pathelement path="../net.sourceforge.phpeclipse.xml.ui/bin"/>
<src path="src/" />
</javac>
<!-- Copy necessary resources -->
- <copy todir="${temp.folder}/htmlui.jar.bin" failonerror="true">
+ <copy todir="${temp.folder}/smartyui.jar.bin" failonerror="true">
<fileset dir="src/" excludes="**/*.java, **/package.htm*" />
</copy>
<mkdir dir="${build.result.folder}"/>
- <jar jarfile="${build.result.folder}/htmlui.jar" basedir="${temp.folder}/htmlui.jar.bin"/>
- <delete dir="${temp.folder}/htmlui.jar.bin"/>
+ <jar jarfile="${build.result.folder}/smartyui.jar" basedir="${temp.folder}/smartyui.jar.bin"/>
+ <delete dir="${temp.folder}/smartyui.jar.bin"/>
</target>
- <target name="htmluisrc.zip" depends="init" unless="htmluisrc.zip">
+ <target name="smartyuisrc.zip" depends="init" unless="smartyuisrc.zip">
<mkdir dir="${build.result.folder}"/>
- <zip zipfile="${build.result.folder}/htmluisrc.zip" filesonly="false" whenempty="skip" update="false">
+ <zip zipfile="${build.result.folder}/smartyuisrc.zip" filesonly="false" whenempty="skip" update="false">
<fileset dir="src/" includes="**/*.java" />
</zip>
</target>
<target name="build.jars" depends="init" description="Build all the jars for the plug-in: net.sourceforge.phpdt.smarty.ui.">
- <available property="htmlui.jar" file="${build.result.folder}/htmlui.jar"/>
- <antcall target="htmlui.jar"/>
+ <available property="smartyui.jar" file="${build.result.folder}/smartyui.jar"/>
+ <antcall target="smartyui.jar"/>
</target>
<target name="build.sources" depends="init">
- <available property="htmluisrc.zip" file="${build.result.folder}/htmluisrc.zip"/>
- <antcall target="htmluisrc.zip"/>
+ <available property="smartyuisrc.zip" file="${build.result.folder}/smartyuisrc.zip"/>
+ <antcall target="smartyuisrc.zip"/>
</target>
<target name="gather.bin.parts" depends="init" if="destination.temp.folder">
<mkdir dir="${destination.temp.folder}/net.sourceforge.phpdt.smarty.ui_1.1.0"/>
<copy todir="${destination.temp.folder}/net.sourceforge.phpdt.smarty.ui_1.1.0" failonerror="true">
- <fileset dir="${build.result.folder}" includes="htmlui.jar" />
+ <fileset dir="${build.result.folder}" includes="smartyui.jar" />
</copy>
<copy todir="${destination.temp.folder}/net.sourceforge.phpdt.smarty.ui_1.1.0" failonerror="true">
- <fileset dir="${basedir}" includes="plugin.xml,htmlui.jar" />
+ <fileset dir="${basedir}" includes="plugin.xml,icons/,cpl-v10.html,smartyui.jar" />
</copy>
</target>
<target name="gather.sources" depends="init" if="destination.temp.folder">
<mkdir dir="${destination.temp.folder}/net.sourceforge.phpdt.smarty.ui_1.1.0"/>
- <copy file="${build.result.folder}/htmluisrc.zip" todir="${destination.temp.folder}/net.sourceforge.phpdt.smarty.ui_1.1.0" failonerror="false"/>
+ <copy file="${build.result.folder}/smartyuisrc.zip" todir="${destination.temp.folder}/net.sourceforge.phpdt.smarty.ui_1.1.0" failonerror="false"/>
<copy todir="${destination.temp.folder}/net.sourceforge.phpdt.smarty.ui_1.1.0" failonerror="false">
- <fileset dir="${basedir}" includes="src/" />
+ <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.phpdt.smarty.ui_1.1.0"/>
- <copy file="${temp.folder}/htmlui.jar.bin.log" todir="${destination.temp.folder}/net.sourceforge.phpdt.smarty.ui_1.1.0" failonerror="false"/>
+ <copy file="${temp.folder}/smartyui.jar.bin.log" todir="${destination.temp.folder}/net.sourceforge.phpdt.smarty.ui_1.1.0" failonerror="false"/>
</target>
<target name="clean" depends="init" description="Clean the plug-in: net.sourceforge.phpdt.smarty.ui of all the zips, jars and logs created.">
- <delete file="${build.result.folder}/htmlui.jar"/>
- <delete file="${build.result.folder}/htmluisrc.zip"/>
+ <delete file="${build.result.folder}/smartyui.jar"/>
+ <delete file="${build.result.folder}/smartyuisrc.zip"/>
<delete file="${plugin.destination}/net.sourceforge.phpdt.smarty.ui_1.1.0.jar"/>
<delete file="${plugin.destination}/net.sourceforge.phpdt.smarty.ui_1.1.0.zip"/>
<delete dir="${temp.folder}"/>