Apparentemente, posso specificare le cartelle di origine utilizzando la proprietà source.dir in build.properties, ma cosa succede se desidero specificare più cartelle di origine?Come specificare più cartelle di origine in build.properties quando si utilizza formica per creare progetti Android?
I commenti che seguono sono dal file build.xml generato dagli strumenti SDK 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: Non mi preoccupo per la costruzione in Eclipse - Im creazione automatizzata costruisce utilizzando formica.
Si prega di chiarire quale attività si sta utilizzando. L'attività javac non utilizza la proprietà source.dir. –
Per i progetti ANDROID in particolare, in base ai commenti generati dallo strumento CLI Android di SDK, è possibile specificare source.dir in build.properties. Ill aggiorno la domanda sopra e incollare i commenti. – Eno