Looks like we can't reproduce the issue or there's a problem in the test case provided.
Sencha Cmd v220.127.116.11 does not use app.json buildpath settings
Like the title says.
It will always create a build in a sub dir of the current working dir.
Running the OSX version by the way on mountain lion.
We will be removing them as they are not used at all.
You can change this in the .sencha/app/build-impl.xml
I'm used it
I'm using phonegap, and so, I want two separate builds for android and iOS.
So I have this in app.json:
And, so, I can build my app like this:
sencha app build package-ios
sencha app build package-android
Now it's impossible. Is there a more correct way to do such thing?
like I said ^^
Originally Posted by mitchellsimoens
Hehe, it's not so obvious
I found this in build-impl.xml:
<property name="args.environment" value="production"/>
<property name="args.environment" value="testing"/>
<property name="args.environment" value="native"/>
<property name="args.environment" value="package"/>
Adding another target don't add target to valid targets list.
Also, there is no any references to "path" or something like this in that file.
All "path" mentions are about .jar file paths which is obviously not what I need.
Sorry, my english is not very good )
We REALLY need better documentation on this Sencha Cmd stuff. It changes all the time, and it's very unclear how we're supposed to use it.
For you guys, who deal with the same problem here the solution:
As told above, buildPaths in app.json is no more used, so you can safely remove it.
But now we have build.xml in the root of the project, which is regular ant-tasks file.
So we can add our custom tasks:
I added this between <project> tags:
If you want file in other location, I think you can just add "move" files task. which will be move them to needed location.
Here is the list of available ant-tasks: http://ant.apache.org/manual/tasklist.html