cordova_plugins.json --> shouldn't be a problem I don't think unless you are using the <js-module> element.
Yes it can - see this for an example: https://github.com/shazron/TestFlightPlugin/blob/master/plugin.xml On Mon, Jun 3, 2013 at 7:40 PM, Don Coleman <don.cole...@gmail.com> wrote: > I think the javascript is OK, but I'm getting errors about missing > www/cordova_plugins.json and ClassNotFound for the plugin's java file. > > Maybe there's a problem with plugin.xml? > https://github.com/don/FileOpener/blob/cordova-2.8.0/plugin.xml > > Also, can one plugin.xml file conditionally support the 2.7 and 2.8 > config.xml? > > > > On Mon, Jun 3, 2013 at 7:54 PM, Filip Maj <f...@adobe.com> wrote: > > > FYI cordova-cli is now at 2.8.0 on NPM. Don can you give that a shot and > > see if you're still seeing that problem? > > > > On 5/30/13 9:00 PM, "Don Coleman" <don.cole...@gmail.com> wrote: > > > > >CB-2820 is similar, but cordova 2.6.2 behaves a bit differently. > > > > > >Running the same procedure from CB-3556, fileopener.js is deleted from > > >www/js but ends up in www/. > > > > > > > > > > > >On Thu, May 30, 2013 at 7:56 PM, Tommy-Carlos Williams > > ><to...@devgeeks.org>wrote: > > > > > >> OK. Looks pretty similar to CB-2820[1], looks like it's still a thing. > > >> Maybe my description wasn't good enough. > > >> > > >> > > >> 1. https://issues.apache.org/jira/browse/CB-2820 > > >> > > >> On 31/05/2013, at 8:02 AM, Don Coleman <don.cole...@gmail.com> wrote: > > >> > > >> > https://issues.apache.org/jira/browse/CB-3556 > > >> > > > >> > > > >> > On Thu, May 30, 2013 at 5:01 PM, Shazron <shaz...@gmail.com> wrote: > > >> > > > >> >> Hi Don, do you mind filing an issue in JIRA so this doesn't get > > >>lost? A > > >> lot > > >> >> of devs are away at @jsconf currently > > >> >> > > >> >> > > >> >> On Thu, May 30, 2013 at 12:45 PM, Don Coleman < > don.cole...@gmail.com > > > > > >> >> wrote: > > >> >> > > >> >>> cordova-cli 2.7.4 is deleting the javascript files for plugins > when > > >>I > > >> run > > >> >>> cordova emulate with Android. > > >> >>> > > >> >>> Anyone have ideas about how to track this down and fix it? > > >> >>> > > >> >>> It's pretty easy to duplicate > > >> >>> > > >> >>> $ git clone https://github.com/don/FileOpener.git > > >> >>> $ cordova create foo > > >> >>> $ cd foo > > >> >>> $ cordova platform add android > > >> >>> $ cordova plugin add ../FileOpener > > >> >>> $ cordova build > > >> >>> $ ls platforms/android/assets/www/js/ > > >> >>> fileopener.js index.js > > >> >>> > > >> >>> fileopener.js exists > > >> >>> > > >> >>> $ cordova emulate > > >> >>> $ ls platforms/android/assets/www/js/ > > >> >>> index.js > > >> >>> > > >> >>> fileopener.js was deleted O_o > > >> >>> > > >> >> > > >> > > >> > > > > >