When i try to build my package for production the custom build path i have set up in my app.json is ignored. I got this in my buildPath:
"buildPaths": {
"testing": "build/testing",
"production": "build/project/assets/www",
"package": "build/project/assets/www",
"native": "build/native",
},
The thing is when i run this command in my command line:
sencha app build production
The commandline continues and ends without an error. But when i look into my buildpath, i only see a folder called: production. Why are these buildpaths ignored? I assume that when i set these values that my app will go into the build/project/assets/www folder. What is wrong?
Sencha touch version: 2.1.0-rc1
Sencha CMD version: V3.0.0.190
I came up with a sort of workaround. First thing i tried is setting an absolute path, but that didn't helped (Yes i am on windows).
The reason i needed to change the path is: I got an eclipse (android/phonegap) project in that folder. And each time i builded the sencha application the path was incorrect. So i just changed my loadurl in the eclipse project to:
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
super.loadUrl("file:///android_asset/www/production/index.html");
}
instead of:
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
super.loadUrl("file:///android_asset/www/index.html");
}
not really a solution because it still ignores the build path, but it isn't a problem for me anymore.