cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lisa Seacat DeLuca <ldel...@us.ibm.com>
Subject Re: plugman create plugin on Windows issues
Date Fri, 14 Mar 2014 15:38:23 GMT
Thanks for the suggestion.  However, I tried \\, same issue.  I can use 
tab to auto complete so I don't think that's the issue.  Regardless, tried 
both of your suggestions and still see the same error on windows.

Lisa


Lisa Seacat DeLuca
Mobile Engineer | t: +415.787.4589 | ldeluca@apache.org | | 
ldeluca@us.ibm.com | lisaseacat.com | | 




From:   purplecabbage <purplecabbage@gmail.com>
To:     "dev@cordova.apache.org" <dev@cordova.apache.org>
Date:   03/14/2014 11:17 AM
Subject:        Re: plugman create plugin on Windows issues



What is your shell? If you use git bash then either escape \ => \\ or use 
/


Sent from my iPhone

> On Mar 14, 2014, at 7:56 AM, Lisa Seacat DeLuca <ldeluca@us.ibm.com> 
wrote:
> 
> Bas, good catch. 
> 
> Still seeing the same error though when I use a : instead of ; 
> 
> C:\workspaces\lisa\test2>plugman install --platform android --project 
C:\workspaces\lisa\test2\www --plugin C:\workspaces\lisa\TestPlugin 
> Installing com.ibm.cordova.plugin.test (android) 
> ENOENT, no such file or directory 
'C:\workspaces\lisa\test2\www\AndroidManifest.xml' 
> 
> Sergey's work around of using the CLI instead of plugman works for now. 
> 
> 
> Lisa
> 
> Lisa Seacat DeLuca
> Mobile Engineer | t: +415.787.4589 | ldeluca@apache.org | | 
ldeluca@us.ibm.com | lisaseacat.com | | 
> 
> 
> 
> 
> 
> From:        "Bas Bosman" <mail@nazgul.nu> 
> To:        dev@cordova.apache.org 
> Date:        03/14/2014 10:44 AM 
> Subject:        RE: plugman create plugin on Windows issues 
> 
> 
> 
> Lisa,
> 
> I noticed you used a semicolon in your project path instead of a colon?
> 
> You used C;\workspaces\lisa\test\www, which should be
> C:\workspaces\lisa\test\www
> 
> Regards,
> Bas Bosman
> 
> > From: Lisa Seacat DeLuca [mailto:ldeluca@us.ibm.com]
> > Sent: Friday, March 14, 2014 6:00 PM
> > To: Cordova Dev (dev@cordova.apache.org)
> > Subject: plugman create plugin on Windows issues
> >
> > I've walked through the plugman plugin creation documentation and am
> > having a few issues on Windows.  I'd like to cleanup the docs and also 
get
> > more experience creating a 3rd party plugin.
> >
> > 1. first I created my new plugin
> >
> > C:\workspaces\lisa>plugman create --name TestPlugin --plugin_id
> > com.ibm.cordova.plugin.test --plugin_version 0.1
> >
> > 2. then I added the android platform:
> >
> > C:\workspaces\lisa\TestPlugin>plugman platform add --platform_name 
android
> >
> > that is all okay, i see the android directory under the src directory.
> >
> > 3. Then I create a new cordova project to add my plugin to:
> >
> > C:\workspaces\lisa>cordova create test com.ibm.test Test
> > Creating a new cordova project with name "Test" and id "com.ibm.test" 
at
> > location "C:\workspaces\lisa\test"
> >
> > C:\workspaces\lisa>cd test
> >
> > C:\workspaces\lisa\test>cordova platform add android
> > Creating android project...
> > Creating Cordova project for the Android platform:
> >         Path: platforms\android
> >         Package: com.ibm.test
> >         Name: Test
> >         Android target: android-19
> > Copying template files...
> > Running: android update project --subprojects --path 
"platforms\android"
> > --targe
> > t android-19 --library "CordovaLib"
> > Resolved location of library project to:
> > C:\workspaces\bluemix\test\platforms\an
> > droid\CordovaLib
> > Updated and renamed default.properties to project.properties
> > Updated local.properties
> > No project name specified, using Activity name 'Test'.
> > If you wish to change it, edit the first line of build.xml.
> > Added file C:\workspaces\lisa\test\platforms\android\build.xml
> > Added file 
C:\workspaces\lisa\test\platforms\android\proguard-project.txt
> > Updated project.properties
> > Updated local.properties
> > No project name specified, using project folder name 'CordovaLib'.
> > If you wish to change it, edit the first line of build.xml.
> > Added file 
C:\workspaces\lisa\test\platforms\android\CordovaLib\build.xml
> > Added file
> > 
C:\workspaces\lisa\test\platforms\android\CordovaLib\proguard-oject.txt
> >
> > Project successfully created.
> > Generating config.xml from defaults for platform "android"
> > Preparing android project
> >
> > 4. Then I install the new plugin on the project I created:
> > THIS IS WHERE IT GETS INTERESTING:
> >
> > C:\workspaces\lisa\test>plugman install --platform android --project
> > C;\works
> > paces\lisa\test\www --plugin C:\workspaces\lisa\TestPlugin
> > Installing com.ibm.cordova.plugin.test (android)
> > ENOENT, no such file or directory
> > 
'C:\workspaces\lisa\test\C;\workspaces\lisa\test\www\AndroidManifest.xml'
> >
> > *** failed so I try again, this time I see:
> > C:\workspaces\bluemix\test>plugman install --platform android 
--project
> > C;\works
> > paces\lisa\test\www --plugin C:\workspaces\lisa\TestPlugin
> > Installing com.ibm.cordova.plugin.test (android)
> > Error during processing of action! Attempting to revert...
> > Uh oh!
> > 
"C:\workspaces\lisa\test\C;\workspaces\lisa\test\www\src\com\ibm\cordova\p
> > lugin\lisa\TestPlugin\TestPlugin.java"
> > already exists!
> >
> > **** try to uninstall
> > C:\workspaces\lisa\test>plugman uninstall --platform android --project
> > C;\wor
> > kspaces\lisa\test\www --plugin C:\workspaces\lisa\TestPlugin
> > Plugin "C:\workspaces\lisa\TestPlugin" not found. Already
> > uninstalled?
> >
> > Any suggestions on what I may have done wrong would be appreciated.
> > Thanks,
> >
> >
> > Lisa
> >
> > Lisa Seacat DeLuca
> > Mobile Engineer | t: +415.787.4589 |
> > ldeluca@apache.org<mailto:ldeluca@apache.org> | |
> > ldeluca@us.ibm.com<mailto:ldeluca@us.ibm.com> |
> > lisaseacat.com<http://www.lisaseacat.com/> | [follow @LisaSeacat on
> > twitter] <www.twitter.com/LisaSeacat> | [follow Lisa Seacat DeLuca on
> > linkedin] <http://www.linkedin.com/in/lisaseacat>
> >
> 
> 
> 


Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message