Yeah, could be JSON but I would probably have to use the standard Forge format for config (which is XML). My preference would go to something that Groovy ConfigSlurper can handle http://groovy.codehaus.org/ConfigSlurper but I will be burned on public place.
Seb



On Wed, Apr 3, 2013 at 4:49 PM, Kris Borchers <kborcher@redhat.com> wrote:
Is that XML??? My eyes!!!!

On Apr 3, 2013, at 1:58 PM, Sebastien Blanc <scm.blanc@gmail.com> wrote:

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

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

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