Aparentemente, puedo especificar carpetas de origen usando la propiedad source.dir en build.properties, pero ¿qué ocurre si quiero especificar varias carpetas de origen?¿Cómo especificar múltiples carpetas de origen en build.properties cuando se usa ant para construir proyectos de Android?
Los comentarios a continuación son del archivo build.xml generado por las herramientas del SDK de Android:
<!-- The build.properties file can be created by you and is never touched
by the 'android' tool. This is the place to change some of the default property values
used by the Ant rules.
Here are some properties you may want to change/update:
application.package
the name of your application package as defined in the manifest. Used by the
'uninstall' rule.
source.dir
the name of the source directory. Default is 'src'.
out.dir
the name of the output directory. Default is 'bin'.
Properties related to the SDK location or the project target should be updated
using the 'android' tool with the 'update' action.
This file is an integral part of the build system for your application and
should be checked in in Version Control Systems.
-->
Nota: no me importa acerca de la construcción en Eclipse - Im la creación automatizada desarrolla valiéndose de hormiga.
Aclare qué tarea está utilizando. La tarea javac no usa la propiedad source.dir. –
Para proyectos de ANDROID específicamente, según los comentarios generados por la herramienta Android de la CLI del SDK, puede especificar source.dir en build.properties. Actualizaré la pregunta anterior y pegaré en los comentarios. – Eno