icloudtweetdeckhipchattelegramhangoutsslackgmailskypefacebook-workplaceoutlookemailmicrosoft-teamsdiscordmessengercustom-servicesmacoslinuxwindowsinboxwhatsapp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.4 KiB
32 lines
1.4 KiB
9 years ago
|
<project name="x-resources-impl">
|
||
|
<target name="-before-inherit-resources"/>
|
||
|
<target name="-after-inherit-resources"/>
|
||
|
<target name="-inherit-resources">
|
||
|
<for list="${package.base.packages}" param="base">
|
||
|
<sequential>
|
||
|
<local name="base.path"/>
|
||
|
<local name="base.resource.path"/>
|
||
|
<property name="base.path" location="@{base}"/>
|
||
|
<property name="base.resource.path" location="${base.path}/resources"/>
|
||
|
<echo>Merging resources from base package ${base.path}</echo>
|
||
|
<if>
|
||
|
<available file="${base.resource.path}" type="dir"/>
|
||
|
<then>
|
||
|
<copy todir="${build.out.resources.dir}/" overwrite="true">
|
||
|
<fileset dir="${base.resource.path}" includes="**/*"/>
|
||
|
</copy>
|
||
|
</then>
|
||
|
</if>
|
||
|
</sequential>
|
||
|
</for>
|
||
|
</target>
|
||
|
|
||
|
<target name="-before-copy-resources"/>
|
||
|
<target name="-after-copy-resources"/>
|
||
|
<target name="-copy-resources">
|
||
|
<echo>Merging resources from current package ${package.resources.dir}</echo>
|
||
|
<copy todir="${build.out.resources.dir}" overwrite="true">
|
||
|
<fileset dir="${package.resources.dir}" includes="**/*"/>
|
||
|
</copy>
|
||
|
</target>
|
||
|
</project>
|