Thanks for this nice finding ! 
Regarding "flags" to enable this or this feature, I'm more and more thinking that the scaffold plugin will use some kind of config file rather than extending again and again the command line : 

<aerogear>
   <enableController>true</enableController>
   <enablePaging>true</enablePaging>
   <security>
          <enable>true</enable>
          <authMethod>login/OTP</authMethod>
          <otherCoolFeatures>...</otherCoolFeatures>
   </security>
   <cordova>
          <serverUrl>slackersheaven.org</serverUrl>
          <platform>android</platform>
  </cordova>
</aerogear>
  
wdyt ? 

Seb



On Wed, Apr 3, 2013 at 1:02 PM, Matthias Wessendorf <matzew@apache.org> wrote:
Hi, Sebi,

in the dataservice.js if you add this settings:

     ===>    settings: { baseURL: "http://localhost:8080/scaffoldtester/" } 

... it directly works as a cordova app


As mentioned on IRC... a 'enable cordova' flag could be added

And... perhaps the npm module (cordova cli) could be invoked by the generator


-Matthias



_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev