Re: {Solved} Missing Generated *.bat Files

I have this problem yesterday.Before that happen 1.I checked at "window" bat file in cordova tab.2.I click window bat to compile.Cordova say some error(didnot find some component to build).3.I rebuild again with app builder.It say some error and connot build(some error about missing css,didnot capture it)4.I try to delete compile folder5.I close and open App builder again.It can build no error but no bat file generate.

I fix it by debug project and take some event(click buttom, change view) and try to build again.Now It generate bat file.Don't know what happened,but this fix may help someone.(next time if App builder say error I will capture it)

Re: {Solved} Missing Generated *.bat Files

Hello,

I can't here the right environment for the Windows platform, however, trying to follow your steps, unfortunatelly I can't reproduce the error. Note that the Debug button (F9) does not create the BAT files, since they are not needed to debug the application in App Builder. The BAT files are generated when we use the Build button (F8). Maybe this is what happend when you don't get ready the BAT files?

Re: {Solved} Missing Generated *.bat Files

David wrote:

Hello,

I can't here the right environment for the Windows platform, however, trying to follow your steps, unfortunatelly I can't reproduce the error. Note that the Debug button (F9) does not create the BAT files, since they are not needed to debug the application in App Builder. The BAT files are generated when we use the Build button (F8). Maybe this is what happend when you don't get ready the BAT files?

On the other hand any error message can be good here tin.

No,David.I know that debug not gen bat.I mean I click "build"buttom. It not gen bat file.So I try to debug and make some event and stop it."Build" again now bat file generate.

Re: {Solved} Missing Generated *.bat Files

Hello,

Waiting for the error capture, which probably can help here. Certainly the "Build" button must creates the BAT files, and, in fact they works like expected here: there is no reason (I can imagine right now) to work in one case and not in other...

Re: {Solved} Missing Generated *.bat Files

Hello,

Maybe is a design error (may the "BAT files" checkboxes must be disabled) because BAT files have non sense if the configuration file does not exists. At least this is the App Builder behaviour: if the config file is not created, then the BAT files are not created too. In fact this is true, because Cordova uses such config file.

So I really don't know what to do. Maybe I can disable the "Bat files" checkboxes if the "Config file" checkbox is not checked. Or allow the creation of BAT files even when the config file is not ready (?). Anyway, remember we must save the application changes and uses "Build", not "Debug", since this last never creates BAT files.

Re: {Solved} Missing Generated *.bat Files

Hello,

2016.107 (04/19/2016)

* Fix an introduced error in the previous release which causes the Cordova's config.xml and Batch files are not created like expected. The problem is due to the App Builder uses the old XML configuration, then they can't read the new configuration. Thanks Ade!

Re: {Solved} Missing Generated *.bat Files

Hello Samuel,

Please, "re-check" the app's options. Some releases before I made certain changes that cause the loss of Cordova's options. Since the BAT files are well generated here (using the last release) probably the problem is what I say with the options. So check the options (generate "config.xml", generate "Android" BAT), save the application and compile it again.