| 1 |
<?xml version="1.0"?> |
| 2 |
<recipe> |
| 3 |
|
| 4 |
<merge from="root/AndroidManifest.xml.ftl" |
| 5 |
to="${escapeXmlAttribute(manifestOut)}/AndroidManifest.xml" /> |
| 6 |
<merge from="root/res/values/strings.xml.ftl" |
| 7 |
to="${escapeXmlAttribute(resOut)}/values/strings.xml" /> |
| 8 |
|
| 9 |
<copy from="root/res/layout-v17/dream.xml" |
| 10 |
to="${escapeXmlAttribute(resOut)}/layout-v17/${class_name}.xml" /> |
| 11 |
|
| 12 |
<instantiate from="root/src/app_package/DreamService.java.ftl" |
| 13 |
to="${escapeXmlAttribute(srcOut)}/${className}.java" /> |
| 14 |
|
| 15 |
<#if configurable> |
| 16 |
<copy from="root/res/xml/dream_prefs.xml" |
| 17 |
to="${escapeXmlAttribute(resOut)}/xml/${prefs_name}.xml" /> |
| 18 |
|
| 19 |
<instantiate from="root/src/app_package/SettingsActivity.java.ftl" |
| 20 |
to="${escapeXmlAttribute(srcOut)}/${settingsClassName}.java" /> |
| 21 |
|
| 22 |
<instantiate from="root/res/xml/xml_dream.xml.ftl" |
| 23 |
to="${escapeXmlAttribute(resOut)}/xml/${info_name}.xml" /> |
| 24 |
</#if> |
| 25 |
|
| 26 |
<open file="${escapeXmlAttribute(srcOut)}/${className}.java" /> |
| 27 |
|
| 28 |
</recipe> |