create client dir if not present

This commit is contained in:
Richard Alam 2013-04-27 14:15:01 -07:00
parent a98511997d
commit 7740b54b17
2 changed files with 17 additions and 12 deletions

View File

@ -6,6 +6,7 @@ linker-report.xml
bundles.txt
build/
bin/
client/
bbbResources.properties.*
asdoc/
hs_err_pid*

View File

@ -487,18 +487,22 @@
<echo message="Done Generating ASDocs" />
</target>
<target name="clean">
<target name="clean" depends="init-ant-contrib">
<if>
<equals arg1="${OUTPUT_DIR}" arg2="true"/>
<then>
<echo message="Locale output dir exists. Deleting contents of ${OUTPUT_DIR}/locale"/>
<delete>
<fileset dir="${OUTPUT_DIR}" >
<exclude name="locale/*.swf"/>
<exclude name=".gitignore"/>
</fileset>
<dirset dir="${OUTPUT_DIR}">
<fileset dir="${OUTPUT_DIR}">
<include name="**/*"/>
<exclude name=".gitignore"/>
<exclude name="locale"/>
</dirset>
</fileset>
</delete>
</then>
<else>
<echo message="Output dir does not exists. Creating [${OUTPUT_DIR}] dir."/>
<mkdir dir="${OUTPUT_DIR}"/>
</else>
</if>
</target>
<!-- NOTE: compile-deskshare-standalone MUST come first before compile-bbb as we need the deskshare-standalone