Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cordova Wiki" for 
change notification.

The "config/cordova.xml" page has been changed by jbondc:
https://wiki.apache.org/cordova/config/cordova.xml?action=diff&rev1=4&rev2=5

  
   </platform>
  
-   <!-- engine specific config, why engine? api-environment/context?   -->
+   <!-- Rename cordova/worklight... "engine" to view?  -->
-   <engine name="cordova">
+   <view name="cordova">
       <content src="index.html" />
       <access origin="*" />
-   </engine>
+   </view>
  
+   <!-- <engine name="cordova" ..> ? -->
    <!-- <webview name="cordova" ..> ? -->
    <!-- <api name="cordova" ..> -->
    <!-- <context name="cordova" ..> ? -->
@@ -52, +53 @@

  Could keep 'config.xml' and create new "cordova" namespace:
  
http://phonegap.com/blog/2014/01/30/customizing-your-android-manifest-and-ios-property-list-on-phonegap-build/
  
- === Install meta: {$CLI_PROJECT}/plugins/{$PLATFORM_RUNTIME}.json ===
+ XML namespacing is great in theory, never worked well on the web.
  
+ === Install meta: 
{$CLI_PROJECT}/platforms/{$PLATFORM_RUNTIME}/cordova/project.json ===
+ 
+  - All required metadata for a native cordova project: current version in the 
project, ...?
+  
- - All required metadata about installed plugins for a specific platform.
+  - All required metadata about installed plugins for a specific platform.
  (needs to convert all necessary plugin.xml information into a json format) 
  
- - Need enough info to uninstall & re-install a plugin properly.
+  - Need enough info to uninstall & re-install a plugin properly (list of 
files installed + version number).
  
  === Runtime meta: {$CLI_PROJECT}/platforms/{$PLATFORM_RUNTIME}/www/wat.json 
===
  
  "WAT" --> "Web app technology? Existing configs:
- http://dev.w3.org/2006/waf/widgets/
+  - http://dev.w3.org/2006/waf/widgets/
- https://developer.mozilla.org/en-US/Apps/Developing/Manifest
+  - https://developer.mozilla.org/en-US/Apps/Developing/Manifest
  
  Typically this would be loaded by the WebView / browser.
  
@@ -81, +86 @@

  }
  }}}
  
- === Defaults: {$CLI_PROJECT}/.cordova/defaults.xml ===
+ === Defaults: 
{$CLI_PROJECT}/platforms/{$PLATFORM_RUNTIME}/cordova/project/defaults/ ===
  
  Store all global configuration & platform defaults in a single file
  
- === TODO ===
+ === NOTES ===
  
- Where should plugman / independant project store it's configs? 
+ Some objectives:
+  - cli should write plugin information to the same place as 'plugman' 
(cordova project)
+    offers an aggregate view over all installed platform projects.
  
+  - must be able to safely rollback changes to a previous change. 
+    project.transaction();
+    project.rollback();
+    project.commit();
+ 
+  - must be able to add a different plugin version to a specific native 
platform
+ 
+ {{{
+ e.g. plugin list
+ 
+ org.apache.cordova.file     0.2.5 
+ org.apache.cordova.camera   0.2.6  (ios, windows8)
+ org.apache.cordova.camera   0.2.5  (android)
+ 

Reply via email to