I am calling the following as part of a Maven build to generate my ExtJS project resources
sencha app build --destination "some path"
There is a requirement to copy the generated resource files into 2 locations within the project. Ideally I could specify 2 paths like this
sencha app build --destination "first path" "second path"
This is not working nor is specifying the --destination argument before each path.
I could use a symlink to copy contents of first path into second but this could get complicated when working on branches where the symlink is not defined.
I looked into the Maven resources plugin: copy-resources but it starts copying the files before the Sencha build has finished. How can I make this plugin wait until the build has finished ?
Any other suggestions welcome