How to avoid copying the platform files into target directory when using a local platform from the SDK workspace.
I’m using the platform-loader.target.platform.dir property to setup the platform.
This can save me some build time.
platform-loader:load-platform-dir:
[copy] Copying 12391 files to C:\Users\jcole\Documents\project\target~\platform
[copy] Copied 2245 empty directories to 3 empty directories under C:\Users\jcole\Documents\project\target~\platform
The Platform has to be copied to a temporary location since it can be altered during the build phase.
For example, it can be augmented with testsuite modules or shrinked to produce a Virtual Device.
However, it is possible to speed-up the copy by deleting the javaAPIs directory.
This directory contains lots of files for Foundation Libraries javadoc. These files are not used by a Firmware build or a test suite.