[
https://issues.apache.org/jira/browse/CB-7756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ryan Willoughby updated CB-7756:
--------------------------------
Summary: plugman is no longer adding plugin js file references to csproj
(was: plugman is no longer adding )
> plugman is no longer adding plugin js file references to csproj
> ---------------------------------------------------------------
>
> Key: CB-7756
> URL: https://issues.apache.org/jira/browse/CB-7756
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugman, WP8
> Affects Versions: 0.22.11
> Environment: running on cygwin on Windows 8
> Reporter: Ryan Willoughby
> Assignee: Jesse MacFadyen
>
> After upgrading from Plugman 0.22.2 to 0.22.11, we noticed that our compiled
> .xap no longer contains the js files for the installed plugins. I verified
> that the js files are in fact in the project's www/ directory, but it appears
> that file references are not added to the .csproj anymore. As a result, they
> are omitted from the compiled .xap.
> Here is a script demonstrating the issue (you'll need to change paths to your
> wp8 create script):
> {code}
> rm -rf cordova-plugman wp8-app-*
> ~/vendor/winphone8/3.6.3/wp8/bin/create.bat ./wp8-app-0.22.11
> ~/vendor/winphone8/3.6.3/wp8/bin/create.bat ./wp8-app-0.22.2
> # install plugman 0.22.11
> git clone https://github.com/apache/cordova-plugman.git
> cd cordova-plugman
> git checkout 0.22.11
> npm install -g > /dev/null 2>&1
> plugman -v
> cd ..
> plugman install --project ./wp8-app-0.22.11 --platform wp8 --plugin
> org.apache.cordova.device
> # install plugman 0.22.2
> cd cordova-plugman
> git checkout 0.22.2
> npm install -g > /dev/null 2>&1
> plugman -v
> cd ..
> plugman install --project ./wp8-app-0.22.2 --platform wp8 --plugin
> org.apache.cordova.device
> echo "******* grep www on 0.22.11 proj:"
> grep www wp8-app-0.22.11/CordovaWP8AppProj.csproj
> echo "******* grep www on 0.22.2 proj:"
> grep www wp8-app-0.22.2/CordovaWP8AppProj.csproj
> echo "*******"
> {code}
> And the output:
> {code}
> ******* grep www on 0.22.11 proj:
> <Content Include="www\**" />
> ******* grep www on 0.22.2 proj:
> <Content Include="www\**" />
> <Content
> Include="www\plugins\org.apache.cordova.device\www\device.js" />
> <Content Include="www\cordova_plugins.js" />
> *******
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]